Programming applications for Derby user authentication
This section discusses programming user authentication into applications for use with
Programming the application to provide the user and password
In the DriverManager.getConnection call, an application can provide the user name and password in the following ways.
Login failure exceptions with user authentication
If user authentication is turned on and a valid user name and password are not provided, SQLException 08004 is raised.
Working with user authentication
Enabling user authentication
External directory service
Built-in Derby users
List of user authentication properties