org.apache.servicemix.jbi.security.auth
Interface AuthenticationService
- All Known Implementing Classes:
- JAASAuthenticationService
public interface AuthenticationService
Interface for the authentication service.
authenticate
void authenticate(Subject subject,
String domain,
String user,
Object credentials)
throws GeneralSecurityException
- Authenticate a user given its name and credentials.
Upon sucessfull completion, the subject should be populated
with the user known principals.
- Parameters:
subject - the subject to populatedomain - the security domain to useuser - the user namecredentials - the user credntials
- Throws:
GeneralSecurityException - if the user can not be authenticated
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.