Package org.apache.ws.secpolicy.model
Class RecipientToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.RecipientToken
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
,TokenWrapper
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setReceipientToken
(Token receipientToken) void
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getType, getVersion, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
RecipientToken
public RecipientToken(int version)
-
-
Method Details
-
getReceipientToken
- Returns:
- Returns the receipientToken.
-
setReceipientToken
- Parameters:
receipientToken
- The receipientToken to set.
-
setToken
- Specified by:
setToken
in interfaceTokenWrapper
-
getName
- Specified by:
getName
in interfaceorg.apache.neethi.Assertion
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Specified by:
serialize
in interfaceorg.apache.neethi.Assertion
- Specified by:
serialize
in interfaceorg.apache.neethi.PolicyComponent
- Throws:
XMLStreamException
-