Thanks Alex,

Looks like we will need to dig a little deeper into this.  Can you open a
JIRA issue?  https://issues.apache.org/jira/projects/SHIRO/issues

On Tue, May 12, 2020 at 10:50 AM Alex Sviridov <[email protected]> wrote:

> Sure, here it is
>
> [INFO] Initializing Shiro environment
> 17:45:03.576 [main] INFO  o.a.shiro.web.env.EnvironmentLoader - Starting
> Shiro environment initialization.
> 17:45:04.233 [main] ERROR com.foo.TestRealm - Error # 0
> java.lang.Exception: null
>     at com.foo.TestRealm.onInit(TestRealm.java:25)
>     at
> org.apache.shiro.realm.AuthenticatingRealm.init(AuthenticatingRealm.java:395)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
>     at
> org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:785)
>     at
> org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
>     at
> org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
>     at
> org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
>     at
> org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
>     at
> org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
>     at
> org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
>     at
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
>     at
> org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:323)
>     at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
>     at
> org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:398)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at org.eclipse.jetty.server.Server.start(Server.java:411)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:378)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
>     at
> org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
>     at
> org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
>     at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
>     at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
> 17:45:04.236 [main] ERROR com.foo.TestRealm - Error # 1
> java.lang.Exception: null
>     at com.foo.TestRealm.onInit(TestRealm.java:25)
>     at
> org.apache.shiro.realm.AuthenticatingRealm.init(AuthenticatingRealm.java:395)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:61)
>     at
> org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:264)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
>     at
> org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
>     at
> org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
>     at
> org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
>     at
> org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
>     at
> org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
>     at
> org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:843)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:533)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:816)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:345)
>     at
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1404)
>     at
> org.eclipse.jetty.maven.plugin.JettyWebAppContext.startWebapp(JettyWebAppContext.java:323)
>     at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1366)
>     at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:778)
>     at
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:262)
>     at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:520)
>     at
> org.eclipse.jetty.maven.plugin.JettyWebAppContext.doStart(JettyWebAppContext.java:398)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at
> org.eclipse.jetty.server.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:161)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
>     at org.eclipse.jetty.server.Server.start(Server.java:411)
>     at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:106)
>     at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
>     at org.eclipse.jetty.server.Server.doStart(Server.java:378)
>     at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>     at
> org.eclipse.jetty.maven.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:460)
>     at
> org.eclipse.jetty.maven.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:328)
>     at
> org.eclipse.jetty.maven.plugin.JettyRunMojo.execute(JettyRunMojo.java:170)
>     at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:137)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:210)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:156)
>     at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:117)
>     at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:81)
>     at
> org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:56)
>     at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:305)
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
>     at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke(Method.java:498)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
>     at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
> 17:45:04.238 [main] INFO  o.a.s.c.IniSecurityManagerFactory - Realms have
> been explicitly set on the SecurityManager instance - auto-setting of
> realms will not occur.
>
>
> Вторник, 12 мая 2020, 17:49 +03:00 от Brian Demers <[email protected]
> >:
>
> Can you include the full stacktraces of both calls?
>
> On Tue, May 12, 2020 at 10:47 AM Alex Sviridov <[email protected]
> <//e.mail.ru/compose/?mailto=mailto%[email protected]>> wrote:
>
> Thank you for you answer. I removed Stormpath dependencies, but it didn’t
> help.
> OnInit method is still called twice.
>
> Best regards, Alex
>
>
> Вторник, 12 мая 2020, 17:39 +03:00 от Brian Demers <[email protected]
> <//e.mail.ru/compose/?mailto=mailto%[email protected]>>:
>
> Try removing the Stormpath dependencies:
> https://github.com/PashaTurok/shirotest/blob/master/pom.xml#L83-L93
>
> On Tue, May 12, 2020 at 10:29 AM Alex Sviridov <[email protected]
> <http://e.mail.ru/compose/?mailto=mailto%[email protected]>> wrote:
>
>
> Hi Brian,
>
> I wrote to you in mailing list bu got no any answer and can’t understand
> what
> I should do. Is this a bug? Do you have no free time to take a look? Is it
> a silly
> question? Or?
>
> Could you give any answer?
>
> Best regards, Alex
>
>
> Четверг, 7 мая 2020, 4:41 +03:00 от Alex Sviridov <[email protected]
> <http://e.mail.ru/compose/?mailto=mailto%[email protected]>>:
>
> Hi Brian,
>
> 1-3) I tried with Servket Filter and without it anyway onInit method is
> called twice. It seems to be bug.
>
> 4) As I see you have same packages for different modules, for example
> shiro/core/src/main/java/org/apache/shiro/config
> shiro/config/core/src/main/java/org/apache/shiro/config
> Besides I found this issue —
> https://issues.apache.org/jira/browse/SHIRO-679
>
> 5) I understood that you don’t have sources and javadoc for shiro-all.
> Maybe there is sense to add them?
> If people can’t use your modules, please, make their lives easier.
>
> Best regards, Alex
>
>
> Четверг, 7 мая 2020, 1:25 +03:00 от Brian Demers <[email protected]
> <http:///[email protected]>>:
>
> Hi Alex,
>
>
> 1-3.)
> Do you also have the Shiro Servlet Filter configured?
>
> 4.) We don't currently generate module-info metadata, but if there is
> something that isn't working for you please start another thread :)
>
> 5.) We don't have sources & Javadoc jars for `shiro-all` we only produce
> them for the individual modules.
>
>
> On Wed, May 6, 2020 at 4:23 AM Alex Sviridov <[email protected]
> <http://e.mail.ru/compose/?mailto=mailto%[email protected]>> wrote:
>
> Hi Brian,
>
> Thank you for quick answer.
>
> 1) This is my shiro.ini
>
> [main]
> cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
> securityManager.cacheManager = $cacheManager
> realm = com.foo.TestRealm
> securityManager.realms = $realm
>
> 2) This is my init code:
>
>             Environment env = new BasicIniEnvironment(url.toString());
>             final SecurityManager securityManager =
> env.getSecurityManager();
>             SecurityUtils.setSecurityManager(securityManager);
>
> 3) This is my TestRealm
>
> public class TestRealm extends AuthenticatingRealm {
>
>     private static final Logger logger =
> LoggerFactory.getLogger(TestRealm.class);
>     @Override
>     protected void onInit() {
>         logger.info("************************************On INIT");
>         try {
>             throw new Exception();
>         } catch (Exception ex) {
>             logger.error("Error", ex);
>         }
>         setCredentialsMatcher((AuthenticationToken at, AuthenticationInfo
> ai) -> {
>             logger.info("################################ [{}], [{}]",
> at, ai);
>             return false;
>         });
>
>     }
>
>
>     @Override
>     protected AuthenticationInfo
> doGetAuthenticationInfo(AuthenticationToken token) throws
> AuthenticationException {
>         UsernamePasswordToken upToken = (UsernamePasswordToken) token;
>         logger.info("REALM username [{}], password [{}]",
> upToken.getUsername(), upToken.getPassword());
>          return new SimpleAuthenticationInfo(new UserEntity(), null ,
> getName());
>     }
>
> }
>
>
> 4) I tried to use shiro-core + shiro-web, but it seems to be impossible to
> use
> shiro modules in jpms environment, so, I had to take shiro-all.
>
> 5) By the way, I couldn’t find javadoc and sources for shiro-al in maven
> repo
> https://repo1.maven.org/maven2/org/apache/shiro/shiro-all/1.5.3/
>
> Best regards, Alex
>
>
> Среда, 6 мая 2020, 4:09 +03:00 от Brian Demers <[email protected]
> <http://e.mail.ru/compose/?mailto=mailto%[email protected]>>:
>
> It depends, we would need to see the full stack trace, it's unclear what
> is setting up your environment.  How are you configuring Shiro?
>
> Also, I'd recommend against using the `shiro-all` and instead use
> `shiro-web`
>
> On Tue, May 5, 2020 at 7:01 PM Alex Sviridov <[email protected]
> <http://e.mail.ru/compose/?mailto=mailto%[email protected]>> wrote:
>
> Hi all,
>
> I am just learning Shiro, but I noticed that onInit method on  on
> AuthenticatingRealm
> is called twice. I have one TestRealm and this is stacktrace:
>
> First call:
>
>     at com.foo.TestRealm.onInit(TestRealm.java:37) [classes/:?]
>     at
> org.apache.shiro.realm.AuthenticatingRealm.init(AuthenticatingRealm.java:398)
> [shiro-all-1.5.3.jar:?]
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
> [shiro-all-1.5.3.jar:?]
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:829)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:288)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:181)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:139)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:107)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:98)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:47)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:150)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.env.BasicIniEnvironment.<init>(BasicIniEnvironment.java:37)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.env.BasicIniEnvironment.<init>(BasicIniEnvironment.java:41)
> [shiro-all-1.5.3.jar:?]
>
>
> Second call:
>
>     at com.foo.TestRealm.onInit(TestRealm.java:37) [classes/:?]
>     at
> org.apache.shiro.realm.AuthenticatingRealm.init(AuthenticatingRealm.java:398)
> [shiro-all-1.5.3.jar:?]
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
> [shiro-all-1.5.3.jar:?]
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
> [shiro-all-1.5.3.jar:?]
>     at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:61)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:292)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:181)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:139)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:107)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:98)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:47)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:150)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.env.BasicIniEnvironment.<init>(BasicIniEnvironment.java:37)
> [shiro-all-1.5.3.jar:?]
>     at
> org.apache.shiro.env.BasicIniEnvironment.<init>(BasicIniEnvironment.java:41)
> [shiro-all-1.5.3.jar:?]
>
> Could anyone say if it is a bug or it was done intentionally?
>
> --
> Best regards, Alex Sviridov
>
>
>
> --
> Alex Sviridov
>
>
>
>
> --
> Alex Sviridov
>
>
>
>
> --
> Alex Sviridov
>
>
>
>
> --
> Alex Sviridov
>
>
>
>
> --
> Alex Sviridov
>
>

Reply via email to