We use FORM based authorization. But it seems that to make login page dynamical is quite difficult. Let me explain a test case:
Our web portal has several general modules and every module require authorization. Now to authorize user is redirected to common user page login.jsp, but it would be greate if interface of login page depends upon module which request user to authroze. Any suggestions are welcome?
Also is it imposible to obtain url of secured page to obtain wich login page was displaed?
I must be possible to make the login page dynamic using an server side action (e.g. a Struts action, login.do). In this action you can forward to the login in page you want depending on your module.
Hope this is what you where looking for.