org.apache.cxf.sts.request
Class ReceivedToken
java.lang.Object
org.apache.cxf.sts.request.ReceivedToken
public class ReceivedToken
- extends Object
This class contains values that have been extracted from a received Token. The Token can be a
JAXB UsernameTokenType/BinarySecurityTokenType or a DOM Element.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReceivedToken
public ReceivedToken(Object receivedToken)
throws STSException
- Throws:
STSException
getToken
public Object getToken()
setToken
public void setToken(Object token)
isBinarySecurityToken
public boolean isBinarySecurityToken()
setBinarySecurityToken
public void setBinarySecurityToken(boolean binarySecurityToken)
isUsernameToken
public boolean isUsernameToken()
setUsernameToken
public void setUsernameToken(boolean usernameToken)
isDOMElement
public boolean isDOMElement()
setDOMElement
public void setDOMElement(boolean domElement)
getTokenContext
public String getTokenContext()
setTokenContext
public void setTokenContext(String tokenContext)
getState
public ReceivedToken.STATE getState()
setState
public void setState(ReceivedToken.STATE state)
getPrincipal
public Principal getPrincipal()
setPrincipal
public void setPrincipal(Principal principal)
Apache CXF