Thanks, 

I'll code it that way.
Are you interested in having that feature integrated in the framework in
later versions ? (after code review of course).

Pascal Gehl

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Ben Alex
Sent: Sunday, July 10, 2005 21:03
To: [email protected]
Subject: Re: [Acegisecurity-developer] Any support for multiple login pages
?

Pascal Gehl wrote:

>Hi guys,
>
>Sorry to send to the developper mailing list but I can't get answers 
>from the spring mailing list.
>
>I have a requirement to have different login pages depending on which 
>ressource is accessed.
>I checked the acegi API and found nothing. 
>Is there a "hidden" way to do that ?
>
>thanks
>
>Pascal Gehl
>  
>
You'd need your AuthenticationEntryPoint to be customised:

    public void commence(ServletRequest request, ServletResponse response,
AuthenticationException authException) throws IOException, ServletException;

You can check the ServletRequest to determine the URL being requested, and
then redirect accordingly. Base it on
AuthenticationProcessingFilterEntryPoint.

Cheers
Ben




-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP, 
AMD, and NVIDIA.  To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to