Interface AuthenticationProvider

  • All Known Implementing Classes:
    NoAuthenticationProvider

    public interface AuthenticationProvider
    A factory loader class for AuthenticationFactory. Implementations of this interface are usually obtained through Java's ServiceLoader mechanism.
    • Method Detail

      • createFactory

        AuthenticationFactory createFactory​(java.lang.String plugin,
                                            java.util.Properties properties)
                                     throws java.lang.Exception
        Creates and returns a new AuthenticationFactory.
        Parameters:
        plugin - name identifying a particular type of AuthenticationFactory
        properties - configuration values
        Returns:
        AuthenticationFactory instance or null if the provider does not provide a matching AuthenticationFactory
        Throws:
        java.lang.Exception