| java.lang.Object com.sun.jbi.internal.security.auth.JaasAuthenticator
JaasAuthenticator | public class JaasAuthenticator implements Authenticator(Code) | | This class enforces user authentication.
author: Sun Microsystems, Inc. |
Method Summary | |
public boolean | authenticate(Subject subject, CallbackHandler handler) Authenticate a user and update the Subject with the authenticated
Identity. | public void | handle(Callback[] callbacks) The implementation on the CallbackHandlerInterface. | public void | initialize(UserDomain domain) Initialize the authenticator with the UserDomain. |
authenticate | public boolean authenticate(Subject subject, CallbackHandler handler)(Code) | | Authenticate a user and update the Subject with the authenticated
Identity. This authenticator uses the name of the User Domain as
the JAAS Context used for authentication.
Parameters: subject - is the Subject to be authneticated. If the passed Subject is null then the TLS is checked to see if there is a Subject set there, if not then a new Subject is created. Parameters: handler - is the CallbackHandler the authneticator can use forauthentication. The true if authentication succeeds, false otherwise. |
|
|