org.mycore.user.authentication
Class MCRSLNPAuthenticator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MCRSLNPAuthenticator
public MCRSLNPAuthenticator()
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