|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wss4j.dom.handler.WSHandler org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
public abstract class AbstractWSS4JInterceptor
Field Summary |
---|
Fields inherited from class org.apache.wss4j.dom.handler.WSHandler |
---|
cryptos, secEngine |
Constructor Summary | |
---|---|
AbstractWSS4JInterceptor()
|
Method Summary | |
---|---|
Collection<PhaseInterceptor<? extends Message>> |
getAdditionalInterceptors()
Returns a collection of Interceptors that should be added to the chain whenever this interceptor is added. |
Set<String> |
getAfter()
Returns a set containing the IDs of the interceptors that should be executed before this interceptor. |
Set<String> |
getBefore()
Returns a set containing the IDs of the interceptors that should be executed after this interceptor. |
String |
getId()
Returns the ID of this interceptor. |
Object |
getOption(String key)
|
String |
getPassword(Object msgContext)
|
String |
getPhase()
Returns the phase in which this interceptor is excecuted. |
Map<String,Object> |
getProperties()
|
Object |
getProperty(Object msgContext,
String key)
|
Set<URI> |
getRoles()
|
Set<QName> |
getUnderstoodHeaders()
|
void |
handleFault(SoapMessage message)
Called for all interceptors (in reverse order) on which handleMessage had been successfully invoked, when normal execution of the chain was aborted for some reason. |
protected boolean |
isRequestor(SoapMessage message)
|
protected org.apache.wss4j.common.crypto.Crypto |
loadCryptoFromPropertiesFile(String propFilename,
org.apache.wss4j.dom.handler.RequestData reqData)
|
void |
postHandleMessage(SoapMessage message)
|
void |
setAfter(Set<String> after)
|
void |
setBefore(Set<String> before)
|
void |
setId(String id)
|
void |
setPassword(Object msgContext,
String password)
|
void |
setPhase(String phase)
|
void |
setProperties(Map<String,Object> properties)
|
void |
setProperty(Object msgContext,
String key,
Object value)
|
void |
setProperty(String key,
String value)
|
protected void |
translateProperties(SoapMessage msg)
|
Methods inherited from class org.apache.wss4j.dom.handler.WSHandler |
---|
checkReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeAddInclusivePrefixes, decodeAlgorithmSuite, decodeAllowUsernameTokenNoPassword, decodeBooleanConfigValue, decodeBSPCompliance, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEnableSignatureConfirmation, decodeEncryptionParameter, decodeFutureTimeToLive, decodeIncludeEncryptionToken, decodeIncludeSignatureToken, decodeMustUnderstand, decodeNamespaceQualifiedPasswordTypes, decodePasswordType, decodeRequireSignedEncryptedDataElements, decodeSamlSubjectConfirmationValidation, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUse200512Namespace, decodeUseEncodedPasswords, decodeUseSingleCertificate, decodeUTParameter, doReceiverAction, doSenderAction, getCallbackHandler, getClassLoader, getPasswordCallbackHandler, getPasswordCB, getPasswordEncryptor, getString, getStringOption, loadCrypto, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, loadSignatureVerificationCrypto |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cxf.interceptor.Interceptor |
---|
handleMessage |
Constructor Detail |
---|
public AbstractWSS4JInterceptor()
Method Detail |
---|
public Set<URI> getRoles()
getRoles
in interface SoapInterceptor
public void handleFault(SoapMessage message)
Interceptor
handleFault
in interface Interceptor<SoapMessage>
public void postHandleMessage(SoapMessage message) throws Fault
Fault
public Collection<PhaseInterceptor<? extends Message>> getAdditionalInterceptors()
PhaseInterceptor
getAdditionalInterceptors
in interface PhaseInterceptor<SoapMessage>
public String getPhase()
PhaseInterceptor
getPhase
in interface PhaseInterceptor<SoapMessage>
public void setPhase(String phase)
public Object getOption(String key)
getOption
in class org.apache.wss4j.dom.handler.WSHandler
public void setProperty(String key, String value)
public String getPassword(Object msgContext)
getPassword
in class org.apache.wss4j.dom.handler.WSHandler
public Object getProperty(Object msgContext, String key)
getProperty
in class org.apache.wss4j.dom.handler.WSHandler
public void setPassword(Object msgContext, String password)
setPassword
in class org.apache.wss4j.dom.handler.WSHandler
public void setProperty(Object msgContext, String key, Object value)
setProperty
in class org.apache.wss4j.dom.handler.WSHandler
public String getId()
PhaseInterceptor
getId
in interface PhaseInterceptor<SoapMessage>
public void setId(String id)
public Set<QName> getUnderstoodHeaders()
getUnderstoodHeaders
in interface SoapInterceptor
public Map<String,Object> getProperties()
public void setProperties(Map<String,Object> properties)
public Set<String> getAfter()
PhaseInterceptor
getAfter
in interface PhaseInterceptor<SoapMessage>
public void setAfter(Set<String> after)
public Set<String> getBefore()
PhaseInterceptor
getBefore
in interface PhaseInterceptor<SoapMessage>
public void setBefore(Set<String> before)
protected boolean isRequestor(SoapMessage message)
protected void translateProperties(SoapMessage msg)
protected org.apache.wss4j.common.crypto.Crypto loadCryptoFromPropertiesFile(String propFilename, org.apache.wss4j.dom.handler.RequestData reqData) throws org.apache.wss4j.common.ext.WSSecurityException
loadCryptoFromPropertiesFile
in class org.apache.wss4j.dom.handler.WSHandler
org.apache.wss4j.common.ext.WSSecurityException
|
Apache CXF API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |