org.apache.cxf.ws.security.policy.model
Class TransportToken

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.TransportToken
All Implemented Interfaces:
PolicyAssertion, TokenWrapper, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent

public class TransportToken
extends AbstractSecurityAssertion
implements TokenWrapper


Field Summary
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
TransportToken(SPConstants version)
           
 
Method Summary
 javax.xml.namespace.QName getName()
           
 Token getTransportToken()
           
 short getType()
           
 boolean isOptional()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void serialize(javax.xml.stream.XMLStreamWriter writer)
           
 void setToken(Token tok)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getPolicy, isAsserted, isNormalized, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportToken

public TransportToken(SPConstants version)
Method Detail

getTransportToken

public Token getTransportToken()
Returns:
Returns the transportToken.

getName

public javax.xml.namespace.QName getName()
Specified by:
getName in interface org.apache.neethi.Assertion

isOptional

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

normalize

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

getType

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

serialize

public void serialize(javax.xml.stream.XMLStreamWriter writer)
               throws javax.xml.stream.XMLStreamException
Specified by:
serialize in interface org.apache.neethi.Assertion
Specified by:
serialize in interface org.apache.neethi.PolicyComponent
Throws:
javax.xml.stream.XMLStreamException

setToken

public void setToken(Token tok)
Specified by:
setToken in interface TokenWrapper


Apache CXF