egovframework.rfc3.iam.security.userdetails
Class ExtUser
java.lang.Object
org.springframework.security.core.userdetails.User
egovframework.rfc3.iam.security.userdetails.ExtUser
- All Implemented Interfaces:
- java.io.Serializable, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails
public class ExtUser
- extends org.springframework.security.core.userdetails.User
- implements org.springframework.security.core.userdetails.UserDetails
- See Also:
- Serialized Form
Constructor Summary |
ExtUser(java.lang.String username,
java.lang.String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
java.util.List<org.springframework.security.core.GrantedAuthority> authorities,
java.lang.Object customUser)
Constructor of ExtUser : It is able to set customUser additional. |
Methods inherited from class org.springframework.security.core.userdetails.User |
equals, eraseCredentials, getAuthorities, getPassword, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.springframework.security.core.userdetails.UserDetails |
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled |
ExtUser
public ExtUser(java.lang.String username,
java.lang.String password,
boolean enabled,
boolean accountNonExpired,
boolean credentialsNonExpired,
boolean accountNonLocked,
java.util.List<org.springframework.security.core.GrantedAuthority> authorities,
java.lang.Object customUser)
throws java.lang.IllegalArgumentException
- Constructor of ExtUser : It is able to set customUser additional. In case
of being able to set userGroup, Class contains that information.
- Throws:
java.lang.IllegalArgumentException
- See Also:
org.springframework.security.userdetails.User#User(String, String,
boolean, boolean, boolean, boolean, GrantedAuthority[])
getCustomUser
public java.lang.Object getCustomUser()
setCustomUser
public void setCustomUser(java.lang.Object customUser)
setUserGroup
public void setUserGroup(java.lang.String userGroup)
getUserGroup
public java.lang.String getUserGroup()
getUserGroupPropertyName
public static java.lang.String getUserGroupPropertyName()
setUserGroupPropertyName
public static void setUserGroupPropertyName(java.lang.String userGroupPropertyName)