Class LdaptiveUser
java.lang.Object
org.bremersee.ldaptive.serializable.SerLdapEntry
org.bremersee.spring.security.ldaptive.userdetails.LdaptiveUser
- All Implemented Interfaces:
Serializable,Principal,org.bremersee.spring.security.core.NormalizedPrincipal,LdaptiveUserDetails,org.springframework.security.core.userdetails.UserDetails
public class LdaptiveUser
extends org.bremersee.ldaptive.serializable.SerLdapEntry
implements LdaptiveUserDetails
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
canEqual, equals, findAttribute, getAttributes, getDn, hashCode, toLdapEntry, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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