Class LdapUserDetailsImpl.Essence
java.lang.Object
org.springframework.security.ldap.userdetails.LdapUserDetailsImpl.Essence
- Direct Known Subclasses:
Person.Essence
- Enclosing class:
- LdapUserDetailsImpl
Variation of essence pattern. Used to create mutable intermediate object
-
Field Summary
-
Constructor Summary
ConstructorDescriptionEssence()
Essence
(org.springframework.ldap.core.DirContextOperations ctx) Essence
(LdapUserDetails copyMe) -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the authority to the list, unless it is already there, in which case it is ignoredprotected LdapUserDetailsImpl
void
setAccountNonExpired
(boolean accountNonExpired) void
setAccountNonLocked
(boolean accountNonLocked) void
setAuthorities
(Collection<? extends GrantedAuthority> authorities) void
setCredentialsNonExpired
(boolean credentialsNonExpired) void
void
void
setEnabled
(boolean enabled) void
setGraceLoginsRemaining
(int graceLoginsRemaining) void
setPassword
(String password) void
setTimeBeforeExpiration
(int timeBeforeExpiration) void
setUsername
(String username)
-
Field Details
-
instance
-
-
Constructor Details
-
Essence
public Essence() -
Essence
public Essence(org.springframework.ldap.core.DirContextOperations ctx) -
Essence
-
-
Method Details
-
createTarget
-
addAuthority
Adds the authority to the list, unless it is already there, in which case it is ignored -
createUserDetails
-
getGrantedAuthorities
-
setAccountNonExpired
public void setAccountNonExpired(boolean accountNonExpired) -
setAccountNonLocked
public void setAccountNonLocked(boolean accountNonLocked) -
setAuthorities
-
setCredentialsNonExpired
public void setCredentialsNonExpired(boolean credentialsNonExpired) -
setDn
-
setDn
-
setEnabled
public void setEnabled(boolean enabled) -
setPassword
-
setUsername
-
setTimeBeforeExpiration
public void setTimeBeforeExpiration(int timeBeforeExpiration) -
setGraceLoginsRemaining
public void setGraceLoginsRemaining(int graceLoginsRemaining)
-