public static class LdapUserDetailsImpl.Essence
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected LdapUserDetailsImpl |
instance |
Constructor and Description |
---|
Essence() |
Essence(org.springframework.ldap.core.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() |
java.util.Collection<GrantedAuthority> |
getGrantedAuthorities() |
void |
setAccountNonExpired(boolean accountNonExpired) |
void |
setAccountNonLocked(boolean accountNonLocked) |
void |
setAuthorities(java.util.Collection<? extends GrantedAuthority> authorities) |
void |
setCredentialsNonExpired(boolean credentialsNonExpired) |
void |
setDn(javax.naming.Name dn) |
void |
setDn(java.lang.String dn) |
void |
setEnabled(boolean enabled) |
void |
setGraceLoginsRemaining(int graceLoginsRemaining) |
void |
setPassword(java.lang.String password) |
void |
setTimeBeforeExpiration(int timeBeforeExpiration) |
void |
setUsername(java.lang.String username) |
protected LdapUserDetailsImpl instance
public Essence()
public Essence(org.springframework.ldap.core.DirContextOperations ctx)
public Essence(LdapUserDetails copyMe)
protected LdapUserDetailsImpl createTarget()
public void addAuthority(GrantedAuthority a)
public LdapUserDetails createUserDetails()
public java.util.Collection<GrantedAuthority> getGrantedAuthorities()
public void setAccountNonExpired(boolean accountNonExpired)
public void setAccountNonLocked(boolean accountNonLocked)
public void setAuthorities(java.util.Collection<? extends GrantedAuthority> authorities)
public void setCredentialsNonExpired(boolean credentialsNonExpired)
public void setDn(java.lang.String dn)
public void setDn(javax.naming.Name dn)
public void setEnabled(boolean enabled)
public void setPassword(java.lang.String password)
public void setUsername(java.lang.String username)
public void setTimeBeforeExpiration(int timeBeforeExpiration)
public void setGraceLoginsRemaining(int graceLoginsRemaining)