Class LDAPAuthenticationProvider.LdapPerson

java.lang.Object
org.springframework.security.ldap.userdetails.LdapUserDetailsImpl
org.springframework.security.ldap.userdetails.Person
org.springframework.security.ldap.userdetails.InetOrgPerson
com.erudika.para.server.security.LDAPAuthenticationProvider.LdapPerson
All Implemented Interfaces:
Serializable, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails, org.springframework.security.ldap.ppolicy.PasswordPolicyData, org.springframework.security.ldap.userdetails.LdapUserDetails
Enclosing class:
LDAPAuthenticationProvider

public static class LDAPAuthenticationProvider.LdapPerson extends org.springframework.security.ldap.userdetails.InetOrgPerson
Ldap Person override.
Author:
Alex Bogdanovski [[email protected]]
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    Essence.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Get a person's photo.
    void
    populateContext(org.springframework.ldap.core.DirContextAdapter adapter)
     
    void
    setPhoto(byte[] photo)
    Sets photo.

    Methods inherited from class org.springframework.security.ldap.userdetails.InetOrgPerson

    getCarLicense, getDepartmentNumber, getDestinationIndicator, getDisplayName, getEmployeeNumber, getHomePhone, getHomePostalAddress, getInitials, getMail, getMobile, getO, getOu, getPostalAddress, getPostalCode, getRoomNumber, getStreet, getTitle, getUid

    Methods inherited from class org.springframework.security.ldap.userdetails.Person

    getCn, getDescription, getGivenName, getSn, getTelephoneNumber

    Methods inherited from class org.springframework.security.ldap.userdetails.LdapUserDetailsImpl

    equals, eraseCredentials, getAuthorities, getDn, getGraceLoginsRemaining, getPassword, getTimeBeforeExpiration, getUsername, hashCode, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled, toString

    Methods inherited from class Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • LdapPerson

      public LdapPerson()
  • Method Details

    • setPhoto

      public void setPhoto(byte[] photo)
      Sets photo.
      Parameters:
      photo - avatar
    • getPhoto

      public byte[] getPhoto()
      Get a person's photo.
      Returns:
      bytes
    • populateContext

      public void populateContext(org.springframework.ldap.core.DirContextAdapter adapter)