|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.ws.security.handler.WSHandler
org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor
org.apache.cxf.ws.security.wss4j.PolicyBasedWSS4JInInterceptor
public class PolicyBasedWSS4JInInterceptor
| 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(org.apache.cxf.binding.soap.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(org.apache.cxf.binding.soap.SoapMessage msg,
String actor,
Element soapHeader,
Element soapBody,
List<org.apache.ws.security.WSSecurityEngineResult> results,
boolean utWithCallbacks)
|
void |
handleMessage(org.apache.cxf.binding.soap.SoapMessage msg)
|
protected boolean |
isNonceCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
Is a Nonce Cache required, i.e. |
protected boolean |
isSamlCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
Is a SAML Cache required, i.e. |
protected boolean |
isTimestampCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
Is a Timestamp cache required, i.e. |
protected void |
setAlgorithmSuites(org.apache.cxf.binding.soap.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. |
| Methods inherited from class org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor |
|---|
advanceBody, configureReplayCaches, createSecurityContext, createSecurityContext, createSecurityContext, createSecurityEngine, doResults, getAdditionalInterceptors, getCallback, getCallback, getProperty, getReplayCache, getSecurityEngine, isGET, 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, 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, loadSignatureCrypto |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final PolicyBasedWSS4JInInterceptor INSTANCE
| Constructor Detail |
|---|
public PolicyBasedWSS4JInInterceptor()
| Method Detail |
|---|
public void handleMessage(org.apache.cxf.binding.soap.SoapMessage msg)
throws org.apache.cxf.interceptor.Fault
handleMessage in interface org.apache.cxf.interceptor.Interceptor<org.apache.cxf.binding.soap.SoapMessage>handleMessage in class WSS4JInInterceptororg.apache.cxf.interceptor.Fault
protected boolean isNonceCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
isNonceCacheRequired in class WSS4JInInterceptor
protected boolean isTimestampCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
isTimestampCacheRequired in class WSS4JInInterceptor
protected boolean isSamlCacheRequired(int doAction,
org.apache.cxf.binding.soap.SoapMessage msg)
isSamlCacheRequired in class WSS4JInInterceptor
protected void setAlgorithmSuites(org.apache.cxf.binding.soap.SoapMessage message,
org.apache.ws.security.handler.RequestData data)
throws org.apache.ws.security.WSSecurityException
setAlgorithmSuites in class WSS4JInInterceptororg.apache.ws.security.WSSecurityException
protected void computeAction(org.apache.cxf.binding.soap.SoapMessage message,
org.apache.ws.security.handler.RequestData data)
throws org.apache.ws.security.WSSecurityException
WSS4JInInterceptor
computeAction in class WSS4JInInterceptororg.apache.ws.security.WSSecurityException
protected void doResults(org.apache.cxf.binding.soap.SoapMessage msg,
String actor,
Element soapHeader,
Element soapBody,
List<org.apache.ws.security.WSSecurityEngineResult> results,
boolean utWithCallbacks)
throws SOAPException,
XMLStreamException,
org.apache.ws.security.WSSecurityException
doResults in class WSS4JInInterceptorSOAPException
XMLStreamException
org.apache.ws.security.WSSecurityException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||