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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddConfiguration(TransportBinding transportBinding) getName()booleanorg.apache.neethi.PolicyComponentvoidserialize(XMLStreamWriter writer) voidsetTokenProtection(boolean tokenProtection) voidsetTransportToken(TransportToken transportToken) Methods inherited from class org.apache.ws.secpolicy.model.Binding
getAlgorithmSuite, getLayout, getSignedEndorsingSupportingTokens, getSignedSupportingToken, isIncludeTimestamp, isIncludeTimestampOptional, setAlgorithmSuite, setIncludeTimestamp, setIncludeTimestampOptional, setLayout, setSignedEndorsingSupportingTokens, setSignedSupportingTokenMethods 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:
normalizein interfaceorg.apache.neethi.Assertion- Overrides:
normalizein classAbstractSecurityAssertion
-
serialize
- Throws:
XMLStreamException
-