public abstract class AbstractUser extends Object implements User
| Modifier and Type | Field and Description |
|---|---|
static String |
USER_TYPE_USER
default user type.
|
| Constructor and Description |
|---|
AbstractUser() |
| Modifier and Type | Method and Description |
|---|---|
void |
disable() |
void |
enable() |
boolean |
equals(Object obj) |
void |
eraseCredentials() |
Map<String,String> |
getProperties() |
String |
getType() |
String |
getUsername() |
int |
hashCode() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
protected abstract void |
setEnabled(boolean enabled) |
protected abstract void |
setPassword(String password) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAuthorities, getId, getNamepublic static final String USER_TYPE_USER
public void disable()
public void eraseCredentials()
eraseCredentials in interface org.springframework.security.core.CredentialsContainerpublic Map<String,String> getProperties()
getProperties in interface Userpublic String getUsername()
getUsername in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonExpired()
isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isAccountNonLocked()
isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailsprotected abstract void setEnabled(boolean enabled)
protected abstract void setPassword(String password)
Copyright © 2017. All rights reserved.