Interface UserAuthenticationFactory

    • Method Detail

      • getAuthentication

        @Nullable
        @Nullable Authentication getAuthentication​(@NotNull
                                                   @NotNull UserConfiguration configuration,
                                                   @NotNull
                                                   @NotNull Root root,
                                                   @Nullable
                                                   @Nullable java.lang.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.