You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by Datta <ma...@yahoo.com> on 2011/08/04 21:57:51 UTC

Frequent Logout issue

Hi, 
We have 2 Active directories,  We have been using Form Based Active
Directory Authentication via Shiro Frame work. 
The issue we are facing now after few months of Production deployment is
users are frequently logged out when user try to navigate to restricted
resources,
Is there a way to investigate this issue? Any pointer would be helpers
Do it have anything to do with Load balancer Sticky session?
Is there any configuration setting in shiro similar to Spring ecegi security


      <bean id="httpSessionContextIntegrationFilter"
class="org.acegisecurity.context.HttpSessionContextIntegrationFilter">
        <property name="forceEagerSessionCreation"> 
            <value>1</value> 
        </property> 
      </bean>



Thanks
Datta


--
View this message in context: http://shiro-user.582556.n2.nabble.com/Frequent-Logout-issue-tp6654093p6654093.html
Sent from the Shiro User mailing list archive at Nabble.com.

Re: Frequent Logout issue

Posted by Les Hazlewood <lh...@apache.org>.
"Users are frequently logged out when trying to navigate to restricted
resources"

There is nothing in Shiro that will do this automatically aside from
session expiration.  If a session expires however, the Subject is no
longer considered authenticated, so if they try to access a restricted
resource they will typically be redirected to a login page (usually
done by the 'authc' filter or similar).  Whether a session is sticky
or not wouldn't have an impact.

Also, I don't know what the 'forceEagerSessionCreation' mechanism does
or why it would be used.

Regards,

-- 
Les Hazlewood
CTO, Katasoft | http://www.katasoft.com | 888.391.5282
twitter: http://twitter.com/lhazlewood
katasoft blog: http://www.katasoft.com/blogs/lhazlewood
personal blog: http://leshazlewood.com

Re: Frequent Logout issue

Posted by Datta <ma...@yahoo.com>.
Please add this to discussion list
Thanks
Dattaram


________________________________
From: Datta [via Shiro User] <ml...@n2.nabble.com>
To: Datta <ma...@yahoo.com>
Sent: Thursday, August 4, 2011 3:57 PM
Subject: Frequent Logout issue


Hi, 
We have 2 Active directories,  We have been using Form Based Active Directory Authentication via Shiro Frame work. 
The issue we are facing now after few months of Production deployment is users are frequently logged out when user try to navigate to restricted resources, 
Is there a way to investigate this issue? Any pointer would be helpers 
Do it have anything to do with Load balancer Sticky session? 
Is there any configuration setting in shiro similar to Spring ecegi security 


      <bean id="httpSessionContextIntegrationFilter" class="org.acegisecurity.context.HttpSessionContextIntegrationFilter">
        <property name="forceEagerSessionCreation">  
            <value>1</value>  
        </property>  
      </bean>



Thanks 
Datta 


________________________________
 
If you reply to this email, your message will be added to the discussion below:http://shiro-user.582556.n2.nabble.com/Frequent-Logout-issue-tp6654093p6654093.html 
To start a new topic under Shiro User, email ml-node+582556-1809253981-318869@n2.nabble.com 
To unsubscribe from Shiro User, click here.

--
View this message in context: http://shiro-user.582556.n2.nabble.com/Frequent-Logout-issue-tp6654093p6654104.html
Sent from the Shiro User mailing list archive at Nabble.com.