Interface LdaptiveUserDetails

All Superinterfaces:
org.bremersee.spring.security.core.NormalizedPrincipal, org.bremersee.spring.security.core.NormalizedPrincipalDetails, Principal, Serializable, org.springframework.security.core.userdetails.UserDetails

@Immutable public interface LdaptiveUserDetails extends org.bremersee.spring.security.core.NormalizedPrincipalDetails
The ldaptive user details.
Author:
Christian Bremer
  • Method Details

    • getDn

      String getDn()
      Gets the distinguished name.
      Returns:
      the distinguished name
    • getPassword

      @Nullable String getPassword()
      Specified by:
      getPassword in interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
      Specified by:
      getPassword in interface org.springframework.security.core.userdetails.UserDetails
    • getUsername

      @NullMarked String getUsername()
      Specified by:
      getUsername in interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
      Specified by:
      getUsername in interface org.springframework.security.core.userdetails.UserDetails
    • getFirstName

      @Nullable String getFirstName()
      Specified by:
      getFirstName in interface org.bremersee.spring.security.core.NormalizedPrincipal
      Specified by:
      getFirstName in interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
    • getLastName

      @Nullable String getLastName()
      Specified by:
      getLastName in interface org.bremersee.spring.security.core.NormalizedPrincipal
      Specified by:
      getLastName in interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
    • getEmail

      @Nullable String getEmail()
      Specified by:
      getEmail in interface org.bremersee.spring.security.core.NormalizedPrincipal
      Specified by:
      getEmail in interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
    • empty

      static @NonNull LdaptiveUserDetails empty()
      Empty ldaptive user details.
      Returns:
      the ldaptive user details
    • builder

      static LdaptiveUserDetails.Builder builder()
      Gets builder.
      Returns:
      the builder