edu.mayo.bsi.ngsportal.server
Class AuthenticatorLdapImpl
java.lang.Object
edu.mayo.bsi.ngsportal.server.AuthenticatorLdapImpl
- All Implemented Interfaces:
- Authenticator
public class AuthenticatorLdapImpl
- extends Object
- implements Authenticator
Adapter between interface Authenticator and the mayo-commons-directory
LdapWrapper implementation.
- Author:
- duffp
|
Method Summary |
boolean |
authenticate(String lanID,
String pass)
Determines whether the specified LAN ID & password are valid. |
AuthenticatorLdapImpl
public AuthenticatorLdapImpl()
authenticate
public boolean authenticate(String lanID,
String pass)
throws NamingException
- Description copied from interface:
Authenticator
- Determines whether the specified LAN ID & password are valid.
- Specified by:
authenticate in interface Authenticator
- Parameters:
lanID - User's LAN ID.pass - User's LAN password.
- Returns:
- true if authentication is successful, false otherwise.
- Throws:
NamingException