Programming applications for Derby user authentication
This section discusses programming user authentication into applications for use with
Derby
.
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.
Parent topic:
Working with user authentication
Related concepts
Using NATIVE authentication
Enabling user authentication
Defining users
External directory service
Related reference
List of user authentication properties