On Sat, Nov 22, 2008 at 1:01 AM, Joshua Oransky
<[EMAIL PROTECTED]> wrote:
>        Is it possible to redirect a user to different login screens based on
> where they try to access ACL'd content? For example, I want to have a member
> area and an admin area of a site. If an anonymous user hits the admin area,
> he should be presented with the admin login screen; whereas if the user hits
> the member area, they get that login instead.

You can do that in the sling 404 error handler,
/libs/sling/servlet/errorhandler/404.jsp as JSP for example (have a
look at how it is implemented in CQ5). Depending on the original
requested path you can redirect to different login screens.

Regards,
Alex

-- 
Alexander Klimetschek
[EMAIL PROTECTED]

Reply via email to