Package com.sun.identity.wss.trust
Class RequestSecurityTokenResponse
- java.lang.Object
-
- com.sun.identity.wss.trust.RequestSecurityTokenResponse
-
- Direct Known Subclasses:
RequestSecurityTokenResponse_Impl,RequestSecurityTokenResponse_Impl
public abstract class RequestSecurityTokenResponse extends Object
This abstract classRequestSecurityTokenResponserepresents the WS-Trust protocol element RequestSecurityTokenResponse.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringADDRESSprotected static StringAPPLIES_TOprotected StringappliesToprotected static StringEP_REFERENCEprotected static StringREQUEST_SECURITY_TOKEN_RESPONSEprotected static StringREQUEST_TYPEprotected static StringREQUESTED_PROOF_TOKENprotected static StringREQUESTED_SECURITY_TOKENprotected RequestedProofTokenrequestedProofTokenprotected ElementrequestedSecurityTokenprotected StringrequestTypeprotected static StringTOKEN_TYPEprotected StringtokenType
-
Constructor Summary
Constructors Constructor Description RequestSecurityTokenResponse()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetAppliesTo()Returns the AppliesTo attribute.RequestedProofTokengetRequestedProofToken()Returns the requested proof token.ElementgetRequestedSecurityToken()Returns the requested security token as a DOM Element.StringgetRequestType()Returns the request typeStringgetTokenType()Returns the token type.voidsetAppliesTo(String appliesTo)Sets the appliesTo attribute elementvoidsetRequestedProofToken(RequestedProofToken requestedProofToken)Sets the requested proof token.voidsetRequestedSecurityToken(Element secToken)Sets the requested security token.voidsetRequestType(String requestType)Sets the request type.voidsetTokenType(String tokenType)Sets the token type.abstract ElementtoDOMElement()Converts into DOM Element.abstract StringtoXMLString()Converts into XML String
-
-
-
Field Detail
-
REQUEST_SECURITY_TOKEN_RESPONSE
protected static final String REQUEST_SECURITY_TOKEN_RESPONSE
- See Also:
- Constant Field Values
-
REQUESTED_SECURITY_TOKEN
protected static final String REQUESTED_SECURITY_TOKEN
- See Also:
- Constant Field Values
-
REQUESTED_PROOF_TOKEN
protected static final String REQUESTED_PROOF_TOKEN
- See Also:
- Constant Field Values
-
APPLIES_TO
protected static final String APPLIES_TO
- See Also:
- Constant Field Values
-
TOKEN_TYPE
protected static final String TOKEN_TYPE
- See Also:
- Constant Field Values
-
REQUEST_TYPE
protected static final String REQUEST_TYPE
- 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
-
tokenType
protected String tokenType
-
requestedSecurityToken
protected Element requestedSecurityToken
-
appliesTo
protected String appliesTo
-
requestType
protected String requestType
-
requestedProofToken
protected RequestedProofToken requestedProofToken
-
-
Method Detail
-
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.
-
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
-
getRequestedSecurityToken
public Element getRequestedSecurityToken()
Returns the requested security token as a DOM Element.- Returns:
- the requested security token as a DOM Element
-
setRequestedSecurityToken
public void setRequestedSecurityToken(Element secToken)
Sets the requested security token.- Parameters:
secToken- the requested security token elemtn
-
getAppliesTo
public String getAppliesTo()
Returns the AppliesTo attribute.- Returns:
- the AppliesTo attribute.
-
setAppliesTo
public void setAppliesTo(String appliesTo)
Sets the appliesTo attribute element- Parameters:
appliesTo- the appliesTo attribute element.
-
getRequestedProofToken
public RequestedProofToken getRequestedProofToken()
Returns the requested proof token.- Returns:
- the requested proof token.
-
setRequestedProofToken
public void setRequestedProofToken(RequestedProofToken requestedProofToken)
Sets the requested proof token.- Parameters:
requestedProofToken- the requested proof token.
-
toDOMElement
public abstract Element toDOMElement() throws WSTException
Converts into DOM Element.- Returns:
- the DOMElement representation of
RequestSecurityTokenResponse - Throws:
WSTException
-
toXMLString
public abstract String toXMLString() throws WSTException
Converts into XML String- Returns:
- the XML String for
RequestSecurityTokenResponse. - Throws:
WSTException
-
-