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 56A8A200B5E for ; Wed, 27 Jul 2016 04:27:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 55372160AA5; Wed, 27 Jul 2016 02:27:37 +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 9BD75160AA4 for ; Wed, 27 Jul 2016 04:27:36 +0200 (CEST) Received: (qmail 8372 invoked by uid 500); 27 Jul 2016 02:27:35 -0000 Mailing-List: contact user-help@shiro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@shiro.apache.org Delivered-To: mailing list user@shiro.apache.org Received: (qmail 8361 invoked by uid 99); 27 Jul 2016 02:27:35 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Jul 2016 02:27:35 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 54B47C23F3 for ; Wed, 27 Jul 2016 02:27:35 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.192 X-Spam-Level: *** X-Spam-Status: No, score=3.192 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URI_HEX=1.313] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 8ChoYDL1-P6b for ; Wed, 27 Jul 2016 02:27:31 +0000 (UTC) Received: from mail-yw0-f178.google.com (mail-yw0-f178.google.com [209.85.161.178]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 6DAB45F341 for ; Wed, 27 Jul 2016 02:27:30 +0000 (UTC) Received: by mail-yw0-f178.google.com with SMTP id r9so44303880ywg.0 for ; Tue, 26 Jul 2016 19:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=G8TFNONRJmwYMC2iTMY4epRzpYYoN5U9+cRe5NMSu1k=; b=I6AHkK9yTKbOohDI0ek1XiUuK6psDUMuyA3RGicGKgVT6Hu3pGIqoqOePAMiLpV8cp q410r6DGcV1kr87Nrp59BJEn1NpWd/ADcLUZpYkihTKLNzUhPhcwOANfDm2M9NiwNIXB QUjP9LSqMotrIdSfp6i2e1etuvbhdVMYOtC2LhxK0zkXeXFtllgkmUe/+Et83s4IEb/b H/iWtoJFlg0uGGL+sBzLunRRjqiX8/jmH7w2u8N5spavVMmw7rm4fbrfFvqGbEOtHbA3 2jGp4ghKcRXlcl9OW8Fmb9UJIYOBLEgnklty6QEzvwv12OlLuIjDofc3Mdav0c1F/pDE 89aA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=G8TFNONRJmwYMC2iTMY4epRzpYYoN5U9+cRe5NMSu1k=; b=DuSF3gmDACg/hbgAa8Gjn9ARlFe+RIdUU1vDjWFHWp3vts/aLgWE1UxyyMM1WmquiA KeMQQUV3ftqP9WBK4jXmNHU3TeGEOa+MYhgHJnCAoyK44z43vWpWrqR/avq/sR6OyZbi +VY1Fo9O7+EmxQdIWIEw+D0SW7bf/huTSSEGgG3qA4Lo1P8JTOL6yWR6yA52rsBTQS1D 8ErzbKhF2lIOqy/3RzhXxxFzESjpBPkepsYia0Yb/B3VquR/McwVY5TX7L5Upgrcf+GY HVontUNEGrcy0l5UzXkLC0KeOvpC+S/MkEaLXNg5R3IhaNDsTGmjJcCRNvx3uv23oAqa 09fg== X-Gm-Message-State: AEkoouupqBvax1sWtbpOUIz1gPQrIF8SDATFJVMrKGekrPQ4u5PXdoJD9LR4jDe45PJmqV5/nJwMe6q7RITgVA== X-Received: by 10.31.61.15 with SMTP id k15mr11392232vka.105.1469586449049; Tue, 26 Jul 2016 19:27:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.40.233 with HTTP; Tue, 26 Jul 2016 19:27:28 -0700 (PDT) In-Reply-To: <1469568289679-7581177.post@n2.nabble.com> References: <1469555309532-7581171.post@n2.nabble.com> <1469558964911-7581173.post@n2.nabble.com> <1469563320544-7581175.post@n2.nabble.com> <1469568289679-7581177.post@n2.nabble.com> From: Brian Demers Date: Tue, 26 Jul 2016 22:27:28 -0400 Message-ID: Subject: Re: Principal added by AuthorizingRealm To: "user@shiro.apache.org" Content-Type: multipart/alternative; boundary=001a114d957e432d33053894c237 archived-at: Wed, 27 Jul 2016 02:27:37 -0000 --001a114d957e432d33053894c237 Content-Type: text/plain; charset=UTF-8 The list wouldn't need to be static, you could query it from your db, or other source. It is just that generating the list would be done outside of Shiro initially. On Tue, Jul 26, 2016 at 5:24 PM, jonathan.labin wrote: > A good suggestion. > In practical terms, this would probably work just fine. I'd prefer to > allow > for new roles to be defined (as different combinations of existing > permissions) order without needing to change the application code. > > But I could see how that could work if I could guarantee that the roles > were fixed. > > > > -- > View this message in context: > http://shiro-user.582556.n2.nabble.com/Principal-added-by-AuthorizingRealm-tp7581171p7581177.html > Sent from the Shiro User mailing list archive at Nabble.com. > --001a114d957e432d33053894c237 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
The list wouldn't need to be static, you could query i= t from your db, or other source.=C2=A0 It is just that generating the list = would be done outside of Shiro initially.
<= br>
On Tue, Jul 26, 2016 at 5:24 PM, jonathan.lab= in <jonathan.labin@gmail.com> wrote:
A good suggestion.
In practical terms, this would probably work just fine.=C2=A0 I'd prefe= r to allow
for new roles to be defined (as different combinations of existing
permissions)=C2=A0 order without needing to change the application code.
But I could see how that could work if I could guarantee=C2=A0 that the rol= es
were fixed.



--
View this message in context: http://shiro-user.582556.n2.nabble.com/Principal= -added-by-AuthorizingRealm-tp7581171p7581177.html
Sent from the Shiro User mailing li= st archive at Nabble.com.

--001a114d957e432d33053894c237--