public interface AuthenticationService
Interface for the authentication service.
| Modifier and Type | Interface and Description |
|---|---|
static class |
AuthenticationService.Proxy |
| Modifier and Type | Method and Description |
|---|---|
void |
authenticate(javax.security.auth.Subject subject,
java.lang.String domain,
java.lang.String user,
java.lang.Object credentials)
Authenticates a user given its name and credentials.
|
void authenticate(javax.security.auth.Subject subject,
java.lang.String domain,
java.lang.String user,
java.lang.Object credentials)
throws java.security.GeneralSecurityException
Authenticates a user given its name and credentials. Upon sucessfull completion, the subject should be populated with the user known principals.
subject - the subject to populatedomain - the security domain to useuser - the user namecredentials - the user credntialsjava.security.GeneralSecurityException - if the user can not be authenticatedCopyright © 2005-2014 FuseSource. All Rights Reserved.