[ 
https://issues.apache.org/jira/browse/SYNCOPE-767?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15148326#comment-15148326
 ] 

ASF subversion and git services commented on SYNCOPE-767:
---------------------------------------------------------

Commit a8310e8782794580352ae181ba005c4fa34ecd5a in syncope's branch 
refs/heads/1_2_X from [~ilgrosso]
[ https://git-wip-us.apache.org/repos/asf?p=syncope.git;h=a8310e8 ]

[SYNCOPE-767] Applying suggested improvement


> Password Policy: mustn't contain value of the following attributes case 
> insensitive
> -----------------------------------------------------------------------------------
>
>                 Key: SYNCOPE-767
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-767
>             Project: Syncope
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.1.3
>            Reporter: Nicola Baiocco
>            Assignee: Francesco Chicchiriccò
>             Fix For: 1.1.9, 1.2.8, 2.0.0
>
>
> Improvement of class  org.apache.syncope.core.policy.PasswordPolicyEnforcer
> Instead of 
> {code:java}
> if (password.contains(word)) {
>                 throw new PasswordPolicyException("Used word(s) not 
> permitted");
> }
> {code}
> use
> {code:java}
> if (StringUtils.containsIgnoreCase(password, word)) {
> ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to