Interface NetworkAuthenticatorConnector

  • All Superinterfaces:
    Connector
    All Known Implementing Classes:
    WSConnector

    public interface NetworkAuthenticatorConnector
    extends Connector
    Enhanced Connector which provides a factory method to create an optional NetworkAuthenticator instance. Connector developers can implement this instead of the base Connector interface if they require an authenticator.
    • Method Detail

      • createAuthenticator

        NetworkAuthenticator createAuthenticator​(BrowseContext context)
        Factory method to create a new NetworkAuthenticator instance based on the current BrowseContext. Implementing classes may return null if no network authentication is necessary. Non-null instances returned by this factory will be used to obtain authentication for a network connection.
        Parameters:
        context - BrowserContext with connection and operation configuration
        Returns:
        new NetworkAuthenticator instance, null if this feature is not currently used for specific connection settings