Class EnduranceTrioAuthToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
com.endurancetrio.app.common.security.token.EnduranceTrioAuthToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class EnduranceTrioAuthToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
The
EnduranceTrioAuthToken class represents an authentication token for key-based
authentication.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B extends org.springframework.security.authentication.AbstractAuthenticationToken.AbstractAuthenticationBuilder<B>>Nested classes/interfaces inherited from interface org.springframework.security.core.Authentication
org.springframework.security.core.Authentication.Builder<B extends org.springframework.security.core.Authentication.Builder<B>> -
Constructor Summary
ConstructorsConstructorDescriptionEnduranceTrioAuthToken(String principal, String credentials) EnduranceTrioAuthToken(String principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities) -
Method Summary
Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, getName, 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
toBuilder
-
Constructor Details
-
EnduranceTrioAuthToken
-
EnduranceTrioAuthToken
public EnduranceTrioAuthToken(String principal, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities)
-
-
Method Details
-
getCredentials
-
getPrincipal
-
equals
-
hashCode
public int hashCode()
-