public class PolicyBasedWSS4JInInterceptor extends WSS4JInInterceptor
| Modifier and Type | Field and Description |
|---|---|
static PolicyBasedWSS4JInInterceptor |
INSTANCE |
PRINCIPAL_RESULT, PROCESSOR_MAP, SAML_ROLE_ATTRIBUTENAME_DEFAULT, SECURITY_PROCESSED, SIGNATURE_RESULT, TIMESTAMP_RESULT, VALIDATOR_MAP| Constructor and Description |
|---|
PolicyBasedWSS4JInInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
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) |
void |
handleMessage(SoapMessage msg)
Intercepts a message.
|
protected void |
setAlgorithmSuites(SoapMessage message,
org.apache.ws.security.handler.RequestData data)
Set a WSS4J AlgorithmSuite object on the RequestData context, to restrict the
algorithms that are allowed for encryption, signature, etc.
|
advanceBody, createSecurityContext, createSecurityContext, createSecurityEngine, doResults, getAdditionalInterceptors, getCallback, getCallback, getProperty, getReplayCache, getSecurityEngine, isGET, isSecurityContextPrincipal, setIgnoreActionsgetAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getRoles, getUnderstoodHeaders, handleFault, isRequestor, loadCryptoFromPropertiesFile, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperties, setProperty, setProperty, translatePropertiescheckReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeAlgorithmSuite, decodeAllowUsernameTokenNoPassword, 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, loadCrypto, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCryptopublic static final PolicyBasedWSS4JInInterceptor INSTANCE
public void handleMessage(SoapMessage msg) throws Fault
InterceptorhandleMessage in interface Interceptor<SoapMessage>handleMessage in class WSS4JInInterceptorFaultprotected void setAlgorithmSuites(SoapMessage message, org.apache.ws.security.handler.RequestData data) throws org.apache.ws.security.WSSecurityException
setAlgorithmSuites in class WSS4JInInterceptororg.apache.ws.security.WSSecurityExceptionprotected void computeAction(SoapMessage message, org.apache.ws.security.handler.RequestData data) throws org.apache.ws.security.WSSecurityException
WSS4JInInterceptorcomputeAction in class WSS4JInInterceptororg.apache.ws.security.WSSecurityExceptionprotected 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
doResults in class WSS4JInInterceptorjavax.xml.soap.SOAPExceptionjavax.xml.stream.XMLStreamExceptionorg.apache.ws.security.WSSecurityExceptionApache CXF