The derby.authentication.native.passwordLifetimeThreshold property specifies the threshold that triggers a connection-time warning that a password is about to expire.
The threshold must be a DOUBLE value greater than 0.0.
To avoid locking out the super-user, the password of the database owner of a credentials database never expires.
A warning is raised when a user logs in and the remaining lifetime of that user's password is less than this proportion of the maximum password lifetime. That is, Derby raises a warning when the remaining lifetime of a password is less than (derby.authentication.native.passwordLifetimeThreshold * derby.authentication.native.passwordLifetimeMillis).
To set the lifetime of the password, use the derby.authentication.native.passwordLifetimeMillis property.
derby.authentication.native.passwordLifetimeThreshold=proportion
0.125 (1/8).
-- system-wide property derby.authentication.native.passwordLifetimeThreshold=0.2 -- database-level property CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.authentication.native.passwordLifetimeThreshold', '0.2');
Static. For system-wide properties, you must reboot Derby for the change to take effect. For database-wide properties, you must reboot the database for the change to take effect.