Package org.apache.ws.secpolicy.model
Class TransportToken
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.TransportToken
- 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()
short
getType()
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
Methods inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
equal, getVersion, isIgnorable, isNormalized, setIgnorable, setNormalized, setOptional, setVersion, writeAttribute, writeEmptyElement, writeStartElement, writeStartElement
-
Constructor Details
-
TransportToken
public TransportToken(int version)
-
-
Method Details
-
getTransportToken
- Returns:
- Returns the transportToken.
-
getName
- Specified by:
getName
in interfaceorg.apache.neethi.Assertion
-
isOptional
public boolean isOptional()- Specified by:
isOptional
in interfaceorg.apache.neethi.Assertion
- Overrides:
isOptional
in classAbstractSecurityAssertion
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
getType
public short getType()- Specified by:
getType
in interfaceorg.apache.neethi.PolicyComponent
- Overrides:
getType
in classAbstractSecurityAssertion
-
serialize
- Specified by:
serialize
in interfaceorg.apache.neethi.Assertion
- Specified by:
serialize
in interfaceorg.apache.neethi.PolicyComponent
- Throws:
XMLStreamException
-
setToken
- Specified by:
setToken
in interfaceTokenWrapper
-