Example usage for Java org.springframework.security.core Authentication fields, constructors, methods, implement or subclass
The text is from its open source code.
Collection extends GrantedAuthority> | getAuthorities() Set by an AuthenticationManager to indicate the authorities that the principal has been granted. |
Class> | getClass() Returns the runtime class of this Object . |
Object | getCredentials() The credentials that prove the principal is correct. |
Object | getDetails() Stores additional details about the authentication request. |
String | getName() Returns the name of this principal. |
Object | getPrincipal() The identity of the principal being authenticated. |
boolean | isAuthenticated() Used to indicate to AbstractSecurityInterceptor whether it should present the authentication token to the AuthenticationManager . |
void | setAuthenticated(boolean isAuthenticated) See #isAuthenticated() for a full description. |
String | toString() Returns a string representation of this principal. |