edu.mayo.bsi.ngsportal.server
Class AuthenticatorLdapImpl

java.lang.Object
  extended by 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

Constructor Summary
AuthenticatorLdapImpl()
           
 
Method Summary
 boolean authenticate(String lanID, String pass)
          Determines whether the specified LAN ID & password are valid.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticatorLdapImpl

public AuthenticatorLdapImpl()
Method Detail

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