You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jspwiki.apache.org by "Mattier, Ricardo" <Ri...@bcbsma.com> on 2008/02/26 17:49:55 UTC

Authentication timeout

Hello,
   I am working on deploying JSPWiki 2.6.1 on Weblogic 9.2.  I have been
successful so far, however I have run into a slight snag.  It seems once
you authenticate into JSPWiki, the session times out and sends you back
to the login screen.  Does JSPWiki keep session by way of cookies?  I
have deployed the same JSPWiki on both Tomcat, and Weblogic and Tomcat
works fine.  If anyone has any suggestions, it would be helpful.

-RM

This message is a PRIVATE communication.
If you are not the intended recipient, please do not read, copy
or use it and do not disclose it to others.  Please notify the
sender of the delivery error by replying to this message and then
delete from your system.  Thank you.

Re: Authentication timeout

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
Nope.  That would be a serious memory leak.

But you can control it from the web.xml; or you can enable the  
CookieAuthenticationModule in jspwiki.jaas (which gives you a  
"Remember me" -checkbox when you log in, and remembers you for two  
weeks.)

/Janne

On 4 Mar 2008, at 21:03, Petr Tomasek wrote:

> I also have this problem, I always need to login twice. BTW is it  
> possible
> to have no timeout at all?
>
> 2008/2/27, Janne Jalkanen <Ja...@ecyrd.com>:
>>
>>>    I am working on deploying JSPWiki 2.6.1 on Weblogic 9.2.  I have
>>> been
>>> successful so far, however I have run into a slight snag.  It seems
>>> once
>>> you authenticate into JSPWiki, the session times out and sends you
>>> back
>>> to the login screen.  Does JSPWiki keep session by way of  
>>> cookies?  I
>>> have deployed the same JSPWiki on both Tomcat, and Weblogic and  
>>> Tomcat
>>> works fine.  If anyone has any suggestions, it would be helpful.
>>
>> Short answer: yes, JSPWiki keeps session in cookies.
>>
>> It sounds to me that you have a problem with virtualhosts - that is,
>> e.g. you are logging in at "www.mycompany.com", but baseURL is set to
>> "mycompany.com" or something like that.
>>
>> /Janne
>>


Re: Authentication timeout

Posted by Petr Tomasek <do...@gmail.com>.
I also have this problem, I always need to login twice. BTW is it possible
to have no timeout at all?

2008/2/27, Janne Jalkanen <Ja...@ecyrd.com>:
>
> >    I am working on deploying JSPWiki 2.6.1 on Weblogic 9.2.  I have
> > been
> > successful so far, however I have run into a slight snag.  It seems
> > once
> > you authenticate into JSPWiki, the session times out and sends you
> > back
> > to the login screen.  Does JSPWiki keep session by way of cookies?  I
> > have deployed the same JSPWiki on both Tomcat, and Weblogic and Tomcat
> > works fine.  If anyone has any suggestions, it would be helpful.
>
> Short answer: yes, JSPWiki keeps session in cookies.
>
> It sounds to me that you have a problem with virtualhosts - that is,
> e.g. you are logging in at "www.mycompany.com", but baseURL is set to
> "mycompany.com" or something like that.
>
> /Janne
>

Re: Authentication timeout

Posted by Janne Jalkanen <Ja...@ecyrd.com>.
>    I am working on deploying JSPWiki 2.6.1 on Weblogic 9.2.  I have  
> been
> successful so far, however I have run into a slight snag.  It seems  
> once
> you authenticate into JSPWiki, the session times out and sends you  
> back
> to the login screen.  Does JSPWiki keep session by way of cookies?  I
> have deployed the same JSPWiki on both Tomcat, and Weblogic and Tomcat
> works fine.  If anyone has any suggestions, it would be helpful.

Short answer: yes, JSPWiki keeps session in cookies.

It sounds to me that you have a problem with virtualhosts - that is,  
e.g. you are logging in at "www.mycompany.com", but baseURL is set to  
"mycompany.com" or something like that.

/Janne