Class BearerTokenAuthentication
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
org.springframework.security.authentication.UsernamePasswordAuthenticationToken
de.adorsys.sts.token.authentication.BearerTokenAuthentication
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class BearerTokenAuthentication
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionBearerTokenAuthentication(Object principal, Object credentials, String token) BearerTokenAuthentication(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token) -
Method Summary
Methods inherited from class org.springframework.security.authentication.UsernamePasswordAuthenticationToken
authenticated, eraseCredentials, getCredentials, getPrincipal, setAuthenticated, unauthenticatedMethods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toString
-
Constructor Details
-
BearerTokenAuthentication
-
BearerTokenAuthentication
public BearerTokenAuthentication(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
-
-
Method Details
-
getToken
-