Return-Path: X-Original-To: apmail-syncope-dev-archive@www.apache.org Delivered-To: apmail-syncope-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7EA3617D76 for ; Tue, 16 Feb 2016 08:38:18 +0000 (UTC) Received: (qmail 79671 invoked by uid 500); 16 Feb 2016 08:38:18 -0000 Delivered-To: apmail-syncope-dev-archive@syncope.apache.org Received: (qmail 79610 invoked by uid 500); 16 Feb 2016 08:38:18 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 79542 invoked by uid 99); 16 Feb 2016 08:38:18 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Feb 2016 08:38:18 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0D7DE2C14F4 for ; Tue, 16 Feb 2016 08:38:18 +0000 (UTC) Date: Tue, 16 Feb 2016 08:38:18 +0000 (UTC) From: "Nicola Baiocco (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (SYNCOPE-767) Password Policy: mustn't contain value of the following attributes case insensitive MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Nicola Baiocco created SYNCOPE-767: -------------------------------------- Summary: 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 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)