org.mycore.user.authentication
Class MCRSLNPAuthenticator

java.lang.Object
  extended by org.mycore.user.authentication.MCRSLNPAuthenticator

public class MCRSLNPAuthenticator
extends Object

Authenticates a user by checking the password against a university library server supporting the Simple Library Network Protocol (SLNP), for example ALEPH and SISIS systems. Configuration properties are: MCR.UserAuthenticator.[ID].Host the host name of the SLNP server MCR.UserAuthenticator.[ID].Port the SLNP port


Constructor Summary
MCRSLNPAuthenticator()
           
 
Method Summary
 boolean authenticate(String username, String password)
           
 void init(String ID)
           
static void main(String[] args)
          A small test application, modify source code to test class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MCRSLNPAuthenticator

public MCRSLNPAuthenticator()
Method Detail

init

public void init(String ID)

authenticate

public boolean authenticate(String username,
                            String password)

main

public static void main(String[] args)
                 throws Exception
A small test application, modify source code to test class

Throws:
Exception