Package org.apache.ws.secpolicy.model
Class TransportBinding
java.lang.Object
org.apache.ws.secpolicy.model.AbstractSecurityAssertion
org.apache.ws.secpolicy.model.Binding
org.apache.ws.secpolicy.model.TransportBinding
- All Implemented Interfaces:
org.apache.neethi.Assertion
,org.apache.neethi.PolicyComponent
,AlgorithmWrapper
-
Field Summary
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addConfiguration
(TransportBinding transportBinding) getName()
boolean
org.apache.neethi.PolicyComponent
void
serialize
(XMLStreamWriter writer) void
setTokenProtection
(boolean tokenProtection) void
setTransportToken
(TransportToken transportToken) Methods inherited from class org.apache.ws.secpolicy.model.Binding
getAlgorithmSuite, getLayout, getSignedEndorsingSupportingTokens, getSignedSupportingToken, isIncludeTimestamp, isIncludeTimestampOptional, setAlgorithmSuite, setIncludeTimestamp, setIncludeTimestampOptional, setLayout, setSignedEndorsingSupportingTokens, setSignedSupportingToken
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
-
TransportBinding
public TransportBinding(int version)
-
-
Method Details
-
getTransportToken
- Returns:
- Returns the transportToken.
-
setTransportToken
- Parameters:
transportToken
- The transportToken to set.
-
isTokenProtection
public boolean isTokenProtection()- Returns:
- Returns the tokenProtection.
-
setTokenProtection
public void setTokenProtection(boolean tokenProtection) - Parameters:
tokenProtection
- The tokenProtection to set.
-
getConfigurations
-
getDefaultConfiguration
-
addConfiguration
-
getName
-
normalize
public org.apache.neethi.PolicyComponent normalize()- Specified by:
normalize
in interfaceorg.apache.neethi.Assertion
- Overrides:
normalize
in classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-