Return-Path: X-Original-To: apmail-shiro-dev-archive@www.apache.org Delivered-To: apmail-shiro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 57AB3FA5F for ; Wed, 17 Apr 2013 04:45:17 +0000 (UTC) Received: (qmail 39590 invoked by uid 500); 17 Apr 2013 04:45:17 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 39559 invoked by uid 500); 17 Apr 2013 04:45:16 -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 39537 invoked by uid 99); 17 Apr 2013 04:45:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Apr 2013 04:45:15 +0000 Date: Wed, 17 Apr 2013 04:45:15 +0000 (UTC) From: "Les Hazlewood (JIRA)" To: dev@shiro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SHIRO-359) Realm not initialised when bound in servlet mode with guice 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-359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13633780#comment-13633780 ] Les Hazlewood commented on SHIRO-359: ------------------------------------- Hi Jared, Any update on this? I'd like to see if we can get Shiro 1.2.2 out sometime soon. Thoughts? > Realm not initialised when bound in servlet mode with guice > ----------------------------------------------------------- > > Key: SHIRO-359 > URL: https://issues.apache.org/jira/browse/SHIRO-359 > Project: Shiro > Issue Type: Bug > Components: Realms > Affects Versions: 1.2.0 > Reporter: HG > Assignee: Jared Bunting > Labels: OnInit > Attachments: OxAuthenticatingRealm.java, ShiroConfigurationModule.java > > > I have a SampleRealm class which extends TextConfigurationRealm. > I bind it in configureShiroWeb() method of ShiroWebModule with bindRealm().to(SampleRealm .class).in(Singleton.class); > My expectation is OnInit() to be called at some point. > But that never happens. > I guess that should happen through InitializableInjectionListener() with Guice, but doesn't get triggered. -- 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