public interface AuthByAdapter extends Authentication
Authentication
class.
Automatically considered valid by the AuthByAdapterProvider
,
provided the hash code presented by the implementation objects matches that
expected by the AuthByAdapterProvider
.
Modifier and Type | Method and Description |
---|---|
int |
getKeyHash()
Returns the hash code of the key that was passed to the constructor of the
AuthByAdapter
implementation. |
getAuthorities, getCredentials, getDetails, getPrincipal, isAuthenticated, setAuthenticated
int getKeyHash()
AuthByAdapter
implementation. The implementation should convert the value to a hash code at construction time, rather than
storing the key itself.Copyright © 2015. All rights reserved.