HP Driver for JDBC User's Manual
Chapter 4 41
Using the HP Driver for JDBC
MPE/iX Userid and Password
MPE/iX Userid and Password
The MPE/iX operating system supports user names, account names,
group names, and session names. There are also user passwords,
account passwords, and group passwords. Various combinations of
these names and passwords are supported by the MPE/iX JDBC
Monitor for user validation. The format for the MPE/iX userid is:
[sessionname,]username.accountname[,groupname]
The group and session names are optional. The format for the MPE/iX
password is:
userpass.accountpass[.grouppass]
If a group name was specified in the userid and there is a group
password, the group password must also be specified in the password
parameter.
In a simple example, a user with an MPE/iX user name of “user1” and
an account name of “acct1”, with the respective passwords of “upass1”
and “apass1” would use the method call:
java.sql.DriverManager.getConnection(
“jdbc:allbase://host/dbname”,
“user1.acct1”,
“upass1.apass1”);
In a more complicated example, a user with an MPE/iX user name of
“user1”, account name of “acct1”, group name of “group1”, session
name of “sess1” with the respective passwords of “upass1”, “apass1”,
and “gpass1” would use the method call:
java.sql.DriverManager.getConnection(
“jdbc:allbase://host/dbname”,
“sess1,user1.acct1,group1”,
“upass1.apass1.gpass1”);