com.adventnet.agent.tl1.security
Class UserSecurityHandler

java.lang.Object
  |
  +--com.adventnet.agent.tl1.security.UserSecurityHandler

public class UserSecurityHandler
extends java.lang.Object

This class is used to read the text file which contains user view security infornmations and create TL1UserSecurity object for every entry in the file.


Constructor Summary
UserSecurityHandler(java.lang.String fileName)
          Constructor for creating UserSecurityHandler.
 
Method Summary
 java.util.Hashtable getUserViewTable()
          Returns the Hashtable of User security informations as TL1UserSecurity objects.
static void writeIntoFile(java.util.Enumeration enumerator)
          This method takes the elements from the Enumeration and writes the contents in the text file.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserSecurityHandler

public UserSecurityHandler(java.lang.String fileName)
Constructor for creating UserSecurityHandler.
Parameters:
fileName - - The path of the text file having the User view security informations.
Method Detail

getUserViewTable

public java.util.Hashtable getUserViewTable()
Returns the Hashtable of User security informations as TL1UserSecurity objects.

writeIntoFile

public static void writeIntoFile(java.util.Enumeration enumerator)
This method takes the elements from the Enumeration and writes the contents in the text file.