Apache CXF API

org.apache.cxf.ws.security.wss4j
Class WSS4JInInterceptor

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
All Implemented Interfaces:
SoapInterceptor, Interceptor<SoapMessage>, PhaseInterceptor<SoapMessage>

public class WSS4JInInterceptor
extends AbstractWSS4JInterceptor

Performs WS-Security inbound actions.

Author:
Tomasz Sztelak

Field Summary
static java.lang.String PRINCIPAL_RESULT
           
static java.lang.String PROCESSOR_MAP
           
static java.lang.String SIGNATURE_RESULT
           
static java.lang.String TIMESTAMP_RESULT
           
 
Fields inherited from class org.apache.ws.security.handler.WSHandler
cryptos, DONE, secEngine
 
Constructor Summary
WSS4JInInterceptor()
           
WSS4JInInterceptor(java.util.Map<java.lang.String,java.lang.Object> properties)
           
 
Method Summary
 java.lang.Object getProperty(java.lang.Object msgContext, java.lang.String key)
           
 void handleMessage(SoapMessage msg)
          Intercepts a message.
 
Methods inherited from class org.apache.cxf.ws.security.wss4j.AbstractWSS4JInterceptor
decodeEnableSignatureConfirmation, getAfter, getBefore, getId, getOption, getPassword, getPhase, getProperties, getRoles, getUnderstoodHeaders, handleFault, isRequestor, loadDecryptionCrypto, loadEncryptionCrypto, loadSignatureCrypto, postHandleMessage, setAfter, setBefore, setId, setPassword, setPhase, setProperties, setProperty, setProperty
 
Methods inherited from class org.apache.ws.security.handler.WSHandler
checkReceiverResults, checkReceiverResultsAnyOrder, checkSignatureConfirmation, decodeCustomPasswordTypes, decodeDecryptionParameter, decodeEncryptionParameter, decodeMustUnderstand, decodeNamespaceQualifiedPasswordTypes, decodeSignatureParameter, decodeSignatureParameter2, decodeTimestampPrecision, decodeTimestampStrict, decodeTimeToLive, decodeUTParameter, doReceiverAction, doSenderAction, getClassLoader, getPassword, getPasswordCB, getString, getStringOption, verifyTimestamp, verifyTrust
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TIMESTAMP_RESULT

public static final java.lang.String TIMESTAMP_RESULT
See Also:
Constant Field Values

SIGNATURE_RESULT

public static final java.lang.String SIGNATURE_RESULT
See Also:
Constant Field Values

PRINCIPAL_RESULT

public static final java.lang.String PRINCIPAL_RESULT
See Also:
Constant Field Values

PROCESSOR_MAP

public static final java.lang.String PROCESSOR_MAP
See Also:
Constant Field Values
Constructor Detail

WSS4JInInterceptor

public WSS4JInInterceptor()

WSS4JInInterceptor

public WSS4JInInterceptor(java.util.Map<java.lang.String,java.lang.Object> properties)
Method Detail

getProperty

public java.lang.Object getProperty(java.lang.Object msgContext,
                                    java.lang.String key)
Overrides:
getProperty in class AbstractWSS4JInterceptor

handleMessage

public void handleMessage(SoapMessage msg)
                   throws Fault
Description copied from interface: Interceptor
Intercepts a message. Interceptors should NOT invoke handleMessage or handleFault on the next interceptor - the interceptor chain will take care of this.

Throws:
Fault

Apache CXF API

Apache CXF