Interface UserAuthenticationFactory


public interface UserAuthenticationFactory
Provides a user management specific implementation of the Authentication interface to those LoginModules that verify a given authentication request by evaluation information exposed by the Jackrabbit user management API.
  • Method Details

    • getAuthentication

      @Nullable @Nullable Authentication getAuthentication(@NotNull @NotNull UserConfiguration configuration, @NotNull @NotNull org.apache.jackrabbit.oak.api.Root root, @Nullable @Nullable String userId)
      Returns an implementation Authentication for the specified userId.
      Parameters:
      configuration - The user configuration.
      root - The Root that provides repository access.
      userId - The userId for which a user authentication is provided.
      Returns:
      The authentication object for the given configuration and userId or null if this implementation cannot not handle the specified parameters.