Package org.tailormap.api.security
Class TailormapUserDetailsImpl
java.lang.Object
org.tailormap.api.security.TailormapUserDetailsImpl
- All Implemented Interfaces:
Serializable,org.springframework.security.core.userdetails.UserDetails,TailormapUserDetails
Internal
TailormapUserDetails implementation.
Do not use this class directly; always depend on the TailormapUserDetails interface instead. This class is
public only to support JSON/session deserialization (e.g. by Jackson / Spring Session). Changing its
visibility back to package-private would break that deserialization.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends org.springframework.security.core.GrantedAuthority> booleanbooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.tailormap.api.security.TailormapUserDetails
hasTruePropertyForKey, streamAllPropertiesForKeyMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
isAccountNonLocked, isCredentialsNonExpired
-
Constructor Details
-
TailormapUserDetailsImpl
-
-
Method Details
-
getAuthorities
- Specified by:
getAuthoritiesin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getPassword
- Specified by:
getPasswordin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getUsername
- Specified by:
getUsernamein interfaceorg.springframework.security.core.userdetails.UserDetails
-
isAccountNonExpired
public boolean isAccountNonExpired()- Specified by:
isAccountNonExpiredin interfaceorg.springframework.security.core.userdetails.UserDetails
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabledin interfaceorg.springframework.security.core.userdetails.UserDetails
-
getOrganisation
- Specified by:
getOrganisationin interfaceTailormapUserDetails
-
getAdditionalProperties
- Specified by:
getAdditionalPropertiesin interfaceTailormapUserDetails
-
getAdditionalGroupProperties
- Specified by:
getAdditionalGroupPropertiesin interfaceTailormapUserDetails
-