setCredentials()
Set database username and password. Do this by calling setAuth
method of the base class*.
Syntax
public void setCredentials(String user, String password)
{
setAuth(user, password);
}
Request Parameters
Parameter | Type | Description |
---|---|---|
user | String | Username associated with the database. |
password | String | Password corresponding to the database username. |
Note
The base class, com.safenet.token.tvm.TVM
, includes the following method:
void setAuth (String user, String password)
- Used to save database username and password into the TVM object.