User guide

If the server
restrictAccess
property is false or not specified or if no
allowDatabase
subsection is specified for the server then no database restrictions will be applied.
Example 1
For example given the above server description of a server running on the node bravo :
Connection conn = DriverManager.getConnection(
"jdbc:rdbThin://bravo:1701/mf_pers",user, pass);
will be allowed.
Example 2
Connection conn = DriverManager.getConnection(
"jdbc:rdbThin://bravo:1701/MF_Pers",user, pass);
will be allowed because character case in the database specification is not significant.
Example 3
Connection conn = DriverManager.getConnection(
"jdbc:rdbThin://bravo:1701/disk1:[databases]customers",user, pass);
will be allowed.
Example 4
Connection conn = DriverManager.getConnection(
"jdbc:rdbThin://bravo:1701/disk1:[databases]customers.rdb",user,
pass);
will NOT be allowed due to the extra
".rdb"
.
Example 5
Connection conn = DriverManager.getConnection(
"jdbc:rdbThin://bravo:1701/cust ",user, pass);
will NOT be allowed even though cust may be a logical name that translates to
disk1:[databases]customers
8.16.2 Restricting User Access
When using a thin server, Rdb authorization checking is carried out during the connection to
the database. Rdb will check the username and password provided to determine the
authorization access for the given user.
In addition you may further restrict which users may use the server by setting the
restrictAccess
property for the server in the configuration file and then providing a list of
usernames that will be allowed using
allowUser
subsections.
127