Class LdaptiveRememberMeAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.RememberMeAuthenticationToken
org.bremersee.spring.security.ldaptive.authentication.LdaptiveRememberMeAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.bremersee.spring.security.core.NormalizedAuthentication,LdaptiveAuthentication,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class LdaptiveRememberMeAuthenticationToken
extends org.springframework.security.authentication.RememberMeAuthenticationToken
implements LdaptiveAuthentication
The ldaptive remember-me authentication token.
- Author:
- Christian Bremer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLdaptiveRememberMeAuthenticationToken(String key, LdaptiveAuthentication ldaptiveAuthentication) Constructor. -
Method Summary
Methods inherited from class org.springframework.security.authentication.RememberMeAuthenticationToken
equals, getKeyHash, hashCodeMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, isAuthenticated, setAuthenticated, setDetails, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.springframework.security.core.Authentication
getAuthorities, getDetails, isAuthenticated, setAuthenticated
-
Constructor Details
-
LdaptiveRememberMeAuthenticationToken
public LdaptiveRememberMeAuthenticationToken(String key, LdaptiveAuthentication ldaptiveAuthentication) Constructor.- Parameters:
key- to identify if this object made by an authorised clientldaptiveAuthentication- the ldaptive authentication- Throws:
IllegalArgumentException- if anullwas passed
-
-
Method Details
-
getPrincipal
- Specified by:
getPrincipalin interfaceorg.springframework.security.core.Authentication- Specified by:
getPrincipalin interfaceLdaptiveAuthentication- Specified by:
getPrincipalin interfaceorg.bremersee.spring.security.core.NormalizedAuthentication- Overrides:
getPrincipalin classorg.springframework.security.authentication.RememberMeAuthenticationToken
-
getCredentials
- Specified by:
getCredentialsin interfaceorg.springframework.security.core.Authentication- Overrides:
getCredentialsin classorg.springframework.security.authentication.RememberMeAuthenticationToken
-
getName
-