类 SecurityUserEntity
java.lang.Object
com.cdkjframework.entity.BaseEntity
com.cdkjframework.entity.user.AbstractUserEntity
com.cdkjframework.entity.user.UserEntity
com.cdkjframework.entity.user.security.SecurityUserEntity
- 所有已实现的接口:
Serializable,org.springframework.security.core.userdetails.UserDetails
public class SecurityUserEntity
extends UserEntity
implements Serializable, org.springframework.security.core.userdetails.UserDetails
- 另请参阅:
-
字段概要
从类继承的字段 com.cdkjframework.entity.user.UserEntity
organizationList, roleList -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Collection<org.springframework.security.core.GrantedAuthority>booleanbooleanbooleanbooleanvoidsetAccountNonExpired(boolean accountNonExpired) voidsetAccountNonLocked(boolean accountNonLocked) voidsetAuthorities(Collection<org.springframework.security.core.GrantedAuthority> authorities) voidsetCredentialsNonExpired(boolean credentialsNonExpired) voidsetEnabled(boolean enabled) voidsetPassword(String password) voidsetResourceList(List<ResourceEntity> resourceList) voidvoidvoidsetUsername(String username)
-
构造器详细资料
-
SecurityUserEntity
public SecurityUserEntity()
-
-
方法详细资料
-
getUserId
-
setUserId
-
getUsername
- 指定者:
getUsername在接口中org.springframework.security.core.userdetails.UserDetails
-
setUsername
-
getPassword
- 指定者:
getPassword在接口中org.springframework.security.core.userdetails.UserDetails
-
setPassword
-
getStatus
-
setStatus
-
getResourceList
-
setResourceList
-
setAuthorities
public void setAuthorities(Collection<org.springframework.security.core.GrantedAuthority> authorities) -
setAccountNonExpired
public void setAccountNonExpired(boolean accountNonExpired) -
setAccountNonLocked
public void setAccountNonLocked(boolean accountNonLocked) -
setCredentialsNonExpired
public void setCredentialsNonExpired(boolean credentialsNonExpired) -
setEnabled
public void setEnabled(boolean enabled) -
getAuthorities
- 指定者:
getAuthorities在接口中org.springframework.security.core.userdetails.UserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()- 指定者:
isAccountNonExpired在接口中org.springframework.security.core.userdetails.UserDetails
-
isAccountNonLocked
public boolean isAccountNonLocked()- 指定者:
isAccountNonLocked在接口中org.springframework.security.core.userdetails.UserDetails
-
isCredentialsNonExpired
public boolean isCredentialsNonExpired()- 指定者:
isCredentialsNonExpired在接口中org.springframework.security.core.userdetails.UserDetails
-
isEnabled
public boolean isEnabled()- 指定者:
isEnabled在接口中org.springframework.security.core.userdetails.UserDetails
-