org.esupportail.cas.server.handlers.nis
Class NisHandler

java.lang.Object
  extended by org.esupportail.cas.server.util.log.Debug
      extended by org.esupportail.cas.server.util.BasicHandler
          extended by org.esupportail.cas.server.util.RedundantHandler
              extended by org.esupportail.cas.server.handlers.nis.NisHandler

public final class NisHandler
extends RedundantHandler

This class implements a NIS (Network Information Service) handler class. It is used by GenericHandler.

Author:
Pascal Aubry , Jean-Baptiste Daniel

Field Summary
private  java.lang.String domain
          The NIS domain to bind to.
private  java.lang.String encryption
          The encryption used to store the passwords.
private  java.lang.String map
          The map to search into.
 
Fields inherited from class org.esupportail.cas.server.util.BasicHandler
FAILED_CONTINUE, FAILED_STOP, SUCCEEDED
 
Constructor Summary
NisHandler(org.dom4j.Element handlerElement, java.lang.Boolean configDebug)
          Constructor.
 
Method Summary
(package private)  java.lang.String getDomain()
          Retrieve the NIS domain name.
(package private)  java.lang.String getEncryption()
          Retrieve the encryption used to store passwords.
(package private)  java.lang.String getMap()
          Retrieve the map name.
 
Methods inherited from class org.esupportail.cas.server.util.RedundantHandler
addServers, authenticate, getServers
 
Methods inherited from class org.esupportail.cas.server.util.BasicHandler
checkConfigElement, getConfigElement, getConfigSubElementContent, hasConfigSubElement
 
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

domain

private java.lang.String domain
The NIS domain to bind to.


encryption

private java.lang.String encryption
The encryption used to store the passwords.


map

private java.lang.String map
The map to search into.

Constructor Detail

NisHandler

public NisHandler(org.dom4j.Element handlerElement,
                  java.lang.Boolean configDebug)
           throws java.lang.Exception
Constructor.

Parameters:
handlerElement - the XML element that declares the handler in the configuration file
configDebug - debugging mode of the global configuration
Throws:
java.lang.Exception - Exception
Method Detail

getDomain

java.lang.String getDomain()
Retrieve the NIS domain name.

Returns:
a String Object.

getEncryption

java.lang.String getEncryption()
Retrieve the encryption used to store passwords.

Returns:
a String Object.

getMap

java.lang.String getMap()
Retrieve the map name.

Returns:
a String Object.