com.adventnet.adaptors.html
Class HtmlAuthTable

java.lang.Object
  |
  +--com.adventnet.adaptors.html.HtmlAuthTable

public class HtmlAuthTable
extends java.lang.Object

Handles all requests under htmlAuthTable group


Field Summary
protected  UpdateListener listener
           
(package private)  MBeanServer server
           
 
Constructor Summary
HtmlAuthTable()
           
 
Method Summary
 void addUpdateListener(UpdateListener l)
           
 boolean authenticateUser(java.lang.String user, java.lang.String password)
          Authenticates the user
 boolean getAuthorisation()
           
 java.util.Hashtable getHashtable()
           
 TabularData getHtmlAuthTable()
           
 java.lang.String[] getIndexNames()
          To get the index column names of the table
 java.util.Vector getTableVector()
           
 boolean isAdminUser(java.lang.String user)
          Finds out whether the user is an Admin user
 void removeUpdateListener()
           
 void setAuthorisation(boolean flag)
           
 void setHashtable(java.util.Hashtable table)
           
 void setHtmlAuthTable(TabularData data)
           
 void setTableVector(java.util.Vector vec)
           
 void writeIntoFile()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

server

MBeanServer server

listener

protected UpdateListener listener
Constructor Detail

HtmlAuthTable

public HtmlAuthTable()
Method Detail

getIndexNames

public java.lang.String[] getIndexNames()
To get the index column names of the table

setHashtable

public void setHashtable(java.util.Hashtable table)

getHashtable

public java.util.Hashtable getHashtable()

setTableVector

public void setTableVector(java.util.Vector vec)

getTableVector

public java.util.Vector getTableVector()

getHtmlAuthTable

public TabularData getHtmlAuthTable()

setHtmlAuthTable

public void setHtmlAuthTable(TabularData data)
                      throws java.lang.Exception

addUpdateListener

public void addUpdateListener(UpdateListener l)

removeUpdateListener

public void removeUpdateListener()

writeIntoFile

public void writeIntoFile()

authenticateUser

public boolean authenticateUser(java.lang.String user,
                                java.lang.String password)
Authenticates the user
Parameters:
login - name of the user
password - of the user
Returns:
true if the user is valid else false

isAdminUser

public boolean isAdminUser(java.lang.String user)
Finds out whether the user is an Admin user
Parameters:
login - name of the user
Returns:
true if the user Type is Admin else false

setAuthorisation

public void setAuthorisation(boolean flag)

getAuthorisation

public boolean getAuthorisation()