Apache CXF API

org.apache.cxf.ws.security.wss4j
Class PolicyBasedWSS4JInInterceptor

java.lang.Object
  extended by org.apache.ws.security.handler.WSHandler
      extended by org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
          extended by org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
              extended by org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor
All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class PolicyBasedWSS4JInInterceptor
extends WSS4JInInterceptor


Field Summary
static PolicyBasedWSS4JInInterceptor INSTANCE
           
static String PROPERTIES_CACHE
           
 
Fields inherited from class org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
PRINCIPAL_RESULT, PROCESSOR_MAP, SECURITY_PROCESSED, SIGNATURE_RESULT, TIMESTAMP_RESULT, VALIDATOR_MAP
 
Fields inherited from class org.apache.ws.security.handler.WSHandler
cryptos, secEngine
 
Constructor Summary
PolicyBasedWSS4JInInterceptor()
           
 
Method Summary
protected  void computeAction(SoapMessage message, org.apache.ws.security.handler.RequestData data)
          Do whatever is necessary to determine the action for the incoming message and do whatever other setup work is necessary.
protected  void doResults(SoapMessage msg, String actor, Element soapHeader, Element soapBody, List<org.apache.ws.security.WSSecurityEngineResult> results, boolean utWithCallbacks)
           
protected static Map<Object,Properties> getPropertiesCache(SoapMessage message)
           
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
advanceBody, createSecurityContext, createSecurityEngine, doResults, getAdditionalInterceptors, getCallback, getCallback, getProperty, getSecurityEngine, handleMessage, isGET, isSecurityContextPrincipal, setIgnoreActions
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getRoles, getUnderstoodHeaders, handleFault, isRequestor, loadCryptoFromPropertiesFile, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperties, setProperty, setProperty, translateProperties
 
Methods inherited from class org.apache.ws.security.handler.WSHandler
checkReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeBooleanConfigValue, decodeBSPCompliance, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEnableSignatureConfirmation, decodeEncryptionParameter, decodeFutureTimeToLive, decodeMustUnderstand, decodeNamespaceQualifiedPasswordTypes, decodePasswordType, decodePasswordTypeStrict, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUseEncodedPasswords, decodeUseSingleCertificate, decodeUTParameter, doReceiverAction, doSenderAction, getCallbackHandler, getClassLoader, getPasswordCallbackHandler, getPasswordCB, getString, getStringOption, loadCrypto, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTIES_CACHE

public static final String PROPERTIES_CACHE
See Also:
Constant Field Values

INSTANCE

public static final PolicyBasedWSS4JInInterceptor INSTANCE
Constructor Detail

PolicyBasedWSS4JInInterceptor

public PolicyBasedWSS4JInInterceptor()
Method Detail

getPropertiesCache

protected static Map<Object,Properties> getPropertiesCache(SoapMessage message)

computeAction

protected void computeAction(SoapMessage message,
                             org.apache.ws.security.handler.RequestData data)
Description copied from class: WSS4JInInterceptor
Do whatever is necessary to determine the action for the incoming message and do whatever other setup work is necessary.

Overrides:
computeAction in class WSS4JInInterceptor

doResults

protected void doResults(SoapMessage msg,
                         String actor,
                         Element soapHeader,
                         Element soapBody,
                         List<org.apache.ws.security.WSSecurityEngineResult> results,
                         boolean utWithCallbacks)
                  throws javax.xml.soap.SOAPException,
                         javax.xml.stream.XMLStreamException,
                         org.apache.ws.security.WSSecurityException
Overrides:
doResults in class WSS4JInInterceptor
Throws:
javax.xml.soap.SOAPException
javax.xml.stream.XMLStreamException
org.apache.ws.security.WSSecurityException

Apache CXF API

Apache CXF