public class RestAuthenticationToken
extends org.springframework.security.authentication.UsernamePasswordAuthenticationToken
| Constructor and Description |
|---|
RestAuthenticationToken(Object principal,
Object credentials,
Collection<? extends org.springframework.security.core.GrantedAuthority> authorities,
String token) |
RestAuthenticationToken(String token) |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
eraseCredentials, getCredentials, getPrincipal, setAuthenticatedequals, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setDetails, toStringpublic RestAuthenticationToken(Object principal, Object credentials, Collection<? extends org.springframework.security.core.GrantedAuthority> authorities, String token)
public RestAuthenticationToken(String token)
public String getToken()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.