The derby.authentication.native.passwordLifetimeMillis property specifies the number of milliseconds a NATIVE authentication password remains valid after being created, reset, or modified.
If the value is less than or equal to zero, the password never expires.
To avoid locking out the super-user, the password of the database owner of a credentials database never expires.
If a connection attempt is made when the password's remaining lifetime is less than a proportion of the maximum lifetime, a warning is issued. The proportion is specified by the derby.authentication.native.passwordLifetimeThreshold property.
derby.authentication.native.passwordLifetimeMillis=millis
A number of milliseconds equal to 31 days (2,678,400,000).
-- system-wide property derby.authentication.native.passwordLifetimeMillis=5356800000 -- database-level property CALL SYSCS_UTIL.SYSCS_SET_DATABASE_PROPERTY( 'derby.authentication.native.passwordLifetimeMillis', '5356800000');
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.