Class WSS4JStaxInInterceptor

    • Field Detail

      • SECURITY_PROCESSED

        public static final String SECURITY_PROCESSED
    • Constructor Detail

      • WSS4JStaxInInterceptor

        public WSS4JStaxInInterceptor​(Map<String,​Object> props)
      • WSS4JStaxInInterceptor

        public WSS4JStaxInInterceptor()
    • Method Detail

      • isGET

        public final boolean isGET​(org.apache.cxf.binding.soap.SoapMessage message)
      • handleMessage

        public void handleMessage​(org.apache.cxf.binding.soap.SoapMessage soapMessage)
                           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
      • configureProperties

        protected void configureProperties​(org.apache.cxf.binding.soap.SoapMessage msg,
                                           WSSSecurityProperties securityProperties)
                                    throws org.apache.xml.security.exceptions.XMLSecurityException
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException
      • isNonceCacheRequired

        protected boolean isNonceCacheRequired​(org.apache.cxf.binding.soap.SoapMessage msg,
                                               WSSSecurityProperties securityProperties)
        Is a Nonce Cache required, i.e. are we expecting a UsernameToken
      • isTimestampCacheRequired

        protected boolean isTimestampCacheRequired​(org.apache.cxf.binding.soap.SoapMessage msg,
                                                   WSSSecurityProperties securityProperties)
        Is a Timestamp cache required, i.e. are we expecting a Timestamp
      • isSamlCacheRequired

        protected boolean isSamlCacheRequired​(org.apache.cxf.binding.soap.SoapMessage msg,
                                              WSSSecurityProperties securityProperties)
        Is a SAML Cache required, i.e. are we expecting a SAML Token