Interface AuthenticationService
- 
- All Known Implementing Classes:
 AuthenticatorAuthenticationService
public interface AuthenticationServiceAsynchronous AM authentication service deliveringSsoToken. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Promise<SsoToken,AuthenticationException>authenticate(Context context, String username, SecretReference<GenericSecret> passwordRef)Authenticates a subject (identified with the givenusernameandpasswordRefcredentials), returning asynchronously an SSO token (if the authentication succeeded) or anAuthenticationExceptionon failures (I/O, invalid credentials, ...). 
 - 
 
- 
- 
Method Detail
- 
authenticate
Promise<SsoToken,AuthenticationException> authenticate(Context context, String username, SecretReference<GenericSecret> passwordRef)
Authenticates a subject (identified with the givenusernameandpasswordRefcredentials), returning asynchronously an SSO token (if the authentication succeeded) or anAuthenticationExceptionon failures (I/O, invalid credentials, ...).- Parameters:
 context- Service contextusername- subject's usernamepasswordRef- subject's credentials as aSecretReference- Returns:
 - a promise of an 
SsoToken 
 
 - 
 
 -