Package com.sun.identity.wss.trust
Class RequestSecurityToken
- java.lang.Object
-
- com.sun.identity.wss.trust.RequestSecurityToken
-
- Direct Known Subclasses:
RequestSecurityToken_Impl,RequestSecurityToken_Impl
public abstract class RequestSecurityToken extends Object
This abstract classRequestSecurityTokenrepresents the WS-Trust protocol element RequestSecurityToken.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringADDRESSprotected static StringAPPLIES_TOprotected StringappliesToprotected static StringCLAIMSprotected List<ClaimType>claimTypesprotected static StringEP_REFERENCEprotected static StringKEY_TYPEprotected StringkeyTypeprotected ElementoboTokenprotected static StringON_BEHALF_OFprotected static StringREQUEST_SECURITY_TOKENprotected static StringREQUEST_TYPEprotected StringrequestTypeprotected static StringTOKEN_TYPEprotected StringtokenType
-
Constructor Summary
Constructors Constructor Description RequestSecurityToken()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetAppliesTo()Returns the appliesTo attribute.ListgetClaimTypes()Returns the list of claim types.StringgetKeyType()Returns the keytypeElementgetOnBehalfOf()Returns the OnBehalfOfElementStringgetRequestType()Returns the request typeStringgetTokenType()Returns the token type.voidsetAppliesTo(String appliesTo)Sets the appliesTo attribute.voidsetClaimTypes(List claimTypes)Sets the list of claim typesvoidsetKeyType(String keyType)Sets the keytypevoidsetOnBehalfOf(Element oboToken)Sets the Ob behalf of token.voidsetRequestType(String requestType)Sets the request type.voidsetTokenType(String tokenType)Sets the token type.abstract ElementtoDOMElement()Returns the DOM Element representation for the request security token.abstract StringtoXMLString()Converts into XML String
-
-
-
Field Detail
-
REQUEST_SECURITY_TOKEN
protected static final String REQUEST_SECURITY_TOKEN
- See Also:
- Constant Field Values
-
REQUEST_TYPE
protected static final String REQUEST_TYPE
- See Also:
- Constant Field Values
-
TOKEN_TYPE
protected static final String TOKEN_TYPE
- See Also:
- Constant Field Values
-
APPLIES_TO
protected static final String APPLIES_TO
- See Also:
- Constant Field Values
-
EP_REFERENCE
protected static final String EP_REFERENCE
- See Also:
- Constant Field Values
-
ADDRESS
protected static final String ADDRESS
- See Also:
- Constant Field Values
-
ON_BEHALF_OF
protected static final String ON_BEHALF_OF
- See Also:
- Constant Field Values
-
KEY_TYPE
protected static final String KEY_TYPE
- See Also:
- Constant Field Values
-
CLAIMS
protected static final String CLAIMS
- See Also:
- Constant Field Values
-
requestType
protected String requestType
-
appliesTo
protected String appliesTo
-
oboToken
protected Element oboToken
-
keyType
protected String keyType
-
tokenType
protected String tokenType
-
-
Method Detail
-
getRequestType
public String getRequestType()
Returns the request type- Returns:
- the request type.
-
setRequestType
public void setRequestType(String requestType)
Sets the request type.- Parameters:
requestType- the request type
-
getTokenType
public String getTokenType()
Returns the token type.- Returns:
- the token type.
-
setTokenType
public void setTokenType(String tokenType)
Sets the token type.- Parameters:
tokenType- the token type.
-
getAppliesTo
public String getAppliesTo()
Returns the appliesTo attribute.- Returns:
- the appliesTo attribute
-
setAppliesTo
public void setAppliesTo(String appliesTo)
Sets the appliesTo attribute.- Parameters:
appliesTo- the appliesTo attribute.
-
getOnBehalfOf
public Element getOnBehalfOf()
Returns the OnBehalfOfElement- Returns:
- the OnBehalfOf
Element
-
setOnBehalfOf
public void setOnBehalfOf(Element oboToken)
Sets the Ob behalf of token.- Parameters:
oboToken- the on behalf of token.
-
getKeyType
public String getKeyType()
Returns the keytype- Returns:
- the keytype.
-
setKeyType
public void setKeyType(String keyType)
Sets the keytype- Parameters:
keyType- the keytype.
-
getClaimTypes
public List getClaimTypes()
Returns the list of claim types.- Returns:
- the list of claim types.
-
setClaimTypes
public void setClaimTypes(List claimTypes)
Sets the list of claim types- Parameters:
claimTypes- the list of claim types.
-
toDOMElement
public abstract Element toDOMElement() throws WSTException
Returns the DOM Element representation for the request security token.- Returns:
- the DOM Element representation for the request security token.
- Throws:
com.sun.identity.wss.sts.protocol.WSTExceptionWSTException
-
toXMLString
public abstract String toXMLString() throws WSTException
Converts into XML String- Returns:
- the XML String for
RequestSecurityToken. - Throws:
WSTException
-
-