Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-5647

NATIVE warns about password expiry for DBO

    Details

      Description

      The DBO's password cannot expire. Still, NATIVE warns that the password is about to expire.

      ij> connect 'jdbc:derby:authdb;create=true;user=admin';
      ij> call syscs_util.syscs_set_database_property('derby.authentication.native.passwordLifetimeMillis', '100');
      0 rows inserted/updated/deleted
      ij> call syscs_util.syscs_create_user('ADMIN', '%*$');
      0 rows inserted/updated/deleted
      ij> call syscs_util.syscs_set_database_property('derby.authentication.provider', 'NATIVE::LOCAL');
      0 rows inserted/updated/deleted
      ij> connect 'jdbc:derby:authdb;shutdown=true';
      ERROR 08006: Database 'authdb' shutdown.
      ij> connect 'jdbc:derby:authdb;user=admin;password=%*$';
      WARNING 01J15: Your password will expire in 0 day(s). Please use the SYSCS_UTIL.SYSCS_MODIFY_PASSWORD procedure to change your password.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rhillegas Rick Hillegas
                Reporter:
                knutanders Knut Anders Hatlen
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: