gov.bnl.gums.account
Class NISClient

java.lang.Object
  extended by gov.bnl.gums.account.NISClient

public class NISClient
extends java.lang.Object

Retrieves the map from the NIS server and provide a logic to match name and surname to an account.

Author:
Gabriele Carcassi, Jay Packard

Constructor Summary
NISClient(java.lang.String nisJndiUrl)
          Creates a new instance of NisClient
 
Method Summary
 java.lang.String findAccount(java.lang.String name, java.lang.String surname)
          Find an account based on name and surname
 void printMaps(java.io.PrintStream out)
          Creates a new instance of NisClient
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NISClient

public NISClient(java.lang.String nisJndiUrl)
Creates a new instance of NisClient

Parameters:
nisJndiUrl -
Method Detail

findAccount

public java.lang.String findAccount(java.lang.String name,
                                    java.lang.String surname)
Find an account based on name and surname

Parameters:
name -
surname -
Returns:

printMaps

public void printMaps(java.io.PrintStream out)
Creates a new instance of NisClient

Parameters:
out -


Copyright © 2004-2008. All Rights Reserved.