Apache CXF API

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

java.lang.Object
  extended by org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
      extended by org.apache.cxf.ws.security.policy.model.TokenWrapper
All Implemented Interfaces:
PolicyAssertion, org.apache.neethi.Assertion, org.apache.neethi.PolicyComponent, org.apache.neethi.PolicyContainingAssertion
Direct Known Subclasses:
EncryptionToken, InitiatorEncryptionToken, InitiatorSignatureToken, InitiatorToken, ProtectionToken, RecipientEncryptionToken, RecipientSignatureToken, RecipientToken, SignatureToken, SupportingToken, TransportToken

public abstract class TokenWrapper
extends AbstractSecurityAssertion
implements PolicyAssertion, org.apache.neethi.PolicyContainingAssertion


Field Summary
protected  PolicyBuilder builder
           
protected  Token token
           
 
Fields inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
constants
 
Constructor Summary
TokenWrapper(SPConstants version, PolicyBuilder b)
           
 
Method Summary
 org.apache.neethi.Policy getPolicy()
           
 Token getToken()
           
 org.apache.neethi.PolicyComponent normalize()
           
 void setToken(Token tok)
           
 
Methods inherited from class org.apache.cxf.ws.security.policy.model.AbstractSecurityAssertion
equal, getSPConstants, getType, isAsserted, isIgnorable, isNormalized, isOptional, setIgnorable, setNormalized, setOptional
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.cxf.ws.policy.PolicyAssertion
isAsserted
 
Methods inherited from interface org.apache.neethi.Assertion
getName, isIgnorable, isOptional, serialize
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 
Methods inherited from interface org.apache.neethi.Assertion
getName, isIgnorable, isOptional, serialize
 
Methods inherited from interface org.apache.neethi.PolicyComponent
equal, getType
 

Field Detail

builder

protected PolicyBuilder builder

token

protected Token token
Constructor Detail

TokenWrapper

public TokenWrapper(SPConstants version,
                    PolicyBuilder b)
Method Detail

setToken

public void setToken(Token tok)

getToken

public Token getToken()

normalize

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

getPolicy

public org.apache.neethi.Policy getPolicy()
Specified by:
getPolicy in interface org.apache.neethi.PolicyContainingAssertion

Apache CXF API

Apache CXF