org.apache.servicemix.jbi.security.auth.impl
Class JAASAuthenticationService
java.lang.Object
org.apache.servicemix.jbi.security.auth.impl.JAASAuthenticationService
- All Implemented Interfaces:
- AuthenticationService
public class JAASAuthenticationService
- extends Object
- implements AuthenticationService
Implementation of the authentication service using JAAS.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAASAuthenticationService
public JAASAuthenticationService()
authenticate
public void authenticate(Subject subject,
String domain,
String user,
Object credentials)
throws GeneralSecurityException
- Description copied from interface:
AuthenticationService
- Authenticate a user given its name and credentials.
Upon sucessfull completion, the subject should be populated
with the user known principals.
- Specified by:
authenticate in interface AuthenticationService
- 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.