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
           
 
Fields inherited from class org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
PRINCIPAL_RESULT, PROCESSOR_MAP, SAML_ROLE_ATTRIBUTENAME_DEFAULT, 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)
           
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
advanceBody, createSecurityContext, createSecurityContext, createSecurityEngine, doResults, getAdditionalInterceptors, getCallback, getCallback, getProperty, getReplayCache, 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, loadCrypto, 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, decodeRequireSignedEncryptedDataElements, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUseEncodedPasswords, decodeUseSingleCertificate, decodeUTParameter, doReceiverAction, doSenderAction, getCallbackHandler, getClassLoader, getPasswordCallbackHandler, getPasswordCB, getString, getStringOption, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final PolicyBasedWSS4JInInterceptor INSTANCE
Constructor Detail

PolicyBasedWSS4JInInterceptor

public PolicyBasedWSS4JInInterceptor()
Method Detail

computeAction

protected void computeAction(SoapMessage message,
                             org.apache.ws.security.handler.RequestData data)
                      throws org.apache.ws.security.WSSecurityException
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
Throws:
org.apache.ws.security.WSSecurityException

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