Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1804

The exception information is error when judge password for RangerKeyStoreProvider class

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0
    • Ranger
    • None
    • Patch

    Description

      The exception information is error when judge password for RangerKeyStoreProvider class
      I think it should throw the password is error instead of throw master key not exists.

      String password = conf.get(ENCRYPTION_KEY);
      		if(password == null || password.trim().equals("") || password.trim().equals("_") || password.trim().equals("crypted")){
      			throw new IOException("Master Key Jceks does not exists");
      		}
      

      Attachments

        Activity

          People

            wangyuan Yuan Wang
            wangyuan Yuan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: