public class DefaultSpringSecurityAuthenticationToken extends Object implements SpringSecurityAuthenticationToken
SpringSecurityAuthenticationToken implementation.AuthenticationToken.AuthenticationTokenResolver<R extends Message>CredentialsContainer.CredentialsMatcher| Constructor and Description |
|---|
DefaultSpringSecurityAuthenticationToken(org.springframework.security.core.Authentication authentication)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.core.Authentication |
getAuthentication()
Get the Spring Security
Authentication bound to this token. |
Object |
getCredentials()
Returns the credentials submitted during the authentication process that verifies the submitted
AuthenticationToken.getPrincipal() account identity. |
Object |
getPrincipal()
Get the principal to which this authentication token refers, i.e.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccount, createaccountCredentials, bearer, httpBasicResolver, httpBearerResolverdefaultMatcherpublic DefaultSpringSecurityAuthenticationToken(org.springframework.security.core.Authentication authentication)
authentication - Spring Security Authentication token (not null)public Object getPrincipal()
AuthenticationTokengetPrincipal in interface AuthenticationTokenpublic Object getCredentials()
AuthenticationTokenAuthenticationToken.getPrincipal() account identity.getCredentials in interface AuthenticationTokengetCredentials in interface CredentialsContainerpublic org.springframework.security.core.Authentication getAuthentication()
SpringSecurityAuthenticationTokenAuthentication bound to this token.getAuthentication in interface SpringSecurityAuthenticationTokenAuthentication (not null)Copyright © 2019 The Holon Platform. All rights reserved.