ranger-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Colm O hEigeartaigh (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (RANGER-1804) The exception information is error when judge password for RangerKeyStoreProvider class
Date Tue, 26 Sep 2017 11:02:00 GMT

     [ https://issues.apache.org/jira/browse/RANGER-1804?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Colm O hEigeartaigh resolved RANGER-1804.
-----------------------------------------
    Resolution: Fixed

> The exception information is error when judge password for RangerKeyStoreProvider class
> ---------------------------------------------------------------------------------------
>
>                 Key: RANGER-1804
>                 URL: https://issues.apache.org/jira/browse/RANGER-1804
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>            Reporter: WangYuan
>            Assignee: WangYuan
>            Priority: Minor
>             Fix For: 1.0.0
>
>         Attachments: 0001-RANGER-1804-The-exception-information-is-error-when-.patch
>
>
> 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.
> {code}
> 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");
> 		}
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message