public class ReceivedToken extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ReceivedToken.STATE |
Constructor and Description |
---|
ReceivedToken(Object receivedToken) |
Modifier and Type | Method and Description |
---|---|
Principal |
getPrincipal() |
Set<Principal> |
getRoles() |
ReceivedToken.STATE |
getState() |
Object |
getToken() |
String |
getTokenContext() |
boolean |
isBinarySecurityToken() |
boolean |
isDOMElement() |
boolean |
isUsernameToken() |
void |
setBinarySecurityToken(boolean binarySecurityToken) |
void |
setDOMElement(boolean domElement) |
void |
setPrincipal(Principal principal) |
void |
setRoles(Set<Principal> roles) |
void |
setState(ReceivedToken.STATE state) |
void |
setToken(Object token) |
void |
setTokenContext(String tokenContext) |
void |
setUsernameToken(boolean usernameToken) |
public ReceivedToken(Object receivedToken) throws STSException
STSException
public Object getToken()
public void setToken(Object token)
public boolean isBinarySecurityToken()
public void setBinarySecurityToken(boolean binarySecurityToken)
public boolean isUsernameToken()
public void setUsernameToken(boolean usernameToken)
public boolean isDOMElement()
public void setDOMElement(boolean domElement)
public String getTokenContext()
public void setTokenContext(String tokenContext)
public ReceivedToken.STATE getState()
public void setState(ReceivedToken.STATE state)
public Principal getPrincipal()
public void setPrincipal(Principal principal)
Apache CXF