shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Demers <brian.dem...@gmail.com>
Subject Re: [jira] [Commented] (SHIRO-616) Two different sessions are created
Date Mon, 20 Mar 2017 14:24:51 GMT
How are you configuring the Servlet environment via Dropwizard?

Are you doing something similar to this:
https://github.com/stormpath/stormpath-shiro/blob/master/examples/dropwizard-angularjs/src/main/java/com/stormpath/shiro/samples/dropwizard/bundle/shiro/StormpathShiroBundle.java#L37-L44

On Sun, Mar 19, 2017 at 5:03 PM, thiagesh (JIRA) <jira@apache.org> wrote:

>
>     [ https://issues.apache.org/jira/browse/SHIRO-616?page=
> com.atlassian.jira.plugin.system.issuetabpanels:comment-
> tabpanel&focusedCommentId=15931962#comment-15931962 ]
>
> thiagesh commented on SHIRO-616:
> --------------------------------
>
> On further debugging using Thread.currentThread().getId(), i found that
> im getting different sessionID's for different threads!
>
> > Two different sessions are created
> > ----------------------------------
> >
> >                 Key: SHIRO-616
> >                 URL: https://issues.apache.org/jira/browse/SHIRO-616
> >             Project: Shiro
> >          Issue Type: Bug
> >            Reporter: thiagesh
> >
> > After first login i get a session id.
> > During the second login, i get a different session id and
> isAuthenticated returns false, as a result of which i call login for the
> second time.
> > After that i get both the session ID's alternatively for subsequent
> requests.
> > FYI I use shiro on top of dropwizard.
>
>
>
> --
> This message was sent by Atlassian JIRA
> (v6.3.15#6346)
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message