public class PolicyBasedWSS4JInInterceptor extends WSS4JInInterceptor
| Modifier and Type | Field and Description |
|---|---|
static PolicyBasedWSS4JInInterceptor |
INSTANCE |
PROCESSOR_MAP, SAML_ROLE_ATTRIBUTENAME_DEFAULT, SECURITY_PROCESSED, VALIDATOR_MAP| Constructor and Description |
|---|
PolicyBasedWSS4JInInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
computeAction(SoapMessage message,
org.apache.wss4j.dom.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,
org.apache.wss4j.dom.handler.WSHandlerResult results,
boolean utWithCallbacks) |
void |
handleMessage(SoapMessage msg)
Intercepts a message.
|
protected boolean |
isNonceCacheRequired(List<Integer> actions,
SoapMessage msg)
Is a Nonce Cache required, i.e.
|
protected boolean |
isSamlCacheRequired(List<Integer> actions,
SoapMessage msg)
Is a SAML Cache required, i.e.
|
protected boolean |
isTimestampCacheRequired(List<Integer> actions,
SoapMessage msg)
Is a Timestamp cache required, i.e.
|
protected void |
setAlgorithmSuites(SoapMessage message,
org.apache.wss4j.dom.handler.RequestData data)
Set a WSS4J AlgorithmSuite object on the RequestData context, to restrict the
algorithms that are allowed for encryption, signature, etc.
|
advanceBody, configureReplayCaches, createSecurityContext, createSecurityContext, createSecurityEngine, doResults, getCallback, getCallback, getProperty, getReplayCache, getSecurityEngine, isGET, setIgnoreActionsgetAdditionalInterceptors, getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getRoles, getUnderstoodHeaders, handleFault, isRequestor, loadCryptoFromPropertiesFile, postHandleMessage, setId, setPassword, setPhase, setProperties, setProperty, setProperty, translatePropertiescheckReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeAlgorithmSuite, decodeBooleanConfigValue, decodeDecryptionParameter, decodeEncryptionParameter, decodeFutureTimeToLive, decodePasswordType, decodeSignatureParameter, decodeSignatureParameter2, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getCallbackHandler, getClassLoader, getPasswordCallbackHandler, getPasswordCB, getPasswordEncryptor, getString, getStringOption, loadCrypto, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, loadSignatureVerificationCryptopublic static final PolicyBasedWSS4JInInterceptor INSTANCE
public void handleMessage(SoapMessage msg) throws Fault
InterceptorhandleMessage in interface Interceptor<SoapMessage>handleMessage in class WSS4JInInterceptorFaultprotected boolean isNonceCacheRequired(List<Integer> actions, SoapMessage msg)
isNonceCacheRequired in class WSS4JInInterceptorprotected boolean isTimestampCacheRequired(List<Integer> actions, SoapMessage msg)
isTimestampCacheRequired in class WSS4JInInterceptorprotected boolean isSamlCacheRequired(List<Integer> actions, SoapMessage msg)
isSamlCacheRequired in class WSS4JInInterceptorprotected void setAlgorithmSuites(SoapMessage message, org.apache.wss4j.dom.handler.RequestData data) throws org.apache.wss4j.common.ext.WSSecurityException
setAlgorithmSuites in class WSS4JInInterceptororg.apache.wss4j.common.ext.WSSecurityExceptionprotected void computeAction(SoapMessage message, org.apache.wss4j.dom.handler.RequestData data) throws org.apache.wss4j.common.ext.WSSecurityException
WSS4JInInterceptorcomputeAction in class WSS4JInInterceptororg.apache.wss4j.common.ext.WSSecurityExceptionprotected void doResults(SoapMessage msg, String actor, Element soapHeader, Element soapBody, org.apache.wss4j.dom.handler.WSHandlerResult results, boolean utWithCallbacks) throws SOAPException, XMLStreamException, org.apache.wss4j.common.ext.WSSecurityException
doResults in class WSS4JInInterceptorSOAPExceptionXMLStreamExceptionorg.apache.wss4j.common.ext.WSSecurityExceptionApache CXF