@MappedSuperclass public abstract class BasicUser<R extends org.springframework.security.core.GrantedAuthority> extends AuditedVersionedModel implements org.springframework.security.core.userdetails.UserDetails
| Modifier and Type | Class and Description |
|---|---|
static class |
BasicUser.AccountType |
active| Constructor and Description |
|---|
BasicUser() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getAccountExpires() |
BasicUser.AccountType |
getAccountType() |
Collection<? extends org.springframework.security.core.GrantedAuthority> |
getAuthorities() |
String |
getEmail() |
String |
getFullName() |
Date |
getLockedUntil() |
String |
getPassword() |
Date |
getPasswordExpires() |
Set<R> |
getRoles() |
String |
getShortName() |
String |
getUsername() |
String |
getUuid() |
boolean |
isAccountLocked() |
boolean |
isAccountNonExpired() |
boolean |
isAccountNonLocked() |
boolean |
isCredentialsNonExpired() |
boolean |
isEnabled() |
void |
setAccountExpires(Date accountExpires) |
void |
setAccountType(BasicUser.AccountType accountType) |
void |
setEmail(String email) |
void |
setFullName(String fullName) |
void |
setLockedUntil(Date lockedUntil) |
void |
setPassword(String password) |
void |
setPasswordExpires(Date passwordExpires) |
void |
setRoles(Set<R> roles) |
void |
setShortName(String shortName) |
void |
setUuid(String uuid) |
String |
toString() |
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, setCreatedBy, setCreatedDate, setLastModifiedBy, setLastModifiedDategetVersion, isActive, setActive, setVersionequals, getId, hashCode, isPersisted, setIdpublic String getEmail()
public void setEmail(String email)
public String getShortName()
public void setShortName(String shortName)
public String getFullName()
public void setFullName(String fullName)
public Date getAccountExpires()
public void setAccountExpires(Date accountExpires)
public Date getLockedUntil()
public void setLockedUntil(Date lockedUntil)
public Date getPasswordExpires()
public void setPasswordExpires(Date passwordExpires)
public void setPassword(String password)
public String getUuid()
public void setUuid(String uuid)
public Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
getAuthorities in interface org.springframework.security.core.userdetails.UserDetailspublic String getPassword()
getPassword in interface org.springframework.security.core.userdetails.UserDetailspublic 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 isAccountLocked()
public boolean isCredentialsNonExpired()
isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetailspublic boolean isEnabled()
isEnabled in interface org.springframework.security.core.userdetails.UserDetailspublic BasicUser.AccountType getAccountType()
public void setAccountType(BasicUser.AccountType accountType)
Copyright © 2017 Global Crop Diversity Trust. All rights reserved.