Package org.apache.cxf.sts.request
Class ReceivedToken
java.lang.Object
org.apache.cxf.sts.request.ReceivedToken
This class contains values that have been extracted from a received Token. The Token can be a
JAXB UsernameTokenType/BinarySecurityTokenType, a DOM Element or a String.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetRoles()getState()getToken()booleanbooleanbooleanvoidsetBinarySecurityToken(boolean binarySecurityToken) voidsetDOMElement(boolean domElement) voidsetPrincipal(Principal principal) voidvoidsetState(ReceivedToken.STATE state) voidvoidsetTokenContext(String tokenContext) voidsetUsernameToken(boolean usernameToken)
-
Constructor Details
-
ReceivedToken
- Throws:
STSException
-
-
Method Details
-
getToken
-
setToken
-
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
-
setTokenContext
-
getState
-
setState
-
getPrincipal
-
setPrincipal
-
getRoles
-
setRoles
-