You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by Stephen Burns <st...@tias.com.au> on 2003/01/20 02:17:42 UTC

Forcing a logout from an Application...

When using the (sunrise) authentication framework with applications, is
there any way to force a logout of an individual application?

We have a system set up that uses one handler and x number of
applications.  The user is logged in to each application on demand.
However, each of the applications have different timeouts (they are
external web services) and a user can become logged out from an
individual application.  We would like to automatically log the user
back into the application when this occurs.

 

Ive checked the source, and I think that by setting setIsLoaded(false)
in the relevant Applicationhandler may force the framework to log in
again.  However the AuthenticationManager will not allow me to get
access to the relevant object.

 

Thanks in advance.

Stephen Burns


Re: Forcing a logout from an Application...

Posted by Antonio Gallardo <ag...@agsoftware.dnsalias.com>.
Hi!

I think you can use Javascript to set a timer that will refresh the
connection before the session expire.

Can this be your solution?

Antonio Gallardo.

Stephen Burns dijo:
> When using the (sunrise) authentication framework with applications, is
> there any way to force a logout of an individual application?
>
> We have a system set up that uses one handler and x number of
> applications.  The user is logged in to each application on demand.
> However, each of the applications have different timeouts (they are
> external web services) and a user can become logged out from an
> individual application.  We would like to automatically log the user
> back into the application when this occurs.
>
>
>
> Ive checked the source, and I think that by setting setIsLoaded(false)
> in the relevant Applicationhandler may force the framework to log in
> again.  However the AuthenticationManager will not allow me to get
> access to the relevant object.
>
>
>
> Thanks in advance.
>
> Stephen Burns




---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org