Class WsitPolicyResolver

  • All Implemented Interfaces:
    PolicyResolver

    public class WsitPolicyResolver
    extends Object
    implements PolicyResolver
    Load and process the WSIT configuration files. If they are not present, fall back to the JAX-WS default implementation.
    Author:
    Rama Pulavarthi, Fabian Ritzmann
    • Constructor Detail

      • WsitPolicyResolver

        public WsitPolicyResolver()
    • Method Detail

      • resolve

        public PolicyMap resolve​(PolicyResolver.ServerContext context)
                          throws jakarta.xml.ws.WebServiceException
        Description copied from interface: PolicyResolver
        Creates a PolicyResolver
        Specified by:
        resolve in interface PolicyResolver
        Parameters:
        context - ServerContext that captures information useful for resolving Policy on server-side
        Returns:
        A PolicyMap with single policy alternative that gets created after consulting various configuration models.
        Throws:
        jakarta.xml.ws.WebServiceException - If resolution failed
      • resolve

        public PolicyMap resolve​(PolicyResolver.ClientContext context)
        Description copied from interface: PolicyResolver
        Creates a PolicyResolver
        Specified by:
        resolve in interface PolicyResolver
        Parameters:
        context - ServerContext that captures information useful for resolving Policy on client-side
        Returns:
        A PolicyMap with single policy alternative that gets created after consulting various configuration models.