This is already integrated in appfuse.
Simply itnegrate the link to the password protected page, and if a user
clicks on this link, appfuse / spring / acegi will make sure that the user
logs in first.

If you use the struts-menu, simply remove the ...roles="...." part from the
menu entry (file menu-config.xml).

Bye,

Peter

2007/9/26, mikebgx <[EMAIL PROTECTED]>:
>
>
> My webapp will have some open pages and some private pages that need a
> password/login.
> For the private pages I'd like their menu options (and links to them from
> other pages) to be visible,
> but when the user clicks on them I'd like to divert them to the login page
> first.
>
> I've tried various approaches to no avail, What is the best way of doing
> this?
> --
> View this message in context:
> http://www.nabble.com/Acegi-tf4521366s2369.html#a12898098
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to