Interface AuthenticationStrategy


  • public interface AuthenticationStrategy
    Authenticate a user and create a SecurityContext as a result.
    • Method Detail

      • authenticate

        Single<org.forgerock.services.context.SecurityContext> authenticate​(String username,
                                                                            String password,
                                                                            org.forgerock.services.context.Context parentContext)
        Authenticate a user.
        Parameters:
        username - User to authenticate.
        password - Password used to perform the authentication.
        parentContext - Context to use as parent for the created SecurityContext
        Returns:
        A Context if the authentication succeed or an LdapException otherwise.