Interface AuthorizationProvider

  • All Known Implementing Classes:
    NoAuthorizationProvider

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

      • createFactory

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