To specify the default access mode for the database, use the derby.database.defaultConnectionMode property. You can set the property to the following values:
Derby validates the authorization configuration properties when users set them. It raises an exception if a user attempts to set the properties to invalid values (see User authorization exceptions).