In this page is written:
Example 1 [...] It specifies the user and password URL attributes. You must set these attributes before attempting to connect to the server.
The problem is that it is not written in this guide how and where to set these attributes. There are informations about the attributes derby.connection.requireAuthentication, derby.authentication.provider and derby.user in many places in Derby manuals, but I couldn't find an example showing these attributes together.
These reasons made me decide to submit an improvement to this page adding a sample derby.properties file that conforms to the examples shown, that would be:
Most of the introductory text of the improved page was copied from "Enabling user authentication" in Derby Developer's Guide, but I think it should be repeated in this guide.