Apache CXF API

org.apache.cxf.ws.security.wss4j.policyhandlers
Class AbstractCommonBindingHandler

java.lang.Object
  extended by org.apache.cxf.ws.security.wss4j.policyhandlers.AbstractCommonBindingHandler
Direct Known Subclasses:
AbstractBindingBuilder, AbstractStaxBindingHandler

public abstract class AbstractCommonBindingHandler
extends Object

Some common functionality to be shared between the two binding handlers (DOM + StAX)


Field Summary
protected  SoapMessage message
           
 
Constructor Summary
AbstractCommonBindingHandler(SoapMessage msg)
           
 
Method Summary
protected  void assertAlgorithmSuite(org.apache.wss4j.policy.model.AlgorithmSuite algorithmSuite)
           
protected  void assertPolicy(org.apache.neethi.Assertion assertion)
           
protected  void assertPolicy(QName n)
           
protected  void assertToken(org.apache.wss4j.policy.model.AbstractToken token)
           
protected  void assertTokenWrapper(org.apache.wss4j.policy.model.AbstractTokenWrapper tokenWrapper)
           
protected  void assertTrustProperties(String namespace)
           
protected  void assertWSSProperties(String namespace)
           
protected  Collection<AssertionInfo> getAllAssertionsByLocalname(AssertionInfoMap aim, String localname)
           
protected  Collection<AssertionInfo> getAllAssertionsByLocalname(String localname)
           
protected  AssertionInfo getFirstAssertionByLocalname(AssertionInfoMap aim, String localname)
           
protected  SoapMessage getMessage()
           
protected  SecurityToken getSecurityToken()
           
protected static String getSHA1(byte[] input)
           
protected  org.apache.wss4j.policy.model.Wss10 getWss10()
           
protected  boolean isRequestor()
           
protected  boolean isTokenRequired(org.apache.wss4j.policy.SPConstants.IncludeTokenType includeToken)
           
protected  void policyNotAsserted(org.apache.neethi.Assertion assertion, Exception reason)
           
protected  void policyNotAsserted(org.apache.neethi.Assertion assertion, String reason)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

message

protected final SoapMessage message
Constructor Detail

AbstractCommonBindingHandler

public AbstractCommonBindingHandler(SoapMessage msg)
Method Detail

policyNotAsserted

protected void policyNotAsserted(org.apache.neethi.Assertion assertion,
                                 String reason)

policyNotAsserted

protected void policyNotAsserted(org.apache.neethi.Assertion assertion,
                                 Exception reason)

assertTokenWrapper

protected void assertTokenWrapper(org.apache.wss4j.policy.model.AbstractTokenWrapper tokenWrapper)

assertToken

protected void assertToken(org.apache.wss4j.policy.model.AbstractToken token)

assertAlgorithmSuite

protected void assertAlgorithmSuite(org.apache.wss4j.policy.model.AlgorithmSuite algorithmSuite)

assertWSSProperties

protected void assertWSSProperties(String namespace)

assertTrustProperties

protected void assertTrustProperties(String namespace)

getFirstAssertionByLocalname

protected AssertionInfo getFirstAssertionByLocalname(AssertionInfoMap aim,
                                                     String localname)

getAllAssertionsByLocalname

protected Collection<AssertionInfo> getAllAssertionsByLocalname(String localname)

getAllAssertionsByLocalname

protected Collection<AssertionInfo> getAllAssertionsByLocalname(AssertionInfoMap aim,
                                                                String localname)

getMessage

protected SoapMessage getMessage()

getSHA1

protected static String getSHA1(byte[] input)

isRequestor

protected boolean isRequestor()

isTokenRequired

protected boolean isTokenRequired(org.apache.wss4j.policy.SPConstants.IncludeTokenType includeToken)

getWss10

protected org.apache.wss4j.policy.model.Wss10 getWss10()

getSecurityToken

protected SecurityToken getSecurityToken()

assertPolicy

protected void assertPolicy(QName n)

assertPolicy

protected void assertPolicy(org.apache.neethi.Assertion assertion)

Apache CXF API

Apache CXF