类 UserPrincipal
java.lang.Object
org.springframework.security.core.userdetails.User
xyz.raylab.authorizationserver.oauth2.service.entity.UserPrincipal
- 所有已实现的接口:
Serializable,org.springframework.security.core.CredentialsContainer,org.springframework.security.core.userdetails.UserDetails
public class UserPrincipal
extends org.springframework.security.core.userdetails.User
- 另请参阅:
-
嵌套类概要
从类继承的嵌套类/接口 org.springframework.security.core.userdetails.User
org.springframework.security.core.userdetails.User.UserBuilder -
构造器概要
构造器构造器说明UserPrincipal(String userId, String username, String password, boolean enable, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) UserPrincipal(String userId, String username, String password, boolean enable, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) UserPrincipal(String userId, String username, String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
方法概要
从类继承的方法 org.springframework.security.core.userdetails.User
builder, equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString, withDefaultPasswordEncoder, withUserDetails, withUsername
-
构造器详细资料
-
UserPrincipal
public UserPrincipal(String userId, String username, String password, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
UserPrincipal
public UserPrincipal(String userId, String username, String password, boolean enable, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
UserPrincipal
public UserPrincipal(String userId, String username, String password, boolean enable, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
方法详细资料
-
getUserId
-