public interface AuthenticationStrategy
SecurityContext as a result.| Modifier and Type | Method and Description |
|---|---|
org.forgerock.util.promise.Promise<org.forgerock.services.context.SecurityContext,org.forgerock.opendj.ldap.LdapException> |
authenticate(String username,
String password,
org.forgerock.services.context.Context parentContext)
Authenticate a user.
|
org.forgerock.util.promise.Promise<org.forgerock.services.context.SecurityContext,org.forgerock.opendj.ldap.LdapException> authenticate(String username, String password, org.forgerock.services.context.Context parentContext)
username - User to authenticate.password - Password used to perform the authentication.parentContext - Context to use as parent for the created SecurityContextContext if the authentication succeed or an LdapException otherwise.Copyright © 2017-2020 Wren Security. All Rights Reserved.