Class LdaptiveUser
java.lang.Object
org.bremersee.ldaptive.serializable.SerLdapEntry
org.bremersee.spring.security.ldaptive.userdetails.LdaptiveUser
- All Implemented Interfaces:
Serializable,Principal,NormalizedPrincipal,LdaptiveUserDetails,org.springframework.security.core.userdetails.UserDetails
The ldaptive user.
- Author:
- Christian Bremer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLdaptiveUser(org.ldaptive.LdapEntry ldapEntry, String username, String firstName, String lastName, String email, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String password, boolean accountNonExpired, boolean accountNonLocked, boolean credentialsNonExpired, boolean enabled) Instantiates a new ldaptive user. -
Method Summary
Methods inherited from class org.bremersee.ldaptive.serializable.SerLdapEntry
findAttribute, toLdapEntryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.bremersee.spring.security.ldaptive.userdetails.LdaptiveUserDetails
getDnMethods inherited from interface org.bremersee.spring.security.core.NormalizedPrincipal
getEmail, getFirstName, getLastNameMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
getAuthorities, getPassword, getUsername, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Constructor Details
-
LdaptiveUser
public LdaptiveUser(org.ldaptive.LdapEntry ldapEntry, String username, String firstName, String lastName, String email, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String password, boolean accountNonExpired, boolean accountNonLocked, boolean credentialsNonExpired, boolean enabled) Instantiates a new ldaptive user.- Parameters:
ldapEntry- the ldap entryusername- the usernamefirstName- the first namelastName- the last nameemail- the emailauthorities- the authoritiespassword- the passwordaccountNonExpired- the account non expiredaccountNonLocked- the account non-lockedcredentialsNonExpired- the credentials non expiredenabled- the enabled
-
-
Method Details