Class AbstractWSS4JInterceptor

  • All Implemented Interfaces:
    org.apache.cxf.binding.soap.interceptor.SoapInterceptor, Interceptor<org.apache.cxf.binding.soap.SoapMessage>, PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
    Direct Known Subclasses:
    WSS4JInInterceptor, WSS4JOutInterceptor

    public abstract class AbstractWSS4JInterceptor
    extends WSHandler
    implements org.apache.cxf.binding.soap.interceptor.SoapInterceptor, PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
    • Constructor Detail

      • AbstractWSS4JInterceptor

        public AbstractWSS4JInterceptor()
    • Method Detail

      • getRoles

        public Set<URI> getRoles()
        Specified by:
        getRoles in interface org.apache.cxf.binding.soap.interceptor.SoapInterceptor
      • handleFault

        public void handleFault​(org.apache.cxf.binding.soap.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<org.apache.cxf.binding.soap.SoapMessage>
      • postHandleMessage

        public void postHandleMessage​(org.apache.cxf.binding.soap.SoapMessage message)
                               throws Fault
        Throws:
        Fault
      • getPhase

        public String getPhase()
        Description copied from interface: PhaseInterceptor
        Returns the phase in which this interceptor is excecuted.
        Specified by:
        getPhase in interface PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
        Returns:
        the phase
      • setPhase

        public void setPhase​(String phase)
      • setProperty

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

        public String getId()
        Description copied from interface: PhaseInterceptor
        Returns the ID of this interceptor.
        Specified by:
        getId in interface PhaseInterceptor<org.apache.cxf.binding.soap.SoapMessage>
        Returns:
        the ID
      • setId

        public void setId​(String id)
      • getUnderstoodHeaders

        public Set<QName> getUnderstoodHeaders()
        Specified by:
        getUnderstoodHeaders in interface org.apache.cxf.binding.soap.interceptor.SoapInterceptor
      • 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<org.apache.cxf.binding.soap.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<org.apache.cxf.binding.soap.SoapMessage>
        Returns:
        the ids of the interceptors
      • isRequestor

        protected boolean isRequestor​(org.apache.cxf.binding.soap.SoapMessage message)
      • translateProperties

        protected void translateProperties​(org.apache.cxf.binding.soap.SoapMessage msg)