public class CentitUserDetailsImpl extends UserInfo implements com.centit.framework.security.model.CentitUserDetails
createDate| 构造器和说明 |
|---|
CentitUserDetailsImpl() |
CentitUserDetailsImpl(String userCode,
String userstate,
String loginname,
String username) |
CentitUserDetailsImpl(String userCode,
String userpin,
String usertype,
String userstate,
String loginname,
String username,
String userdesc,
Long logintimes,
Date activeime,
String loginip,
Long addrbookid) |
CentitUserDetailsImpl(UserInfo user)
default constructor
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
checkOptPower(String optId,
String optMethod) |
boolean |
equals(Object other) |
Collection<org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
Object |
getCredentials() |
Object |
getDetails() |
String |
getName() |
String |
getPassword() |
Object |
getPrincipal() |
String |
getUsername() |
Map<String,String> |
getUserOptList() |
List<String> |
getUserRoleCodes() |
Map<String,String> |
getUserSettings() |
String |
getUserSettingValue(String paramCode) |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isAuthenticated() |
boolean |
isCredentialsNonExpired() |
void |
putUserSettingsParams(String paramCode,
String paramValue) |
void |
setAuthenticated(boolean isAuthenticated) |
void |
setAuthoritiesByRoles(List<RoleInfo> roles) |
void |
setUserOptList(Map<String,String> userOptList) |
void |
setUserSettings(Map<String,String> userSettings) |
void |
setUserSettingValue(String paramCode,
String paramValue) |
String |
toString() |
clearProperties, copy, copyNotNullProperty, getActiveTime, getAddrbookId, getCreateDate, getCreator, getEnglishName, getIdCardNo, getIsValid, getLastModifyDate, getLoginIp, getLoginName, getLoginTimes, getPrimaryUnit, getPwdExpiredTime, getRegCellPhone, getRegEmail, getUpdateDate, getUpdator, getUserCode, getUserDesc, getUserName, getUserNamePinyin, getUserOrder, getUserPin, getUserPwd, getUserTag, getUserType, getUserUnits, getUserWord, isEnabled, listUserRoles, replaceUserRoles, replaceUserUnits, setActiveTime, setAddrbookId, setCreateDate, setCreator, setEnglishName, setIdCardNo, setIsValid, setLastModifyDate, setLoginIp, setLoginName, setLoginTimes, setPrimaryUnit, setPwdExpiredTime, setRegCellPhone, setRegEmail, setUpdateDate, setUpdator, setUserCode, setUserDesc, setUserName, setUserNamePinyin, setUserOrder, setUserPin, setUserPwd, setUserRoles, setUserTag, setUserType, setUserUnits, setUserWordpublic CentitUserDetailsImpl(UserInfo user)
user - UserInfopublic CentitUserDetailsImpl()
public CentitUserDetailsImpl(String userCode, String userstate, String loginname, String username)
public Map<String,String> getUserSettings()
getUserSettings 在接口中 com.centit.framework.security.model.CentitUserDetailspublic Map<String,String> getUserOptList()
getUserOptList 在接口中 com.centit.framework.security.model.CentitUserDetailspublic boolean checkOptPower(String optId, String optMethod)
checkOptPower 在接口中 com.centit.framework.security.model.CentitUserDetailspublic Collection<org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities 在接口中 org.springframework.security.core.AuthenticationgetAuthorities 在接口中 org.springframework.security.core.userdetails.UserDetailspublic List<String> getUserRoleCodes()
getUserRoleCodes 在接口中 com.centit.framework.security.model.CentitUserDetailspublic String getUsername()
getUsername 在接口中 org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired 在接口中 org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked 在接口中 org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired 在接口中 org.springframework.security.core.userdetails.UserDetailspublic String getPassword()
getPassword 在接口中 org.springframework.security.core.userdetails.UserDetailspublic String getUserSettingValue(String paramCode)
getUserSettingValue 在接口中 com.centit.framework.security.model.CentitUserDetailspublic void setUserSettingValue(String paramCode, String paramValue)
setUserSettingValue 在接口中 com.centit.framework.security.model.CentitUserDetailspublic Object getCredentials()
getCredentials 在接口中 org.springframework.security.core.Authenticationpublic Object getDetails()
getDetails 在接口中 org.springframework.security.core.Authenticationpublic Object getPrincipal()
getPrincipal 在接口中 org.springframework.security.core.Authenticationpublic boolean isAuthenticated()
isAuthenticated 在接口中 org.springframework.security.core.Authenticationpublic void setAuthenticated(boolean isAuthenticated)
throws IllegalArgumentException
setAuthenticated 在接口中 org.springframework.security.core.AuthenticationIllegalArgumentExceptionCopyright © 2017. All rights reserved.