Providing a user name and password

When user authentication is enabled, an application must provide a user name and password. One way to do this is to use connection URL attributes (see user=userName and password=userPassword).

jdbc:derby:sample;user=jill;password=toFetchAPail

For more information, see Working with user authentication.

Related tasks
Shutting down Derby or an individual database
Creating and accessing a database
Encrypting a database when you create it
Booting an encrypted database
Specifying attributes in a properties object
Related reference
Using the databaseName attribute