Interface AuthenticationStrategy
-
public interface AuthenticationStrategy
Authenticate a user and create aSecurityContext
as a result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Single<org.forgerock.services.context.SecurityContext>
authenticate(String username, String password, org.forgerock.services.context.Context parentContext)
Authenticate a user.
-
-
-
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 createdSecurityContext
- Returns:
- A
Context
if the authentication succeed or anLdapException
otherwise.
-
-