Interface AuthenticationService
- All Known Implementing Classes:
- AuthenticatorAuthenticationService
public interface AuthenticationService
Asynchronous AM authentication service delivering 
SsoToken.- 
Method SummaryModifier and TypeMethodDescriptionauthenticate(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 Details- 
authenticatePromise<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 context
- username- subject's username
- passwordRef- subject's credentials as a- SecretReference
- Returns:
- a promise of an SsoToken
 
 
-