gov.bnl.gums.account
Class NISClient

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

public class NISClient
extends 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(String nisJndiUrl)
          Creates a new instance of NisClient
 
Method Summary
 String findAccount(String name, String surname)
          Find an account based on name and surname
 void printMaps(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(String nisJndiUrl)
Creates a new instance of NisClient

Parameters:
nisJndiUrl -
Method Detail

findAccount

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

Parameters:
name -
surname -
Returns:

printMaps

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

Parameters:
out -


Copyright © 2004-2009. All Rights Reserved.