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 Summary
Modifier and TypeMethodDescription@Nullable AuthenticationgetAuthentication(@NotNull UserConfiguration configuration, @NotNull org.apache.jackrabbit.oak.api.Root root, @Nullable String userId) Returns an implementationAuthenticationfor the specifieduserId.
-
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 implementationAuthenticationfor the specifieduserId.- Parameters:
configuration- The user configuration.root- TheRootthat provides repository access.userId- The userId for which a user authentication is provided.- Returns:
- The authentication object for the given
configurationanduserIdornullif this implementation cannot not handle the specified parameters.
-