Class LdaptiveAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.bremersee.spring.security.ldaptive.authentication.LdaptiveAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,NormalizedAuthentication,LdaptiveAuthentication,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class LdaptiveAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
implements LdaptiveAuthentication
The ldaptive authentication token.
- Author:
- Christian Bremer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionLdaptiveAuthenticationToken(LdaptiveUserDetails userDetails) Instantiates a new ldaptive authentication token. -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, hashCode, 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, setAuthenticated
-
Constructor Details
-
LdaptiveAuthenticationToken
Instantiates a new ldaptive authentication token.- Parameters:
userDetails- the user details
-
-
Method Details
-
getPrincipal
Description copied from interface:NormalizedAuthenticationReturns the normalized principal.- Specified by:
getPrincipalin interfaceorg.springframework.security.core.Authentication- Specified by:
getPrincipalin interfaceLdaptiveAuthentication- Specified by:
getPrincipalin interfaceNormalizedAuthentication- Returns:
- the normalized principal
-
getName
-
isAuthenticated
public boolean isAuthenticated()- Specified by:
isAuthenticatedin interfaceorg.springframework.security.core.Authentication- Overrides:
isAuthenticatedin classorg.springframework.security.authentication.AbstractAuthenticationToken
-
getCredentials
- Specified by:
getCredentialsin interfaceorg.springframework.security.core.Authentication
-