Interface AuthenticationStrategy
-
public interface AuthenticationStrategyAuthenticate a user and create aSecurityContextas 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
Contextif the authentication succeed or anLdapExceptionotherwise.
-
-