Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 416AB200B58 for ; Tue, 12 Jul 2016 16:39:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3E441160A53; Tue, 12 Jul 2016 14:39:22 +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 8819D160A56 for ; Tue, 12 Jul 2016 16:39:21 +0200 (CEST) Received: (qmail 64638 invoked by uid 500); 12 Jul 2016 14:39:20 -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 64358 invoked by uid 99); 12 Jul 2016 14:39:20 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2016 14:39:20 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7F1F32C02A8 for ; Tue, 12 Jul 2016 14:39:20 +0000 (UTC) Date: Tue, 12 Jul 2016 14:39:20 +0000 (UTC) From: "Brian Demers (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SHIRO-501) Add ability to set system properties in shiro.ini MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 12 Jul 2016 14:39:22 -0000 [ https://issues.apache.org/jira/browse/SHIRO-501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brian Demers updated SHIRO-501: ------------------------------- Fix Version/s: (was: 1.3.0) Current patch no longer applies (after recent code changes to the RefectionBuilder) It looks like the equivalent hook would be in the `buildObjects` method. That said, I'd like to hear other opinions about this. Personally, I'm a +1 for this style of interpolation ${value} I think the context should be a bit more flexible, SystemProperties, and any other Properties a user wants to inject. (for example: SHIRO-445) I also think we might need to pull in another dependency to deal with the actual interpolation of strings (to handle cases like nested interpolation) Which, leads me to my next question. Shiro core only has a few dependencies: {code} org.apache.shiro:shiro-core:bundle:1.3.0-SNAPSHOT +- org.slf4j:slf4j-api:jar:1.6.4:compile \- commons-beanutils:commons-beanutils:jar:1.8.3:compile {code} So I wanted another opinion before brining in something like commons-lang3 for the `StrSubstitutor` > Add ability to set system properties in shiro.ini > ------------------------------------------------- > > Key: SHIRO-501 > URL: https://issues.apache.org/jira/browse/SHIRO-501 > Project: Shiro > Issue Type: New Feature > Affects Versions: 1.2.3 > Reporter: Johnathan James > Labels: patch > Attachments: SHIRO-501.patch > > > Shiro should be able to inject values from system properties into the INI key value pairs. > http://shiro-user.582556.n2.nabble.com/System-properties-in-shiro-ini-td7579627.html -- This message was sent by Atlassian JIRA (v6.3.4#6332)