# 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

Parent topic: Working with the database connection URL attributes
Related tasks
Creating and accessing a database
Related reference
Using the databaseName attribute