You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Bhavik Patel (Jira)" <ji...@apache.org> on 2022/03/23 15:04:00 UTC
[jira] [Comment Edited] (RANGER-3678) Update password validation criteria
[ https://issues.apache.org/jira/browse/RANGER-3678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17511162#comment-17511162 ]
Bhavik Patel edited comment on RANGER-3678 at 3/23/22, 3:03 PM:
----------------------------------------------------------------
[~kirbyzhou] how about this one:
{code:java}
if (Character.isDigit(ch)) {
hasNum = true;
} else if (Character.isUpperCase(ch)) {
hasUpperCase = true;
} else if (Character.isLowerCase(ch)) {
hasLowerCase = true;
}
if (Character.isLetter(ch)) {
hasAlpha = true;
} {code}
was (Author: bpatel):
[~kirbyzhou] how about this one:
{code:java}
if (Character.isDigit(ch)) {
hasNum = true;
} else if (Character.isUpperCase(ch)) {
hasUpperCase = true;
} else if (Character.isLowerCase(ch)) {
hasLowerCase = true;
}
if (Character.isTitleCase(ch)) {
hasAlpha = true;
} {code}
> Update password validation criteria
> ------------------------------------
>
> Key: RANGER-3678
> URL: https://issues.apache.org/jira/browse/RANGER-3678
> Project: Ranger
> Issue Type: Bug
> Components: Ranger
> Affects Versions: 3.0.0
> Reporter: Bhavik Patel
> Assignee: Bhavik Patel
> Priority: Major
>
> Update password validation for "passwordchange" api and changepassword utility.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)