Package org.apache.ws.secpolicy.model
Class ProtectionToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.ProtectionToken
- 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()org.apache.neethi.PolicyComponentvoidserialize(XMLStreamWriter writer) voidsetProtectionToken(Token protectionToken) voidMethods 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
-
ProtectionToken
public ProtectionToken(int version)
-
-
Method Details
-
getProtectionToken
- Returns:
- Returns the protectionToken.
-
setProtectionToken
- Parameters:
protectionToken- The protectionToken to set.
-
setToken
- Specified by:
setTokenin interfaceTokenWrapper
-
getName
- Specified by:
getNamein interfaceorg.apache.neethi.Assertion
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-
serialize
- Specified by:
serializein interfaceorg.apache.neethi.Assertion- Specified by:
serializein interfaceorg.apache.neethi.PolicyComponent- Throws:
XMLStreamException
-