Interface NormalizedUserDetails
- All Superinterfaces:
NormalizedPrincipal,NormalizedPrincipalDetails,Principal,Serializable,org.springframework.security.core.userdetails.UserDetails
The normalized user details.
- Author:
- Christian Bremer
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThe immutable builder. -
Method Summary
Methods inherited from interface org.bremersee.spring.security.core.NormalizedPrincipalDetails
getAuthorities, getName, isAccountNonExpired, isAccountNonLocked, isCredentialsNonExpired, isEnabled
-
Method Details
-
getPassword
@Nullable String getPassword()- Specified by:
getPasswordin interfaceNormalizedPrincipalDetails- Specified by:
getPasswordin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getUsername
- Specified by:
getUsernamein interfaceNormalizedPrincipalDetails- Specified by:
getUsernamein interfaceorg.springframework.security.core.userdetails.UserDetails
-
getFirstName
@Nullable String getFirstName()Description copied from interface:NormalizedPrincipalGets first name.- Specified by:
getFirstNamein interfaceNormalizedPrincipal- Specified by:
getFirstNamein interfaceNormalizedPrincipalDetails- Returns:
- the first name
-
getLastName
@Nullable String getLastName()Description copied from interface:NormalizedPrincipalGets last name.- Specified by:
getLastNamein interfaceNormalizedPrincipal- Specified by:
getLastNamein interfaceNormalizedPrincipalDetails- Returns:
- the last name
-
getEmail
@Nullable String getEmail()Description copied from interface:NormalizedPrincipalGets email.- Specified by:
getEmailin interfaceNormalizedPrincipal- Specified by:
getEmailin interfaceNormalizedPrincipalDetails- Returns:
- the email
-
empty
Returns empty normalized user details.- Returns:
- the normalized user details
-
builder
Returns the builder.- Returns:
- the builder
-