public class BasicUnTrustedAuthenticationToken extends BasicAuthenticationToken implements UnTurstedAuthenticationToken
UnTurstedAuthenticationToken
Constructor and Description |
---|
BasicUnTrustedAuthenticationToken() |
BasicUnTrustedAuthenticationToken(String json) |
Modifier and Type | Method and Description |
---|---|
String |
getCode()
A GUID of sorts that is secret and only the calling API would know and be able to trust if it matches.
|
void |
setCode(String code) |
getAuthenticated, getRoles, getUserId, isAuthenticated, setAuthenticated, setRole, setUserId
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRoles, getUserId, isAuthenticated
public BasicUnTrustedAuthenticationToken()
public BasicUnTrustedAuthenticationToken(String json)
public String getCode()
UnTurstedAuthenticationToken
getCode
in interface UnTurstedAuthenticationToken
public void setCode(String code)
Copyright © 2018. All rights reserved.