Class PolicyBasedWSS4JStaxInInterceptor

    • Constructor Detail

      • PolicyBasedWSS4JStaxInInterceptor

        public PolicyBasedWSS4JStaxInInterceptor()
    • Method Detail

      • configureProperties

        protected void configureProperties​(SoapMessage msg,
                                           org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
                                    throws org.apache.xml.security.exceptions.XMLSecurityException
        Overrides:
        configureProperties in class WSS4JStaxInInterceptor
        Throws:
        org.apache.xml.security.exceptions.XMLSecurityException
      • isNonceCacheRequired

        protected boolean isNonceCacheRequired​(SoapMessage msg,
                                               org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
        Is a Nonce Cache required, i.e. are we expecting a UsernameToken
        Overrides:
        isNonceCacheRequired in class WSS4JStaxInInterceptor
      • isTimestampCacheRequired

        protected boolean isTimestampCacheRequired​(SoapMessage msg,
                                                   org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
        Is a Timestamp cache required, i.e. are we expecting a Timestamp
        Overrides:
        isTimestampCacheRequired in class WSS4JStaxInInterceptor
      • isSamlCacheRequired

        protected boolean isSamlCacheRequired​(SoapMessage msg,
                                              org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
        Is a SAML Cache required, i.e. are we expecting a SAML Token
        Overrides:
        isSamlCacheRequired in class WSS4JStaxInInterceptor
      • configureSecurityEventListeners

        protected List<org.apache.xml.security.stax.securityEvent.SecurityEventListener> configureSecurityEventListeners​(SoapMessage msg,
                                                                                                                         org.apache.wss4j.stax.ext.WSSSecurityProperties securityProperties)
                                                                                                                  throws org.apache.wss4j.common.WSSPolicyException
        Overrides:
        configureSecurityEventListeners in class WSS4JStaxInInterceptor
        Throws:
        org.apache.wss4j.common.WSSPolicyException