Interface Authenticator
-
- All Known Implementing Classes:
BasicAuthenticator
,CertClientAuthenticator
public interface Authenticator
Interface to authenticate users.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Authentication
authenticate(Principal principal, Credentials credentials)
Authenticates the current user for the specified principal and credentials.
-
-
-
Method Detail
-
authenticate
Authentication authenticate(Principal principal, Credentials credentials)
Authenticates the current user for the specified principal and credentials.- Parameters:
principal
- thePrincipal
of the user to authenticate.credentials
- theCredentials
of the user to authenticate.- Returns:
- the
Authentication
instance.
-
-