Interface WebServicesDelegate

  • All Superinterfaces:
    RegistrationWrapperRemover
    All Known Implementing Classes:
    WebServicesDelegateImpl

    @Contract
    public interface WebServicesDelegate
    extends RegistrationWrapperRemover
    A Delegate interface for handling WebServices specific security and JASPIC (JSR 196) providers.

    This insulates the Payara Web-Bundle from any WebServices dependencies. This interface is implemented in the web-services security project (webservices.security).

    Author:
    kumar.jayanti
    • Method Detail

      • getDefaultWebServicesProvider

        String getDefaultWebServicesProvider()
        This method returns the class name of the default JASPIC (JSR 196) WebServices security provider.

        In practice this typically the Metro Security Provider, which is "com.sun.xml.wss.provider.wsit.WSITAuthConfigProvider"

        Returns:
        the class name of the default JASPIC (JSR 196) WebServices security provider.
      • getAuthContextID

        String getAuthContextID​(jakarta.security.auth.message.MessageInfo messageInfo)
        Parameters:
        messageInfo - The MessageInfo
        Returns:
        the AuthContextID computed from the argument MessageInfo
      • newSOAPAuthParam

        AuthParam newSOAPAuthParam​(jakarta.security.auth.message.MessageInfo messageInfo)
        Parameters:
        messageInfo - TheMessageInfo
        Returns:
        a new instance of SOAPAuthParam
      • getSOAPMessage

        Object getSOAPMessage​(ComponentInvocation componentInvocation)
        Return the SOAP Message from the invocation, to be used by JACC PolicyContextHandler
        Parameters:
        componentInvocation - the invocation
        Returns:
        the SOAP Message