Defining users

Derby provides several ways to define the repository of users and passwords. To specify which of these services to use with your Derby system, set the property derby.authentication.provider to an appropriate value.

Setting the property as a system-wide property creates system-wide users. Setting the property as a database-wide property creates users for a single database only.

Note: Shutting down the Derby system (for example, using the shutdown=true form of the connection URL without specifying a particular database) when user authentication is turned on requires that you define at least one user as a system-wide user.
Related concepts
Using NATIVE authentication
Enabling user authentication
External directory service
Programming applications for Derby user authentication
User-defined class
Related reference
List of user authentication properties