Class AbstractWSS4JInterceptor

    • Constructor Detail

      • AbstractWSS4JInterceptor

        public AbstractWSS4JInterceptor()
    • Method Detail

      • handleFault

        public void handleFault​(SoapMessage message)
        Description copied from interface: Interceptor
        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.
        Specified by:
        handleFault in interface Interceptor<SoapMessage>
      • setPhase

        public void setPhase​(String phase)
      • getOption

        public Object getOption​(String key)
        Specified by:
        getOption in class org.apache.wss4j.dom.handler.WSHandler
      • setProperty

        public void setProperty​(String key,
                                String value)
      • getPassword

        public String getPassword​(Object msgContext)
        Specified by:
        getPassword in class org.apache.wss4j.dom.handler.WSHandler
      • getProperty

        public Object getProperty​(Object msgContext,
                                  String key)
        Specified by:
        getProperty in class org.apache.wss4j.dom.handler.WSHandler
      • setPassword

        public void setPassword​(Object msgContext,
                                String password)
        Specified by:
        setPassword in class org.apache.wss4j.dom.handler.WSHandler
      • setProperty

        public void setProperty​(Object msgContext,
                                String key,
                                Object value)
        Specified by:
        setProperty in class org.apache.wss4j.dom.handler.WSHandler
      • setId

        public void setId​(String id)
      • setProperties

        public void setProperties​(Map<String,​Object> properties)
      • getAfter

        public Set<String> getAfter()
        Description copied from interface: PhaseInterceptor
        Returns a set containing the IDs of the interceptors that should be executed before this interceptor. This interceptor will be placed in the chain after the interceptors in the set.
        Specified by:
        getAfter in interface PhaseInterceptor<SoapMessage>
        Returns:
        the IDs of the interceptors
      • getBefore

        public Set<String> getBefore()
        Description copied from interface: PhaseInterceptor
        Returns a set containing the IDs of the interceptors that should be executed after this interceptor. This interceptor will be placed in the inteceptor chain before the interceptors in the set.
        Specified by:
        getBefore in interface PhaseInterceptor<SoapMessage>
        Returns:
        the ids of the interceptors
      • isRequestor

        protected boolean isRequestor​(SoapMessage message)
      • translateProperties

        protected void translateProperties​(SoapMessage msg)
      • loadCryptoFromPropertiesFile

        protected org.apache.wss4j.common.crypto.Crypto loadCryptoFromPropertiesFile​(String propFilename,
                                                                                     org.apache.wss4j.dom.handler.RequestData reqData)
                                                                              throws org.apache.wss4j.common.ext.WSSecurityException
        Overrides:
        loadCryptoFromPropertiesFile in class org.apache.wss4j.dom.handler.WSHandler
        Throws:
        org.apache.wss4j.common.ext.WSSecurityException