Return-Path: X-Original-To: apmail-karaf-issues-archive@minotaur.apache.org Delivered-To: apmail-karaf-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 48665D700 for ; Mon, 5 Nov 2012 07:13:13 +0000 (UTC) Received: (qmail 5432 invoked by uid 500); 5 Nov 2012 07:13:13 -0000 Delivered-To: apmail-karaf-issues-archive@karaf.apache.org Received: (qmail 5382 invoked by uid 500); 5 Nov 2012 07:13:12 -0000 Mailing-List: contact issues-help@karaf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@karaf.apache.org Delivered-To: mailing list issues@karaf.apache.org Received: (qmail 5368 invoked by uid 99); 5 Nov 2012 07:13:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Nov 2012 07:13:12 +0000 Date: Mon, 5 Nov 2012 07:13:12 +0000 (UTC) From: "Freeman Fang (JIRA)" To: issues@karaf.apache.org Message-ID: <1757762632.67795.1352099592151.JavaMail.jiratomcat@arcas> In-Reply-To: <957740755.60426.1351865353149.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (KARAF-1992) PropertiesLoginModule handles usernames with backslash not correct MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KARAF-1992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Freeman Fang reassigned KARAF-1992: ----------------------------------- Assignee: Freeman Fang > PropertiesLoginModule handles usernames with backslash not correct > ------------------------------------------------------------------ > > Key: KARAF-1992 > URL: https://issues.apache.org/jira/browse/KARAF-1992 > Project: Karaf > Issue Type: Bug > Environment: apache-servicemix-4.4.1-fuse-07-11 on SuSe Linux 32bit > Reporter: Radomir Kadlec > Assignee: Freeman Fang > Labels: patch > > BUG in PropertiesLoginModule: > When the username contains simple backslash \, it must be written twice in the users.properties file. For example: > user\\name=password,roles > It is correct and the user is found. > But when is the property encryption.enabled=true in the org.apache.karaf.jaas.modules.properties.PropertiesLoginModule, then after the first reading of this user the password is encrypted and the double backslash is automatically replaced with simple backslash: > user\name=encrypted_password,roles > This change causes failure: the username is not found on the next time. > Please, correct the behaviour. > Do not replace the double backslash with simple backslash or enable to enter the username with simple backslash. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira