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
| 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
HtmlAuthTable
public HtmlAuthTable()
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 userpassword - 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()