public interface AuthenticationManager extends Action
AuthenticationContext
object as the InvokationContext.getClientContext()
.
Use AuthenticationContext.getLoginRequest()
to get information about the login
and password used for logging in.Modifier and Type | Method and Description |
---|---|
AuthenticatedUser |
authenticate()
Try to authenticate a user given the login information passed to
the factory in the
AuthenticationContext . |
AuthenticatedUser authenticate()
AuthenticationContext
. There are three
outcomes from this method:
AuthenticationInformation
object should
be returned with at least the external id of the user.
AuthenticationException
(or a
subclass) should be thrown
A
- AuthenticationException
if the user was not authenticated