From shiro-user-returnmooretimothy@example.com Sat May 01 18:25:47 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 84942 invoked from network); 1 May 2010 18:25:47 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 May 2010 18:25:47 -0000 Received: (qmail 5157 invoked by uid 500); 1 May 2010 18:25:47 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 5108 invoked by uid 500); 1 May 2010 18:25:46 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 5100 invoked by uid 99); 1 May 2010 18:25:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 18:25:46 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 18:25:39 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O8HNO-0004lU-QW for mooretimothy@example.com; Sat, 01 May 2010 11:25:18 -0700 Date: Sat, 1 May 2010 11:25:18 -0700 (PDT) From: emaayan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: how can i connect to windows Active Directory with shiro? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org well, i allready know that, but i need more, code samples more docs, would be nice.. -- View this message in context: http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4990842.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Sat May 01 22:43:23 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 18637 invoked from network); 1 May 2010 22:43:23 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 May 2010 22:43:23 -0000 Received: (qmail 6717 invoked by uid 500); 1 May 2010 22:43:23 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 6669 invoked by uid 500); 1 May 2010 22:43:23 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 6661 invoked by uid 99); 1 May 2010 22:43:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 22:43:23 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pz0-f194.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 22:43:17 +0000 Received: by pzk32 with SMTP id 32so733383pzk.21 for <mooretimothy@example.com>; Sat, 01 May 2010 15:42:57 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id p22mr2260493rvq.131.1272753776970; Sat, 01 May 2010 15:42:56 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Sat, 1 May 2010 15:42:56 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Date: Sat, 1 May 2010 15:42:56 -0700 X-Google-Sender-Auth: 85edc377028adf04 Message-ID: <mooretimothy@example.com> Subject: Re: how can i connect to windows Active Directory with shiro? From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 Just defining the Realm in the [main] section of your INI config is enough - it will automatically be detected and applied to the SecurityManager instance. Are you using INI or another mechanism? (Spring?) i.e. [main] activeDirectoryRealm = org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm # because ActiveDirectoryRealm subclasses AbstractLdapRealm, # you have access to those properties too: #activeDirectoryRealm.systemUsername = foo #activeDirectoryRealm.systemPassword = bar # ... HTH, Les On Sat, May 1, 2010 at 11:25 AM, emaayan <mooretimothy@example.com> wrote: > > well, i allready know that, but i need more, code samples more docs, would be > nice.. > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4990842.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Sat May 01 23:53:35 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 26199 invoked from network); 1 May 2010 23:53:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 1 May 2010 23:53:34 -0000 Received: (qmail 25216 invoked by uid 500); 1 May 2010 23:53:34 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 25194 invoked by uid 500); 1 May 2010 23:53:34 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 25184 invoked by uid 99); 1 May 2010 23:53:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 23:53:34 +0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 May 2010 23:53:27 +0000 Received: by pxi14 with SMTP id 14so658590pxi.6 for <multiple recipients>; Sat, 01 May 2010 16:53:05 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o15mr2315447rvp.174.1272757984900; Sat, 01 May 2010 16:53:04 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Sat, 1 May 2010 16:53:04 -0700 (PDT) Date: Sat, 1 May 2010 16:53:04 -0700 X-Google-Sender-Auth: 01b932b45bd6d6de Message-ID: <mooretimothy@example.com> Subject: Your thoughts on INI config? From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Cc: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Hi folks, I'm reaching out to see what people prefer for INI config, as it will determine the final format for the upcoming 1.0 release: Currently for a web-based app that uses INI configuration, you can specify a [filters] and [urls] sections in addition to the other standard sections ([main], [users] and [roles]). Strictly speaking, both the [main] and [filters] sections do exactly the same thing - create object graphs for Dependency Injection-based configuration. Since both sections are purely for configuring object graphs, what do you prefer: 1) Just have a single [main] section that configures _all_ objects (including filters)? or 2) Retain 2 sections for name-spacing. If we go with a single section, all of the default filters ('authc', 'authcBasic', 'port', 'ssl', etc) would just be normal beans in the [main] section for a webapp. The only risk is that people could accidentally overwrite these default filters if they name one of their beans the same as a default filter - but I think the odds of that happening in practice would be very low. Thoughts? Preferences? Thanks! Les From shiro-user-returnmooretimothy@example.com Sun May 02 07:40:24 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 82916 invoked from network); 2 May 2010 07:40:24 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 2 May 2010 07:40:24 -0000 Received: (qmail 36818 invoked by uid 500); 2 May 2010 07:40:24 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 36710 invoked by uid 500); 2 May 2010 07:40:24 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 36702 invoked by uid 99); 2 May 2010 07:40:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 07:40:23 +0000 X-ASF-Spam-Status: No, hits=4.5 required=10.0 tests=AWL,FREEMAIL_FROM,HTML_MESSAGE,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 May 2010 07:40:18 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O8TmP-0006fa-G3 for mooretimothy@example.com; Sun, 02 May 2010 00:39:57 -0700 Date: Sun, 2 May 2010 00:39:57 -0700 (PDT) From: emaayan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: how can i connect to windows Active Directory with shiro? MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_97273_26376560.1272785997486" ------=_Part_97273_26376560.1272785997486 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit currentluy not using anything i thought i configured it by code. On Sun, May 2, 2010 at 1:43 AM, Les Hazlewood-2 [via Shiro User] < mooretimothy@example.com<mooretimothy@example.com> > wrote: > Just defining the Realm in the [main] section of your INI config is > enough - it will automatically be detected and applied to the > SecurityManager instance. Are you using INI or another mechanism? > (Spring?) > > i.e. > > [main] > activeDirectoryRealm = > org.apache.shiro.realm.activedirectory.ActiveDirectoryRealm > # because ActiveDirectoryRealm subclasses AbstractLdapRealm, > # you have access to those properties too: > #activeDirectoryRealm.systemUsername = foo > #activeDirectoryRealm.systemPassword = bar > # ... > > HTH, > > Les > > On Sat, May 1, 2010 at 11:25 AM, emaayan <[hidden email]<http://user/SendEmail.jtp?type=node&node=4991547&i=0>> > wrote: > > > > well, i allready know that, but i need more, code samples more docs, > would be > > nice.. > > -- > > View this message in context: > http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4990842.html > > > Sent from the Shiro User mailing list mooretimothy@example.com. > > > > > ------------------------------ > View message @ > http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4991547.html > To unsubscribe from Re: how can i connect to windows Active Directory with > shiro?, click here<http://shiro-user.582556.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=ZWxoLm1haWxnYXRlQGdtYWlsLmNvbXw0OTkwODQyfDExNTkyMDcyOA==>. > > > -- View this message in context: http://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p4992327.html Sent from the Shiro User mailing list mooretimothy@example.com. ------=_Part_97273_26376560.1272785997486 Content-Type: text/html; charset=UTF8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">currentluy not using anything i thought i configured it by= code.<br><br><div class=3D"gmail_quote">On Sun, May 2, 2010 at 1:43 AM, Le= s Hazlewood-2 [via Shiro User] <span dir=3D"ltr">&lt;<a href=3D"/user/SendE= mail.jtp?type=3Dnode&node=3D4992327&i=3D0" target=3D"_top" rel=3D"nofollow"= >[hidden email]</a>&gt;</span> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, = 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Just defining the Realm in the [main] section of your INI config is <br>enough - it will automatically be detected and applied to the <br>SecurityManager instance. =C2=A0Are you using INI or another mechanism? <br>(Spring?) <br><br>i.e. <br><br>[main] <br>activeDirectoryRealm =3D <br><div class=3D"im">org.apache.shiro.realm.activedirectory.ActiveDirector= yRealm <br></div># because ActiveDirectoryRealm subclasses AbstractLdapRealm, <br># you have access to those properties too: <br>#activeDirectoryRealm.systemUsername =3D foo <br>#activeDirectoryRealm.systemPassword =3D bar <br># ... <br><br>HTH, <br><br>Les <br><br>On Sat, May 1, 2010 at 11:25 AM, emaayan &lt;<a href=3D"http://user= /SendEmail.jtp?type=3Dnode&amp;node=3D4991547&amp;i=3D0" rel=3D"nofollow" t= arget=3D"_blank" link=3D"external">[hidden email]</a>&gt; wrote: <br>&gt; <br>&gt; well, i allready know that, but i need more, code samples more doc= s, would be <br>&gt; nice.. <br>&gt; -- <br>&gt; View this message in context: <a href=3D"http://shiro-user.582556.= n2.nabble.com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp49= 79896p4990842.html" rel=3D"nofollow" link=3D"external" target=3D"_blank">ht= tp://shiro-user.582556.n2.nabble.com/how-can-i-connect-to-windows-Active-Di= rectory-with-shiro-tp4979896p4990842.html</a><div class=3D"im"> <br>&gt; Sent from the Shiro User mailing list mooretimothy@example.com. <br>&gt; <br> </blockquote></div><br></div> <br><hr align=3D"left" width=3D"300"> View this message in context: <a href=3D"http://shiro-user.582556.n2.nabble= .com/how-can-i-connect-to-windows-Active-Directory-with-shiro-tp4979896p499= 2327.html">Re: how can i connect to windows Active Directory with shiro?</a= ><br> Sent from the <a href=3D"http://shiro-user.582556.n2.nabble.com/">Shiro Use= r mailing list archive</a> at Nabble.com.<br> ------=_Part_97273_26376560.1272785997486-- From shiro-user-returnmooretimothy@example.com Mon May 03 05:06:06 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 66876 invoked from network); 3 May 2010 05:06:06 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 May 2010 05:06:06 -0000 Received: (qmail 63243 invoked by uid 500); 3 May 2010 05:06:06 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 63135 invoked by uid 500); 3 May 2010 05:06:04 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 63127 invoked by uid 99); 3 May 2010 05:06:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 05:06:03 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 05:05:57 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O8nqb-0008UZ-95 for mooretimothy@example.com; Sun, 02 May 2010 22:05:37 -0700 Date: Sun, 2 May 2010 22:05:37 -0700 (PDT) From: Narcom <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: Adding ehcahe CacheManager to Spring Sample failes MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Jira issue is opened https://issues.apache.org/jira/browse/SHIRO-154 -- View this message in context: http://shiro-user.582556.n2.nabble.com/Adding-ehcahe-CacheManager-to-Spring-Sample-failes-tp4967790p4995383.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Mon May 03 13:29:35 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 52836 invoked from network); 3 May 2010 13:29:35 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 May 2010 13:29:35 -0000 Received: (qmail 79263 invoked by uid 500); 3 May 2010 13:29:35 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 79217 invoked by uid 500); 3 May 2010 13:29:34 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 79209 invoked by uid 99); 3 May 2010 13:29:34 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 13:29:34 +0000 X-ASF-Spam-Status: No, hits=3.0 required=10.0 tests=FORGED_YAHOO_RCVD,FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 13:29:28 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O8vhr-0001RH-IA for mooretimothy@example.com; Mon, 03 May 2010 06:29:07 -0700 Date: Mon, 3 May 2010 06:29:07 -0700 (PDT) From: Tigor <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> Subject: shiro:hasAnyRoles problem MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Greetings, i am trying to use shiro:hasAnyRoles tag. But i get an error with message Exception Message: Tag [hasAnyRoles] does not exist. No tag library found for namespace: shiro which is very strage, because if i use shiro:hasRole tag, it works fine. Any suggestion ? Thank you in adavnce. Kind regards, Igor -- View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-hasAnyRoles-problem-tp4997763p4997763.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Mon May 03 17:47:52 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 28110 invoked from network); 3 May 2010 17:47:52 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 May 2010 17:47:52 -0000 Received: (qmail 77408 invoked by uid 500); 3 May 2010 17:47:51 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 77363 invoked by uid 500); 3 May 2010 17:47:51 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 77355 invoked by uid 99); 3 May 2010 17:47:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:47:51 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:47:44 +0000 Received: by pxi14 with SMTP id 14so1177973pxi.6 for <mooretimothy@example.com>; Mon, 03 May 2010 10:47:22 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id q27mr3793346rvp.73.1272908842718; Mon, 03 May 2010 10:47:22 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Mon, 3 May 2010 10:47:22 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Date: Mon, 3 May 2010 10:47:22 -0700 X-Google-Sender-Auth: 942ded8cb125b872 Message-ID: <mooretimothy@example.com> Subject: Re: Adding ehcahe CacheManager to Spring Sample failes From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org Thanks! On Sun, May 2, 2010 at 10:05 PM, Narcom <mooretimothy@example.com> wrote: > > Jira issue is opened > > https://issues.apache.org/jira/browse/SHIRO-154 > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/Adding-ehcahe-CacheManager-to-Spring-Sample-failes-tp4967790p4995383.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Mon May 03 17:51:41 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 30520 invoked from network); 3 May 2010 17:51:41 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 May 2010 17:51:41 -0000 Received: (qmail 84954 invoked by uid 500); 3 May 2010 17:51:41 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 84936 invoked by uid 500); 3 May 2010 17:51:41 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 84928 invoked by uid 99); 3 May 2010 17:51:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:51:41 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=AWL,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pv0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:51:36 +0000 Received: by pvc30 with SMTP id 30so180pvc.6 for <mooretimothy@example.com>; Mon, 03 May 2010 10:51:15 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s18mr3700595rvl.297.1272909025432; Mon, 03 May 2010 10:50:25 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Mon, 3 May 2010 10:50:25 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> Date: Mon, 3 May 2010 10:50:25 -0700 X-Google-Sender-Auth: e03d05d07427c414 Message-ID: <mooretimothy@example.com> Subject: Re: shiro:hasAnyRoles problem From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 I'm not sure why you'd be getting this without seeing a sample app or test case - the org.apache.shiro.web.tags.HasAnyRolesTag class has been around since 0.2 and it is correctly represented in the shiro.tld file. - Les On Mon, May 3, 2010 at 6:29 AM, Tigor <mooretimothy@example.com> wrote: > > Greetings, > i am trying to use shiro:hasAnyRoles tag. But i get an error with message > Exception Message: Tag [hasAnyRoles] does not exist. No tag library found > for namespace: shiro > which is very strage, because if i use shiro:hasRole tag, it works fine. > Any suggestion ? > Thank you in adavnce. > Kind regards, > Igor > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-hasAnyRoles-problem-tp4997763p4997763.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Mon May 03 17:56:31 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 31857 invoked from network); 3 May 2010 17:56:31 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 3 May 2010 17:56:31 -0000 Received: (qmail 90979 invoked by uid 500); 3 May 2010 17:56:31 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 90954 invoked by uid 500); 3 May 2010 17:56:31 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 90946 invoked by uid 99); 3 May 2010 17:56:31 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:56:31 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 17:56:25 +0000 Received: by pwj5 with SMTP id 5so1188000pwj.6 for <mooretimothy@example.com>; Mon, 03 May 2010 10:56:05 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id s18mr3700595rvl.297.1272909025432; Mon, 03 May 2010 10:50:25 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Mon, 3 May 2010 10:50:25 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> Date: Mon, 3 May 2010 10:50:25 -0700 X-Google-Sender-Auth: e03d05d07427c414 Message-ID: <mooretimothy@example.com> Subject: Re: shiro:hasAnyRoles problem From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 I'm not sure why you'd be getting this without seeing a sample app or test case - the org.apache.shiro.web.tags.HasAnyRolesTag class has been around since 0.2 and it is correctly represented in the shiro.tld file. - Les On Mon, May 3, 2010 at 6:29 AM, Tigor <mooretimothy@example.com> wrote: > > Greetings, > i am trying to use shiro:hasAnyRoles tag. But i get an error with message > Exception Message: Tag [hasAnyRoles] does not exist. No tag library found > for namespace: shiro > which is very strage, because if i use shiro:hasRole tag, it works fine. > Any suggestion ? > Thank you in adavnce. > Kind regards, > Igor > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/shiro-hasAnyRoles-problem-tp4997763p4997763.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Tue May 04 14:47:28 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 34282 invoked from network); 4 May 2010 14:47:28 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 14:47:28 -0000 Received: (qmail 98319 invoked by uid 500); 4 May 2010 14:47:28 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 98273 invoked by uid 500); 4 May 2010 14:47:27 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 98265 invoked by uid 99); 4 May 2010 14:47:27 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 14:47:27 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 14:47:20 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O9JOl-0007W8-WD for mooretimothy@example.com; Tue, 04 May 2010 07:47:00 -0700 Date: Tue, 4 May 2010 07:46:59 -0700 (PDT) From: Henry Suryawirawan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: 1.0 Official Release MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hi, any updates when shiro will have 1.0 release? -- View this message in context: http://shiro-user.582556.n2.nabble.com/1-0-Official-Release-tp4600178p5003700.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Tue May 04 14:49:53 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 35618 invoked from network); 4 May 2010 14:49:53 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 14:49:53 -0000 Received: (qmail 974 invoked by uid 500); 4 May 2010 14:49:53 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 847 invoked by uid 500); 4 May 2010 14:49:53 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 838 invoked by uid 99); 4 May 2010 14:49:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 14:49:53 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 14:49:46 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O9JR8-0007gF-2i for mooretimothy@example.com; Tue, 04 May 2010 07:49:26 -0700 Date: Tue, 4 May 2010 07:49:26 -0700 (PDT) From: Henry Suryawirawan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> Subject: Get AuthenticationInfo From Subject MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, Is there a way to retrieve the AuthenticationInfo from the current Subject? I have a scenario in which when the user logs in, if his password is about to expire, the system can forward the user to a change password screen automatically after login. Currently what I've done is to extend SimpleAccount and add some properties to indicate the expiring status which is populated in my custom Realm. However, in the filter (onLoginSuccess), how can I read this information since I can only get the Subject object. Is there any other way to implement this scenario? Thanks. -- View this message in context: http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5003710.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Tue May 04 16:31:47 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 59916 invoked from network); 4 May 2010 16:31:47 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 16:31:47 -0000 Received: (qmail 49483 invoked by uid 500); 4 May 2010 16:31:47 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 49465 invoked by uid 500); 4 May 2010 16:31:47 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 49457 invoked by uid 99); 4 May 2010 16:31:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 16:31:47 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 16:31:42 +0000 Received: by pwj5 with SMTP id 5so1784767pwj.6 for <mooretimothy@example.com>; Tue, 04 May 2010 09:31:21 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id g5mr4647362rva.157.1272990681655; Tue, 04 May 2010 09:31:21 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Tue, 4 May 2010 09:31:21 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Date: Tue, 4 May 2010 09:31:21 -0700 X-Google-Sender-Auth: 97c442603f3b37cf Message-ID: <mooretimothy@example.com> Subject: Re: 1.0 Official Release From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 Hopefully we'll be code complete this week. As soon as that happens, we have to go through a voting process to move it forward, and then it has to be voted upon by the Incubator. Once we pass the voting process, we'll release. Cheers, Les On Tue, May 4, 2010 at 7:46 AM, Henry Suryawirawan <mooretimothy@example.com> wrote: > > hi, > > any updates when shiro will have 1.0 release? > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/1-0-Official-Release-tp4600178p5003700.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Tue May 04 17:58:01 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 81304 invoked from network); 4 May 2010 17:58:01 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 17:58:01 -0000 Received: (qmail 10927 invoked by uid 500); 4 May 2010 17:58:01 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 10883 invoked by uid 500); 4 May 2010 17:58:01 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 10873 invoked by uid 99); 4 May 2010 17:58:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 17:58:01 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pz0-f194.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 17:57:54 +0000 Received: by pzk32 with SMTP id 32so1138772pzk.21 for <mooretimothy@example.com>; Tue, 04 May 2010 10:57:32 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e7mr4686564rva.58.1272995852205; Tue, 04 May 2010 10:57:32 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Tue, 4 May 2010 10:57:32 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> Date: Tue, 4 May 2010 10:57:32 -0700 X-Google-Sender-Auth: 14c1111365c42b7d Message-ID: <mooretimothy@example.com> Subject: Re: Get AuthenticationInfo From Subject From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org I've handled this in the past by throwing an AuthenticationException subclass from my realm - something like a ExpiredPasswordException. Then if the subject.login call catches that exception, it forwards the user to the change password screen. After hitting submit, and the change password process is successful, I'll immediately call subject.login again in that screen's controller to log them in automatically under the new password. That always seemed to work well for me. - Les On Tue, May 4, 2010 at 7:49 AM, Henry Suryawirawan <mooretimothy@example.com> wrote: > > Hi, > > Is there a way to retrieve the AuthenticationInfo from the current Subject? > > I have a scenario in which when the user logs in, if his password is about > to expire, the system can forward the user to a change password screen > automatically after login. > Currently what I've done is to extend SimpleAccount and add some properties > to indicate the expiring status which is populated in my custom Realm. > > However, in the filter (onLoginSuccess), how can I read this information > since I can only get the Subject object. > > Is there any other way to implement this scenario? > > Thanks. > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5003710.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Tue May 04 23:13:47 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 58510 invoked from network); 4 May 2010 23:13:47 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 23:13:47 -0000 Received: (qmail 38222 invoked by uid 500); 4 May 2010 23:13:47 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 38205 invoked by uid 500); 4 May 2010 23:13:47 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 38197 invoked by uid 99); 4 May 2010 23:13:47 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 23:13:47 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 23:13:40 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O9RIl-0003sv-Qd for mooretimothy@example.com; Tue, 04 May 2010 16:13:19 -0700 Date: Tue, 4 May 2010 16:13:19 -0700 (PDT) From: Henry Suryawirawan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: Get AuthenticationInfo From Subject MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org hmm yeah that might work. however, the user has the option of continuing using the system without updating the password. i think it would then break the logic, since subsequent login will also throw the ExpiredPasswordException. do you have any other idea how to solve this problem? btw, is it confirmed that we cannot retrieve the AuthenticationInfo from a Subject? -- View this message in context: http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5006311.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Tue May 04 23:24:24 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 60174 invoked from network); 4 May 2010 23:24:24 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 4 May 2010 23:24:24 -0000 Received: (qmail 47260 invoked by uid 500); 4 May 2010 23:24:24 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 47239 invoked by uid 500); 4 May 2010 23:24:24 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 47231 invoked by uid 99); 4 May 2010 23:24:24 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 23:24:24 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 May 2010 23:24:19 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O9RT4-0004Vy-KO for mooretimothy@example.com; Tue, 04 May 2010 16:23:58 -0700 Date: Tue, 4 May 2010 16:23:58 -0700 (PDT) From: Henry Suryawirawan <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Subject: Re: Get AuthenticationInfo From Subject MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit btw, this is not actually an ExpiredPasswordException. i would call it ExpiringPasswordException since actually the password hasn't been expired. the system would only give a reminder to the user to change the password. he might or might not change the password after the login. -- View this message in context: http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5006358.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Wed May 05 00:42:58 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 83608 invoked from network); 5 May 2010 00:42:58 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 May 2010 00:42:58 -0000 Received: (qmail 49155 invoked by uid 500); 5 May 2010 00:42:58 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 49140 invoked by uid 500); 5 May 2010 00:42:58 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 49132 invoked by uid 99); 5 May 2010 00:42:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 00:42:58 +0000 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-gw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 00:42:51 +0000 Received: by gwj23 with SMTP id 23so1788025gwj.6 for <mooretimothy@example.com>; Tue, 04 May 2010 17:42:30 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r11mr11855447ybc.334.1273020150504; Tue, 04 May 2010 17:42:30 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Tue, 4 May 2010 17:42:30 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Date: Tue, 4 May 2010 17:42:30 -0700 X-Google-Sender-Auth: 35d86c424c9ad545 Message-ID: <mooretimothy@example.com> Subject: Re: Get AuthenticationInfo From Subject From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org The AuthenticationInfo contains two things: Principals and Credentials. The credentials are only used to verify identity. But all of the principals across all realms are aggregated into the Subject and are available as Subject.getPrincipals(), so anything you put in the principals can be accessed later on. You could have one of those principals represent the data indicating to ask them to update their password. Another easy approach is to just put that flag/token/whatever in the session (Subject.getSession()), check it after log-in, and if present, redirect them to the reset password page. Then remove the token from the session once they've updated their password. That could probably work as well. How about those two approaches? - Les On Tue, May 4, 2010 at 4:13 PM, Henry Suryawirawan <mooretimothy@example.com> wrote: > > hmm yeah that might work. > however, the user has the option of continuing using the system without > updating the password. > i think it would then break the logic, since subsequent login will also > throw the ExpiredPasswordException. > > do you have any other idea how to solve this problem? > > btw, is it confirmed that we cannot retrieve the AuthenticationInfo from a > Subject? > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/Get-AuthenticationInfo-From-Subject-tp5003710p5006311.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Wed May 05 08:45:17 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 62484 invoked from network); 5 May 2010 08:45:17 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 May 2010 08:45:17 -0000 Received: (qmail 47735 invoked by uid 500); 5 May 2010 08:45:16 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 47628 invoked by uid 500); 5 May 2010 08:45:14 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 47620 invoked by uid 99); 5 May 2010 08:45:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 08:45:13 +0000 X-ASF-Spam-Status: No, hits=0.1 required=10.0 tests=AWL,FREEMAIL_FROM,SPF_HELO_PASS,SPF_NEUTRAL,T_TO_NO_BRKTS_FREEMAIL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: 83.161.120.155 is neither permitted nor denied by domain of mooretimothy@example.com) Received: from [83.161.120.155] (HELO kuber.nabble.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 08:45:08 +0000 Received: from jim.nabble.com ([83.161.120.155]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from <mooretimothy@example.com>) id 1O9aDn-00055v-Tn for mooretimothy@example.com; Wed, 05 May 2010 01:44:47 -0700 Date: Wed, 5 May 2010 01:44:47 -0700 (PDT) From: aloleary <mooretimothy@example.com> To: mooretimothy@example.com Message-ID: <mooretimothy@example.com> Subject: Standalone - Session Timeout MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I seem to have the same problem described in the following thread: http://shiro-user.582556.n2.nabble.com/Session-Expiration-td2186574.html#a2186574 Session Expiration However I looked at the test case supplied but I'm not sure I follow as no code checks the subject after session expiration time - is it that the fix should cause the session expiration never to happen ? Right now in my application i can see using a SessionListenerAdapter that onExpiration is being fired... I can trap this and need to recreate the session 1) Should this be happening given that https://issues.apache.org/jira/browse/JSEC-46 should not cause this 2) What is the simplest way for me to create a new session for the user as my code currentUser.getSession() is causing invalid session exception right now Thanks in advance -A- -- View this message in context: http://shiro-user.582556.n2.nabble.com/Standalone-Session-Timeout-tp5007851p5007851.html Sent from the Shiro User mailing list mooretimothy@example.com. From shiro-user-returnmooretimothy@example.com Wed May 05 17:12:12 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 85837 invoked from network); 5 May 2010 17:12:12 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 May 2010 17:12:12 -0000 Received: (qmail 64275 invoked by uid 500); 5 May 2010 17:12:12 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 64237 invoked by uid 500); 5 May 2010 17:12:11 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 64228 invoked by uid 99); 5 May 2010 17:12:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 17:12:11 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL,URI_HEX X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pz0-f194.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 17:12:05 +0000 Received: by pzk32 with SMTP id 32so363323pzk.21 for <mooretimothy@example.com>; Wed, 05 May 2010 10:11:44 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id r14mr5804649rvl.33.1273079499452; Wed, 05 May 2010 10:11:39 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Wed, 5 May 2010 10:11:35 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> Date: Wed, 5 May 2010 10:11:35 -0700 X-Google-Sender-Auth: 6d3de974d1b14da0 Message-ID: <mooretimothy@example.com> Subject: Re: Standalone - Session Timeout From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Al, It appears that https://issues.apache.org/jira/browse/SHIRO-60 (the old JSEC-46) has not been resolved effectively. I've re-opened it until it has been fixed to satisfaction - please subscribe as a watcher to see updates. As for your 2nd question, I don't think there is an easy way to do this other than catching the InvalidSessionException and then using the Subject.Builder to create a new Subject data with the same identity data and then bind that subject to the thread. This is kind of nasty stuff though and it would probably be better to wait until the issue has been resolved. Since we'd have to resolve this before we're code complete for 1.0, we essentially have to finish it this week (next 2 or 3 days). I have a question that I need to ask people about how this functionality should work - I'll do that on a new thread so it is not buried in this one. Les On Wed, May 5, 2010 at 1:44 AM, aloleary <mooretimothy@example.com> wrote: > > Hello, > =C2=A0 I seem to have the same problem described in the following thread: > http://shiro-user.582556.n2.nabble.com/Session-Expiration-td2186574.html#= a2186574 > Session Expiration > > However I looked at the test case supplied but I'm not sure I follow as n= o > code checks the subject after session expiration time - is it that the fi= x > should cause the session expiration never to happen ? > > Right now in my application i can see using a SessionListenerAdapter that > onExpiration is being fired... > > I can trap this and need to recreate the session > > 1) Should this be happening given that > https://issues.apache.org/jira/browse/JSEC-46 should not cause this > 2) What is the simplest way for me to create a new session for the user a= s > my code currentUser.getSession() is causing invalid session exception rig= ht > now > > Thanks in advance > -A- > > -- > View this message in context: http://shiro-user.582556.n2.nabble.com/Stan= dalone-Session-Timeout-tp5007851p5007851.html > Sent from the Shiro User mailing list mooretimothy@example.com. > From shiro-user-returnmooretimothy@example.com Wed May 05 17:15:09 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 86381 invoked from network); 5 May 2010 17:15:09 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 5 May 2010 17:15:09 -0000 Received: (qmail 67812 invoked by uid 500); 5 May 2010 17:15:09 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 67793 invoked by uid 500); 5 May 2010 17:15:09 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 67785 invoked by uid 99); 5 May 2010 17:15:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 17:15:09 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 May 2010 17:15:03 +0000 Received: by pxi14 with SMTP id 14so2338879pxi.6 for <mooretimothy@example.com>; Wed, 05 May 2010 10:14:43 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id o25mr5926139rvp.71.1273079681978; Wed, 05 May 2010 10:14:41 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Wed, 5 May 2010 10:14:36 -0700 (PDT) Date: Wed, 5 May 2010 10:14:36 -0700 X-Google-Sender-Auth: 16034fefe872dfca Message-ID: <mooretimothy@example.com> Subject: How do you want session auto re-creation after expiration to work? From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 What should the expected behavior be? How do you want this to work? Anyone who wants a say in how they'd like this to work for their own applications, please let us know so we can ensure it works for the 1.0 release next week. Thanks, Les From shiro-user-returnmooretimothy@example.com Sat May 08 23:27:39 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 77702 invoked from network); 8 May 2010 23:27:39 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 8 May 2010 23:27:39 -0000 Received: (qmail 23069 invoked by uid 500); 8 May 2010 23:27:39 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 22940 invoked by uid 500); 8 May 2010 23:27:38 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 22923 invoked by uid 99); 8 May 2010 23:27:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 23:27:38 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 May 2010 23:27:31 +0000 Received: by pxi14 with SMTP id 14so997713pxi.6 for <multiple recipients>; Sat, 08 May 2010 16:27:11 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id c8mr1221195rvn.180.1273361231196; Sat, 08 May 2010 16:27:11 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Sat, 8 May 2010 16:27:11 -0700 (PDT) Date: Sat, 8 May 2010 16:27:11 -0700 X-Google-Sender-Auth: be3f4b4f7113ce28 Message-ID: <mooretimothy@example.com> Subject: Ini config: Rename [main] section to [beans] ? From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Cc: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 The [main] section now exists for the sole purpose of java-beans-style creation, configuration, and object graph assembly. Because of this, I'm thinking the [main] section should be renamed to [beans] to indicate this. The idea is that it is easily conceivable that we'll need a [main] section at some time for framework-wide directives that might not be able to be represented as a bean/property configuration line. Thoughts? Les From shiro-user-returnmooretimothy@example.com Sun May 09 02:07:33 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 98144 invoked from network); 9 May 2010 02:07:33 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 9 May 2010 02:07:33 -0000 Received: (qmail 69378 invoked by uid 500); 9 May 2010 02:07:32 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 69350 invoked by uid 500); 9 May 2010 02:07:32 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 69335 invoked by uid 99); 9 May 2010 02:07:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 02:07:32 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mooretimothy@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-px0-f175.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 02:07:23 +0000 Received: by pxi14 with SMTP id 14so1023322pxi.6 for <multiple recipients>; Sat, 08 May 2010 19:07:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=M7WuNZDTH3mTE/pmj8IO/48Tgxg4sL2HBsnnMWZoZro=; b=xo91sireMnNABS+7RuuLVMXNDXPMcMn/Y6w+NhShn0AeyX9TP3bMaI5egbadf5IZuB XLpKl+POlL27AThLRYKyfe44C8ZvHHqchTQq2nIGhgdERZA1QCYFlp3NO7m7kkpluxkQ ihXJr1FfRIxbFK1vhcpCsLh/fxcr2y8Gn/lDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=bEo80svUMbjI7PpCWDyjlnIlWkFSsxzGLE87Jz//5s/layu+/qF8RHeIadIzx12c3W Xg7l1XTeK6Sh0BLcFUxSNz83yMn90zWAd/GWyPB8UjVZPJ6lDnNpT8JL9CT3zYqqP4N3 54HLC9IHiNyDlhmSZhWSpzj6sdbakKfv8/RyU= Received: by 83.161.120.155 with SMTP id c1mr1607330waa.61.1273370821515; Sat, 08 May 2010 19:07:01 -0700 (PDT) Received: from [83.161.120.155] ([83.161.120.155]) by mx.google.com with ESMTPS id d16sm17607773wam.12.283.161.120.155.06.58 (version=SSLv3 cipher=RC4-MD5); Sat, 08 May 2010 19:07:00 -0700 (PDT) Message-ID: <mooretimothy@example.com> Date: Sun, 09 May 2010 10:06:34 +0800 From: Juan Chung <mooretimothy@example.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:83.161.120.155) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: mooretimothy@example.com CC: Les Hazlewood <mooretimothy@example.com>, mooretimothy@example.com Subject: Re: Ini config: Rename [main] section to [beans] ? References: <mooretimothy@example.com> In-Reply-To: <mooretimothy@example.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [beans] is a more general name, it likes spring-style configuration. so it cannot clearly express this section's function in Shiro. but [main] is a more meaningful name for Shiro, it tells the end-user it lies in the Core of Shiro, without it Shiro will not be able to work. I think [main] is a better name than [beans] in Shiro. On 2010-5-9 7:27, Les Hazlewood wrote: > The [main] section now exists for the sole purpose of java-beans-style > creation, configuration, and object graph assembly. > > Because of this, I'm thinking the [main] section should be renamed to > [beans] to indicate this. The idea is that it is easily conceivable > that we'll need a [main] section at some time for framework-wide > directives that might not be able to be represented as a bean/property > configuration line. > > Thoughts? > > Les > From shiro-user-returnmooretimothy@example.com Sun May 09 02:44:34 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 312 invoked from network); 9 May 2010 02:44:34 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 9 May 2010 02:44:34 -0000 Received: (qmail 75392 invoked by uid 500); 9 May 2010 02:44:34 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 75316 invoked by uid 500); 9 May 2010 02:44:34 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 75300 invoked by uid 99); 9 May 2010 02:44:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 02:44:34 +0000 X-ASF-Spam-Status: No, hits=-0.4 required=10.0 tests=AWL,RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [83.161.120.155] (HELO mail-pw0-f47.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 02:44:27 +0000 Received: by pwj5 with SMTP id 5so1032811pwj.6 for <multiple recipients>; Sat, 08 May 2010 19:44:07 -0700 (PDT) MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id e21mr1332280rva.46.1273373046902; Sat, 08 May 2010 19:44:06 -0700 (PDT) Sender: mooretimothy@example.com Received: by 83.161.120.155 with HTTP; Sat, 8 May 2010 19:44:06 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> Date: Sat, 8 May 2010 19:44:06 -0700 X-Google-Sender-Auth: 3641dab80977c7ef Message-ID: <mooretimothy@example.com> Subject: Re: Ini config: Rename [main] section to [beans] ? From: Les Hazlewood <mooretimothy@example.com> To: mooretimothy@example.com Cc: mooretimothy@example.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Juan, I think you might have missed my point: The [main] section today IS the same thing as a Spring-style configuration - it just uses INI instead of XML. It configures JavaBeans and builds object graphs and nothing else. That's why I'd like to change the name to [beans] - so the section name correctly reflects the current behavior. I also wanted to change the name so that if we ever decided to bring back the [main] section, it could be used for things other than beans-style configuration. You can't mix them both in the same section. Does that make sense? Les On Sat, May 8, 2010 at 7:06 PM, Juan Chung <mooretimothy@example.com> wrote: > [beans] is a more general name, it likes spring-style configuration. so > it cannot clearly express this section's function in Shiro. > > but [main] is a more meaningful name for Shiro, it tells the end-user it > lies in the Core of Shiro, without it Shiro will not be able to work. > > I think [main] is a better name than [beans] in Shiro. > > On 2010-5-9 7:27, Les Hazlewood wrote: >> >> The [main] section now exists for the sole purpose of java-beans-style >> creation, configuration, and object graph assembly. >> >> Because of this, I'm thinking the [main] section should be renamed to >> [beans] to indicate this. =C2=A0The idea is that it is easily conceivabl= e >> that we'll need a [main] section at some time for framework-wide >> directives that might not be able to be represented as a bean/property >> configuration line. >> >> Thoughts? >> >> Les >> > > From shiro-user-returnmooretimothy@example.com Sun May 09 03:03:09 2010 Return-Path: <shiro-user-returnmooretimothy@example.com> Delivered-To: mooretimothy@example.com Received: (qmail 2523 invoked from network); 9 May 2010 03:03:09 -0000 Received: from unknown (HELO mail.apache.org) (83.161.120.155) by 83.161.120.155 with SMTP; 9 May 2010 03:03:09 -0000 Received: (qmail 79173 invoked by uid 500); 9 May 2010 03:03:09 -0000 Delivered-To: mooretimothy@example.com Received: (qmail 79057 invoked by uid 500); 9 May 2010 03:03:08 -0000 Mailing-List: contact mooretimothy@example.com; run by ezmlm Precedence: bulk List-Help: <mailto:mooretimothy@example.com> List-Unsubscribe: <mailto:mooretimothy@example.com> List-Post: <mailto:mooretimothy@example.com> List-Id: <shiro-user.incubator.apache.org> Reply-To: mooretimothy@example.com Delivered-To: mailing list mooretimothy@example.com Received: (qmail 79040 invoked by uid 99); 9 May 2010 03:03:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 03:03:08 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mooretimothy@example.com designates 83.161.120.155 as permitted sender) Received: from [83.161.120.155] (HELO mail-qy0-f200.google.com) (83.161.120.155) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 09 May 2010 03:03:00 +0000 Received: by qyk38 with SMTP id 38so1545417qyk.18 for <multiple recipients>; Sat, 08 May 2010 20:02:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=5t1V28MYsBkC/olyG01q4iwTM1kCsIYcnBMz0BKIjT8=; b=DWPxkp36sKjCdBayAhWvyXM+GMWSFrHtPbSXaJEPALYk+f5R2uvLZUaK8Pmn9gn5Or A3j96yRmmu8d/YklhJAtDSdR5c4BfAZpaaPxFQGJnI2lMjQcktWmiSkWFS+Rfd7zO9pp SWsoPY4HtcAZiR3Gz1iUdgOo/UR3+vaebf0gw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=n5g+yZMKSCKzlX2ImUMyr9bZ/RkGJiRREvx8hWyf/KbXLHfKFtT6nNB5Ztfv/SUVHu p0UTmSgRws7070RSdKcKGAvFi/mnnWradeg6AKxHqMsLad7x4k9PiWZZGaF2W//p7KSz RJIysDtdQ/F0HPrmszotc/R8glJFzl9+OrA/Y= MIME-Version: 1.0 Received: by 83.161.120.155 with SMTP id kr8mr1654561qcb.76.1273374159129; Sat, 08 May 2010 20:02:39 -0700 (PDT) Received: by 83.161.120.155 with HTTP; Sat, 8 May 2010 20:02:39 -0700 (PDT) In-Reply-To: <mooretimothy@example.com> References: <mooretimothy@example.com> <mooretimothy@example.com> <mooretimothy@example.com> Date: Sat, 8 May 2010 23:02:39 -0400 Message-ID: <mooretimothy@example.com> Subject: Re: Ini config: Rename [main] section to [beans] ? From: Erik Beeson <mooretimothy@example.com> To: mooretimothy@example.com Cc: mooretimothy@example.com Content-Type: multipart/alternative; boundary=0016e64c26006bcc8c04862086e2 X-Virus-Checked: Checked by ClamAV on apache.org --0016e64c26006bcc8c04862086e2 Content-Type: text/plain; charset=ISO-8859-1 I understand what you're saying, but "beans" doesn't seem very meaningful in the context of Shiro. I think "config" (which would be a bit redundant) or "setup" might make more sense. Or leave it "main" and have a new global options section be called "options" or "settings" or something? In the end, I don't think it matters much. We'll use whatever you do :) --Erik On Sat, May 8, 2010 at 10:44 PM, Les Hazlewood <mooretimothy@example.com>wrote: > Hi Juan, > > I think you might
{'source': 'Apache Software Foundation Public Mail Archives'}