|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.esupportail.cas.server.util.log.Debug
org.esupportail.cas.server.util.Server
org.esupportail.cas.server.handlers.nt.NtServer
public final class NtServer
This class implements a NIS (Network Information Service) server.
| Field Summary | |
|---|---|
private java.lang.String |
host
The server hostname or IP address. |
| Fields inherited from class org.esupportail.cas.server.util.Server |
|---|
AUTHENTICATE_FAILURE, AUTHENTICATE_NOAUTH, AUTHENTICATE_SUCCESS, CONNECT_FAILURE, CONNECT_NOAUTH, CONNECT_SUCCESS |
| Constructor Summary | |
|---|---|
NtServer(java.lang.Boolean handlerDebug,
RedundantHandler handler,
org.dom4j.Element serverElement)
Constructor. |
|
| Method Summary | |
|---|---|
int |
authenticate(java.lang.String username,
java.lang.String password)
Try to authenticate a user (by searching into a NT domain). |
| Methods inherited from class org.esupportail.cas.server.util.Server |
|---|
getConnectError, getHandler, getServerSubElementContent, setConnectError |
| Methods inherited from class org.esupportail.cas.server.util.log.Debug |
|---|
checkClass, elementDebugValue, isDebug, setDebug, trace, trace, traceBegin, traceEnd, traceEnd, traceEnd, traceThrow |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.String host
| Constructor Detail |
|---|
public NtServer(java.lang.Boolean handlerDebug,
RedundantHandler handler,
org.dom4j.Element serverElement)
throws java.lang.Exception
handlerDebug - debugging mode of the handlerhandler - the handler the server will be used byserverElement - the XML element that declares the server
java.lang.Exception - Exception| Method Detail |
|---|
public int authenticate(java.lang.String username,
java.lang.String password)
authenticate in class Serverusername - the user's namepassword - the user's password
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||