Example usage for Java org.springframework.security.core.userdetails UserDetails fields, constructors, methods, implement or subclass
The text is from its open source code.
Collection extends GrantedAuthority> | getAuthorities() Returns the authorities granted to the user. |
Class> | getClass() Returns the runtime class of this Object . |
String | getPassword() Returns the password used to authenticate the user. |
String | getUsername() Returns the username used to authenticate the user. |
boolean | isAccountNonExpired() Indicates whether the user's account has expired. |
boolean | isAccountNonLocked() Indicates whether the user is locked or unlocked. |
boolean | isCredentialsNonExpired() Indicates whether the user's credentials (password) has expired. |
boolean | isEnabled() Indicates whether the user is enabled or disabled. |
String | toString() Returns a string representation of the object. |