com.adventnet.adaptors.http
Class HttpAuthTable
java.lang.Object
|
+--com.adventnet.adaptors.http.HttpAuthTable
- public class HttpAuthTable
- extends java.lang.Object
Handles all requests under
httpAuthTable group
|
Constructor Summary |
HttpAuthTable()
Handles all requests under
httpAuthTable group |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
server
MBeanServer server
listener
protected UpdateListener listener
HttpAuthTable
public HttpAuthTable()
- Handles all requests under
httpAuthTable group
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 TabularData getHttpAuthTable()
setHttpAuthTable
public void setHttpAuthTable(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:
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.