Class LdapActor
java.lang.Object
de.gustavblass.fsu.fmi.roombooking.model.actor.Actor
de.gustavblass.fsu.fmi.roombooking.model.actor.LdapActor
- All Implemented Interfaces:
Identified, Serializable, Comparable<Actor>, org.springframework.security.core.CredentialsContainer, org.springframework.security.core.userdetails.UserDetails
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidWarning! This method is only meant for the Spring framework and does nothing!@Nullable StringWarning! This method is only meant for the Spring framework and always returns null!@NonNull Stringpassword()A null-safe alternative toActor.getPassword().Methods inherited from class Actor
compareTo, getAuthorities, getMetadata, getUsername, isAccountNonLocked, isEnabled, resetMetadata, setMetadataMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Identified
getIdMethods inherited from interface org.springframework.security.core.userdetails.UserDetails
isAccountNonExpired, isCredentialsNonExpired
-
Field Details
-
CODE
-
-
Constructor Details
-
LdapActor
public LdapActor()
-
-
Method Details
-
getTypeCode
- Specified by:
getTypeCodein classActor- Returns:
- The
CODE.
-
password
Description copied from class:ActorA null-safe alternative toActor.getPassword().- Specified by:
passwordin classActor- Returns:
- Always
Optional.empty().
-
getPassword
Warning! This method is only meant for the Spring framework and always returns null!- Specified by:
getPasswordin interfaceorg.springframework.security.core.userdetails.UserDetails- Specified by:
getPasswordin classActor
-
eraseCredentials
@Contract(pure=true) public void eraseCredentials()Warning! This method is only meant for the Spring framework and does nothing!
-