Interface Authenticator<C extends Credentials>
-
- All Known Implementing Classes:
AbstractProfileService
,InMemoryProfileService
,LocalCachingAuthenticator
public interface Authenticator<C extends Credentials>
An authenticator is responsible for validatingCredentials
and should throw aCredentialsException
if the authentication fails.- Since:
- 1.7.0
- Author:
- Jerome Leleu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
validate(C credentials, WebContext context)
Validate the credentials.
-
-
-
Method Detail
-
validate
void validate(C credentials, WebContext context)
Validate the credentials. It should throw aCredentialsException
in case of failure.- Parameters:
credentials
- the given credentialscontext
- the web context
-
-