public static class LdapUserDetailsImpl.Essence extends Object
Modifier and Type | Field and Description |
---|---|
protected LdapUserDetailsImpl |
instance |
Constructor and Description |
---|
Essence() |
Essence(DirContextOperations ctx) |
Essence(LdapUserDetails copyMe) |
Modifier and Type | Method and Description |
---|---|
void |
addAuthority(GrantedAuthority a)
Adds the authority to the list, unless it is already there, in which case it is
ignored
|
protected LdapUserDetailsImpl |
createTarget() |
LdapUserDetails |
createUserDetails() |
Collection<GrantedAuthority> |
getGrantedAuthorities() |
void |
setAccountNonExpired(boolean accountNonExpired) |
void |
setAccountNonLocked(boolean accountNonLocked) |
void |
setAuthorities(Collection<? extends GrantedAuthority> authorities) |
void |
setCredentialsNonExpired(boolean credentialsNonExpired) |
void |
setDn(Name dn) |
void |
setDn(String dn) |
void |
setEnabled(boolean enabled) |
void |
setGraceLoginsRemaining(int graceLoginsRemaining) |
void |
setPassword(String password) |
void |
setTimeBeforeExpiration(int timeBeforeExpiration) |
void |
setUsername(String username) |
protected LdapUserDetailsImpl instance
public Essence()
public Essence(DirContextOperations ctx)
public Essence(LdapUserDetails copyMe)
protected LdapUserDetailsImpl createTarget()
public void addAuthority(GrantedAuthority a)
public LdapUserDetails createUserDetails()
public Collection<GrantedAuthority> getGrantedAuthorities()
public void setAccountNonExpired(boolean accountNonExpired)
public void setAccountNonLocked(boolean accountNonLocked)
public void setAuthorities(Collection<? extends GrantedAuthority> authorities)
public void setCredentialsNonExpired(boolean credentialsNonExpired)
public void setDn(String dn)
public void setDn(Name dn)
public void setEnabled(boolean enabled)
public void setPassword(String password)
public void setUsername(String username)
public void setTimeBeforeExpiration(int timeBeforeExpiration)
public void setGraceLoginsRemaining(int graceLoginsRemaining)