User guide

Chapter 8
Other Features
8.1 Anonymous Usernames
By default, the thin driver disallows blank usernames to be passed to it during database
connection. A valid username for that database must be used. If the client attempts to connect
to the database using a blank username the following exception will be raised:
rdb.RdbException: Io exception : Io exception :
in <rdbjdbcsrv:connect>
%RDB-E-AUTH_FAIL, authentication failed for user .Anonymous.
The following server configuration option can be used to change this behavior:
anonymous
Use this option tells to allow anonymous connections (that is, where the username is blank)
to the Oracle JDBC for Rdb thin server, for example:
$ java -jar rdbthinsrv.jar -anonymous
In addition, if anonymous connections are allowed, you can specify the default username and
password to use on an anonymous connection by using the following options:
username <username>
password <password>
Example
For example:
$ java -jar rdbthinsrv.jar -anonymous –
-username fred -password "jones"
8.2 BYPASS Privilege
Privilege checking on Oracle Rdb uses the layered method. Sometimes it is not obvious how
privilege checking obtains its results.
108