org.apache.ws.secpolicy.model
Class TransportBinding

java.lang.Object
  extended by org.apache.ws.secpolicy.model.AbstractSecurityAssertion
      extended by org.apache.ws.secpolicy.model.Binding
          extended by org.apache.ws.secpolicy.model.TransportBinding
All Implemented Interfaces:
org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, AlgorithmWrapper

public class TransportBinding
extends Binding


Field Summary
 
Fields inherited from class org.apache.ws.secpolicy.model.AbstractSecurityAssertion
version
 
Constructor Summary
TransportBinding(int version)
           
 
Method Summary
 void addConfiguration(TransportBinding transportBinding)
           
 java.util.List getConfigurations()
           
 TransportBinding getDefaultConfiguration()
           
 javax.xml.namespace.QName getName()
           
 TransportToken getTransportToken()
           
 boolean isTokenProtection()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportBinding

public TransportBinding(int version)
Method Detail

getTransportToken

public TransportToken getTransportToken()
Returns:
Returns the transportToken.

setTransportToken

public void setTransportToken(TransportToken transportToken)
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

public java.util.List getConfigurations()

getDefaultConfiguration

public TransportBinding getDefaultConfiguration()

addConfiguration

public void addConfiguration(TransportBinding transportBinding)

getName

public javax.xml.namespace.QName getName()

normalize

public org.apache.neethi.PolicyComponent normalize()
Specified by:
normalize in interface org.apache.neethi.Assertion
Overrides:
normalize in class AbstractSecurityAssertion

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException


Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.