Class AbstractPolicyInterceptorProvider

    • Constructor Detail

      • AbstractPolicyInterceptorProvider

        public AbstractPolicyInterceptorProvider​(QName type)
      • AbstractPolicyInterceptorProvider

        public AbstractPolicyInterceptorProvider​(Collection<QName> at)
    • Method Detail

      • configurationPresent

        public boolean configurationPresent​(org.apache.cxf.message.Message msg,
                                            org.apache.neethi.Assertion assertion)
        Description copied from interface: PolicyInterceptorProvider
        Return false if the message does not contain enough contextual configuration to preemtively support the given assertion. Otherwise, return true. If false, the PolicyEngine.supportsAlternative method will not select this policy and will attempt a different alternative. Example: If the context does not contain login information, an assertion that requires it could return false to allow the Alternative selection algorithms to try a different alternative.
        Specified by:
        configurationPresent in interface PolicyInterceptorProvider
        Parameters:
        msg - The contextual message, may be null if no message is in context at this point
        Returns: