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 the user=userName and password=userPassword connection URL attributes.

jdbc:derby:sample;user=jill;password=toFetchAPail
Related concepts
Working with user authentication
Related tasks
Creating and accessing a database
Related reference
Using the databaseName attribute