com.adventnet.adaptors.http
Class HttpAuthTable

java.lang.Object
  extended by com.adventnet.adaptors.http.HttpAuthTable

public class HttpAuthTable
extends java.lang.Object

Handles all requests under httpAuthTable group


Field Summary
protected  UpdateListener listener
           
(package private)  javax.management.MBeanServer server
           
 
Constructor Summary
HttpAuthTable()
          Handles all requests under httpAuthTable group
 
Method Summary
 void addUpdateListener(UpdateListener l)
           
 boolean authenticateUser(java.lang.String user, java.lang.String password)
          authenticates the user
 boolean getAuthorisation()
          Gets the Value associated with the Authentication.
 java.util.Hashtable getHashtable()
          To set the index column names of the table
 javax.jmx.openmbean.TabularData getHttpAuthTable()
           
 java.lang.String[] getIndexNames()
          To get the index column names of the table
 java.util.Vector getTableVector()
           
 void removeUpdateListener()
           
 void setAuthorisation(boolean flag)
          Sets the Value associated with the Authentication.
 void setHashtable(java.util.Hashtable table)
          To set the index column names of the table
 void setHttpAuthTable(javax.jmx.openmbean.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

javax.management.MBeanServer server

listener

protected UpdateListener listener
Constructor Detail

HttpAuthTable

public HttpAuthTable()
Handles all requests under httpAuthTable group

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)
To set the index column names of the table

Parameters:
Hashtable -

getHashtable

public java.util.Hashtable getHashtable()
To set the index column names of the table

Returns:
Hashtable

setTableVector

public void setTableVector(java.util.Vector vec)

getTableVector

public java.util.Vector getTableVector()

getHttpAuthTable

public javax.jmx.openmbean.TabularData getHttpAuthTable()

setHttpAuthTable

public void setHttpAuthTable(javax.jmx.openmbean.TabularData data)
                      throws java.lang.Exception
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:
String - username and password.
Returns:
boolean true if user is valid else false.

setAuthorisation

public void setAuthorisation(boolean flag)
Sets the Value associated with the Authentication.

Parameters:
boolean. -

getAuthorisation

public boolean getAuthorisation()
Gets the Value associated with the Authentication.

Returns:
boolean.