|
SL-GMS Enterprise RTView Customization | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.sl.gmsjrtview.GmsCustomUserManager
public class GmsCustomUserManager
The GmsCustomUserManager class provides a way for the user to customize user login.
| Constructor Summary | |
|---|---|
GmsCustomUserManager()
Creates a GmsCustomRoleManager. |
|
| Method Summary | |
|---|---|
boolean |
activate()
This method is called after the constructor. |
void |
clientLogin(java.lang.String userName,
java.lang.String role,
java.lang.String sessionID)
In the display server and data server applications, this method is invoked when a client user logs in. |
void |
clientLogout(java.lang.String userName,
java.lang.String role,
java.lang.String sessionID)
In the display server and data server applications, this method is invoked when a client user logs out. |
java.lang.String |
getPassword(java.lang.String userName)
This method must return the password for the specified user, or null if if the user is not recognized. |
java.util.Vector |
getRoleNamesForUser(java.lang.String userName)
This method must return a Vector containing the role names for the specified user. |
java.util.Vector[] |
getSubstitutions(java.lang.String userName)
This method should return substitutions to set on the Enterprise RTView application when the specified user is logged in. |
void |
invalidateLogin()
This method is called if the user presses Reset in the login dialog. |
boolean |
userHasMultipleRoles(java.lang.String userName)
This method must return true if the specified user has multiple roles, otherwise false. |
boolean |
validateClientCredentials(java.lang.String userName,
java.lang.String password)
This method is called from server applications to validate the userName and password provided by a client application. |
boolean |
validateLogin(java.lang.String userName,
java.lang.String password)
This method is called from the login dialog to validate the userName and password. |
protected int |
validateLoginOnDefaultDataServer(java.lang.String userName,
java.lang.String password,
java.util.Vector rolesReturn)
Call this method to validate a login on the default data server. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GmsCustomUserManager()
| Method Detail |
|---|
public boolean activate()
public void clientLogin(java.lang.String userName,
java.lang.String role,
java.lang.String sessionID)
public void clientLogout(java.lang.String userName,
java.lang.String role,
java.lang.String sessionID)
public java.lang.String getPassword(java.lang.String userName)
userName - the user to return the password forpublic java.util.Vector getRoleNamesForUser(java.lang.String userName)
userName - the name of the userpublic java.util.Vector[] getSubstitutions(java.lang.String userName)
userName - the user to return substitutions forpublic void invalidateLogin()
public boolean userHasMultipleRoles(java.lang.String userName)
userName - the name of the user
public boolean validateClientCredentials(java.lang.String userName,
java.lang.String password)
this.validateLogin(userName, password) and returns the result.
userName - the name of the user to validatepassword - the password to validate
public boolean validateLogin(java.lang.String userName,
java.lang.String password)
userName - the name of the user to validatepassword - the password to validate
protected int validateLoginOnDefaultDataServer(java.lang.String userName,
java.lang.String password,
java.util.Vector rolesReturn)
userName - the name of the user to validatepassword - the password to validaterolesReturn - if the credentials are successfully validated by the server,
the roles for
|
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||