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

    Constructors
    Constructor
    Description
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from class org.bremersee.ldaptive.serializable.SerLdapEntry

    canEqual, equals, findAttribute, getAttributes, getDn, hashCode, toLdapEntry, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.bremersee.spring.security.ldaptive.userdetails.LdaptiveUserDetails

    getDn

    Methods inherited from interface org.bremersee.spring.security.core.NormalizedPrincipal

    getEmail, getFirstName, getLastName

    Methods inherited from interface java.security.Principal

    equals, hashCode, implies, toString

    Methods 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 entry
      username - the username
      firstName - the first name
      lastName - the last name
      email - the email
      authorities - the authorities
      password - the password
      accountNonExpired - the account non expired
      accountNonLocked - the account non-locked
      credentialsNonExpired - the credentials non expired
      enabled - the enabled
  • Method Details