User Authentication

By default, there is no user authentication within Apache Derby. In some cases, this can cause a problem, especially when accessing Apache Derby from a remote client. The client that is used to communicate with the database requires the specification of a user ID and password as part of the connection. In this case, any user ID and password is acceptable to the database.

Apache Derby provides support for user authentication so that the user's name and password are authenticated before the user is allowed to access the system. When user authentication is enabled, the user requesting a connection must provide a valid name and password, which Apache Derby verifies against the repository of users defined on the system. Once the ...

Get Apache Derby—Off to the Races: Includes Details of IBM® Cloudscape™ now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.