From dev-return-7592-archive-asf-public=cust-asf.ponee.io@shiro.apache.org Thu Jan 11 12:50:04 2018 Return-Path: X-Original-To: archive-asf-public@eu.ponee.io Delivered-To: archive-asf-public@eu.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by mx-eu-01.ponee.io (Postfix) with ESMTP id 6FDD9180656 for ; Thu, 11 Jan 2018 12:50:04 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2BF10160C1F; Thu, 11 Jan 2018 11:50:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 74035160C20 for ; Thu, 11 Jan 2018 12:50:03 +0100 (CET) Received: (qmail 29912 invoked by uid 500); 11 Jan 2018 11:50:02 -0000 Mailing-List: contact dev-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@shiro.apache.org Delivered-To: mailing list dev@shiro.apache.org Received: (qmail 29900 invoked by uid 99); 11 Jan 2018 11:50:02 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Jan 2018 11:50:02 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 14AD41807E5 for ; Thu, 11 Jan 2018 11:50:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -107.911 X-Spam-Level: X-Spam-Status: No, score=-107.911 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 9YB3VOSQ8Uya for ; Thu, 11 Jan 2018 11:50:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id E16FC5F3CC for ; Thu, 11 Jan 2018 11:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 766E1E0373 for ; Thu, 11 Jan 2018 11:50:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 34226240C6 for ; Thu, 11 Jan 2018 11:50:00 +0000 (UTC) Date: Thu, 11 Jan 2018 11:50:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SHIRO-643) Add ability for shiro.ini to specify case sensitive wildcard permissions. 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/SHIRO-643?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16322095#comment-16322095 ] ASF GitHub Bot commented on SHIRO-643: -------------------------------------- GitHub user Claudenw opened a pull request: https://github.com/apache/shiro/pull/77 Permissions update Changes for SHIRO-643 Modified WildcardPermissionResolver to allow for generation of caseSensitive permissions via constructor argument and setter. This is sufficient for use in the [main] section of an ini file. You can merge this pull request into a Git repository by running: $ git pull https://github.com/Claudenw/shiro Permissions_Update Alternatively you can review and apply these changes as the patch at: https://github.com/apache/shiro/pull/77.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #77 ---- commit 523dd7335c49068f9cc4e5bff843f4eb41fbdaf5 Author: claude Date: 2018-01-09T10:28:57Z Changes to configure realm commit f66ce5a7fb1e09eff256b266bd7890afa7444037 Author: claude Date: 2018-01-09T11:07:35Z cleaned up documentation / removed unused code commit 2f949c779b1c68cd8ce7cfadaeb62e3b45ac00d3 Author: claude Date: 2018-01-11T11:10:21Z revision of overly complex changes. Reverted the [role_config] options from text configuration and associated testing. Added ability to set the case sensitivity on WildcardPermissionsResolver so that it can be set from the Shiro.ini [main] section. ---- > Add ability for shiro.ini to specify case sensitive wildcard permissions. > ------------------------------------------------------------------------- > > Key: SHIRO-643 > URL: https://issues.apache.org/jira/browse/SHIRO-643 > Project: Shiro > Issue Type: Improvement > Components: Configuration > Affects Versions: 1.4.0-RC2 > Reporter: Claude Warren > Priority: Minor > > Currently when using permissions generated from the shiri.ini file all permissions are the default case-insensitive WildcardPermissions. This change is to create a mechanism to specify that the permissions should be case sensitive. > Additionally the solution should allow for replacement of the PermissionResolver implementation. -- This message was sent by Atlassian JIRA (v6.4.14#64029)