public class JWTAuthenticationToken
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
com.mycompany.api.authentication.filter.JWTAuthenticationTokenFilter,
Serialized Form| Constructor and Description |
|---|
JWTAuthenticationToken(Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String token) |
JWTAuthenticationToken(Object principal,
Object credentials,
String token) |
JWTAuthenticationToken(String token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringprotected String token
public JWTAuthenticationToken(String token)
public JWTAuthenticationToken(Object principal, Object credentials, String token)
public JWTAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
public String getToken()
Copyright © 2017. All rights reserved.