public class OpenApiLoginUser extends cn.watsontech.webhelper.common.security.LoginUser implements OpenApiParams
| Constructor and Description |
|---|
OpenApiLoginUser() |
| Modifier and Type | Method and Description |
|---|---|
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getAvatarUrl() |
Boolean |
getCredentialsExpired() |
Boolean |
getEnabled() |
Boolean |
getExpired() |
Long |
getId() |
Boolean |
getLocked() |
String |
getMobile() |
String |
getNickName() |
String |
getPassword() |
Set<cn.watsontech.webhelper.common.vo.PrinciplePermissionVo> |
getPermissions() |
Set<cn.watsontech.webhelper.common.vo.PrincipleRoleVo> |
getRoles() |
int |
getUnreadMessages() |
Long |
getUserId() |
String |
getUsername() |
String |
getUserName() |
cn.watsontech.webhelper.common.security.IUserType |
getUserType() |
void |
setUserId(Long userId) |
void |
setUserName(String userName) |
void |
setUserType(String userType) |
getFullName, getName, getRoleName, getVersion, hasAllPermissions, hasAllRoles, hasAnyPermission, hasAnyRole, hasPermission, hasPermission, hasRole, hasRole, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, isVerified, setPermissions, setRoles, setUnreadMessagespublic Long getId()
getId in class cn.watsontech.webhelper.common.security.LoginUserpublic cn.watsontech.webhelper.common.security.IUserType getUserType()
getUserType in class cn.watsontech.webhelper.common.security.LoginUserpublic void setUserType(String userType)
public Long getUserId()
public void setUserId(Long userId)
public String getUserName()
public void setUserName(String userName)
public String getMobile()
getMobile in class cn.watsontech.webhelper.common.security.LoginUserpublic String getUsername()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic Boolean getExpired()
getExpired in class cn.watsontech.webhelper.common.security.LoginUserpublic Boolean getLocked()
getLocked in class cn.watsontech.webhelper.common.security.LoginUserpublic Boolean getCredentialsExpired()
getCredentialsExpired in class cn.watsontech.webhelper.common.security.LoginUserpublic Boolean getEnabled()
getEnabled in class cn.watsontech.webhelper.common.security.LoginUserpublic String getNickName()
getNickName in class cn.watsontech.webhelper.common.security.LoginUserpublic String getAvatarUrl()
getAvatarUrl in class cn.watsontech.webhelper.common.security.LoginUserpublic String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailsgetPassword in class cn.watsontech.webhelper.common.security.LoginUserpublic int getUnreadMessages()
getUnreadMessages in class cn.watsontech.webhelper.common.security.LoginUserpublic Set<cn.watsontech.webhelper.common.vo.PrincipleRoleVo> getRoles()
getRoles in class cn.watsontech.webhelper.common.security.LoginUserpublic Set<cn.watsontech.webhelper.common.vo.PrinciplePermissionVo> getPermissions()
getPermissions in class cn.watsontech.webhelper.common.security.LoginUserpublic Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailsgetAuthorities in class cn.watsontech.webhelper.common.security.LoginUserCopyright © 2021. All rights reserved.