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 6FEE19BEA for ; Wed, 25 Apr 2012 20:36:39 +0000 (UTC) Received: (qmail 35203 invoked by uid 500); 25 Apr 2012 20:36:39 -0000 Delivered-To: apmail-shiro-dev-archive@shiro.apache.org Received: (qmail 35164 invoked by uid 500); 25 Apr 2012 20:36:39 -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 35153 invoked by uid 99); 25 Apr 2012 20:36:38 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2012 20:36:38 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Apr 2012 20:36:37 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id B37FF40E53E for ; Wed, 25 Apr 2012 20:36:17 +0000 (UTC) Date: Wed, 25 Apr 2012 20:36:17 +0000 (UTC) From: "HG (JIRA)" To: dev@shiro.apache.org Message-ID: <1369694783.2272.1335386177744.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (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 X-Virus-Checked: Checked by ClamAV on apache.org HG created SHIRO-359: ------------------------ Summary: 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 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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira