com.adventnet.adaptors.html
Interface HtmlAuthMBean

All Known Implementing Classes:
HtmlAuth

public interface HtmlAuthMBean


Method Summary
 void addUser(java.lang.String user, java.lang.String passwd, int type)
          Adds a new user to the userInfoVec
 void deleteUser(java.lang.String user)
          Deletes the user from UserInfoVec
 boolean getAuthorisation()
          Returns the whether authorisation is enabled or not
 java.lang.String[] getUserNames()
          Returns all the users in the UserInfoVec
 boolean isAdminUser(java.lang.String user)
          Finds out whether the user is an Admin user
 boolean isValidUser(java.lang.String user, java.lang.String password)
          Authenticates the user
 void modifyUser(java.lang.String user, java.lang.String passwd, int type)
          Modifes the user info
 void setAuthorisation(boolean flag)
          sets the authorisation
 

Method Detail

getUserNames

java.lang.String[] getUserNames()
Returns all the users in the UserInfoVec


isValidUser

boolean isValidUser(java.lang.String user,
                    java.lang.String password)
Authenticates the user


isAdminUser

boolean isAdminUser(java.lang.String user)
Finds out whether the user is an Admin user


addUser

void addUser(java.lang.String user,
             java.lang.String passwd,
             int type)
Adds a new user to the userInfoVec


deleteUser

void deleteUser(java.lang.String user)
Deletes the user from UserInfoVec


modifyUser

void modifyUser(java.lang.String user,
                java.lang.String passwd,
                int type)
Modifes the user info


setAuthorisation

void setAuthorisation(boolean flag)
sets the authorisation


getAuthorisation

boolean getAuthorisation()
Returns the whether authorisation is enabled or not