Interface NormalizedPrincipalDetails

All Superinterfaces:
NormalizedPrincipal, Principal, Serializable, org.springframework.security.core.userdetails.UserDetails
All Known Subinterfaces:
LdaptiveUserDetails, NormalizedUserDetails

public interface NormalizedPrincipalDetails extends org.springframework.security.core.userdetails.UserDetails, NormalizedPrincipal
The normalized principal details.
Author:
Christian Bremer
  • Method Details

    • getAuthorities

      @Default default @NonNull Collection<? extends org.springframework.security.core.GrantedAuthority> getAuthorities()
      Specified by:
      getAuthorities in interface org.springframework.security.core.userdetails.UserDetails
    • getPassword

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

      @NullMarked String getUsername()
      Specified by:
      getUsername in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonExpired

      @Default default boolean isAccountNonExpired()
      Specified by:
      isAccountNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isAccountNonLocked

      @Default default boolean isAccountNonLocked()
      Specified by:
      isAccountNonLocked in interface org.springframework.security.core.userdetails.UserDetails
    • isCredentialsNonExpired

      @Default default boolean isCredentialsNonExpired()
      Specified by:
      isCredentialsNonExpired in interface org.springframework.security.core.userdetails.UserDetails
    • isEnabled

      @Default default boolean isEnabled()
      Specified by:
      isEnabled in interface org.springframework.security.core.userdetails.UserDetails
    • getName

      @Lazy default String getName()
      Specified by:
      getName in interface Principal
    • getFirstName

      @Nullable String getFirstName()
      Description copied from interface: NormalizedPrincipal
      Gets first name.
      Specified by:
      getFirstName in interface NormalizedPrincipal
      Returns:
      the first name
    • getLastName

      @Nullable String getLastName()
      Description copied from interface: NormalizedPrincipal
      Gets last name.
      Specified by:
      getLastName in interface NormalizedPrincipal
      Returns:
      the last name
    • getEmail

      @Nullable String getEmail()
      Description copied from interface: NormalizedPrincipal
      Gets email.
      Specified by:
      getEmail in interface NormalizedPrincipal
      Returns:
      the email