|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.security.core.userdetails.User com.hack23.cia.web.impl.ui.common.CustomUserDetails
public final class CustomUserDetails
The Class CustomUserDetails.
Constructor Summary | |
---|---|
CustomUserDetails(String username,
Collection<org.springframework.security.core.GrantedAuthority> authorities)
Instantiates a new custom user details. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getEmail()
Gets the email. |
String |
getName()
Gets the name. |
int |
hashCode()
|
boolean |
isNewUser()
Checks if is new user. |
void |
setEmail(String email)
Sets the email. |
void |
setName(String name)
Sets the name. |
void |
setNewUser(boolean newUser)
Sets the new user. |
Methods inherited from class org.springframework.security.core.userdetails.User |
---|
eraseCredentials, getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CustomUserDetails(String username, Collection<org.springframework.security.core.GrantedAuthority> authorities)
username
- the usernameauthorities
- the authoritiesMethod Detail |
---|
public int hashCode()
hashCode
in class org.springframework.security.core.userdetails.User
public boolean equals(Object obj)
equals
in class org.springframework.security.core.userdetails.User
public String getEmail()
public void setEmail(String email)
email
- the new emailpublic boolean isNewUser()
public void setNewUser(boolean newUser)
newUser
- the new new userpublic String getName()
public void setName(String name)
name
- the new name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |