Using tapestry-acegi's LogoutService

View: New views
5 Messages — Rating Filter:   Alert me  

Using tapestry-acegi's LogoutService

by Kai Weber-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi:

how would I do this: Everytime a new authentication attempt is made
logout the current user.

What I tried to inject the LogoutService into my custom
AuthenticationProcessingFilter, but I can not call
logoutService.logout() because no RequestGlobals is injected into the
LogoutService.

Any ideas?

Regards, Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Using tapestry-acegi's LogoutService

by Juan E. Maya :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Kai i am not sure how to do it with Tapestry-acegi but this use case
is already supported by Spring Security:

http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-concurrent-session

On Thu, Jul 2, 2009 at 3:52 PM, Kai Weber<kai.weber@...> wrote:

> Hi:
>
> how would I do this: Everytime a new authentication attempt is made logout
> the current user.
>
> What I tried to inject the LogoutService into my custom
> AuthenticationProcessingFilter, but I can not call logoutService.logout()
> because no RequestGlobals is injected into the LogoutService.
>
> Any ideas?
>
> Regards, Kai
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Using tapestry-acegi's LogoutService

by Kai Weber-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Juan E. Maya schrieb:
> Kai i am not sure how to do it with Tapestry-acegi but this use case
> is already supported by Spring Security:
>
> http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-concurrent-session
>  
Is it possible to use spring-security together with Tapestry? How would
I start?

Regards, Kai

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Using tapestry-acegi's LogoutService

by Ulrich Stärk :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is and you'd start by searching the archives and reading the information in the Howtos section of
the wiki.

Uli

On 02.07.2009 17:36 schrieb Kai Weber:

> Juan E. Maya schrieb:
>> Kai i am not sure how to do it with Tapestry-acegi but this use case
>> is already supported by Spring Security:
>>
>> http://static.springsource.org/spring-security/site/docs/2.0.x/reference/ns-config.html#ns-concurrent-session 
>>
>>  
> Is it possible to use spring-security together with Tapestry? How would
> I start?
>
> Regards, Kai
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...


Re: Using tapestry-acegi's LogoutService

by Thiago H. de Paula Figueiredo :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Jul 2, 2009 at 12:36 PM, Kai Weber<kai.weber@...> wrote:
> Is it possible to use spring-security together with Tapestry? How would I
> start?

Take a look at Tapestry-Spring Security:
http://www.localhost.nu/java/tapestry-spring-security/. You use it
almost the same as you use Tapestry-Acegi.

--
Thiago

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...