My application is partitioned in three areas:
  • a public area
  • an administration area
  • a reserved area


The public area (visible to all users) should contain a box for the authentication that should redirect to the reserved area.
From a dedicated URL an administrator should authenticate to get access to the administration area.

How can I achieve this using spring-security in a roo application?

I've found that I can set a default redirect using the attribute default-target-url but this is the same for each login forms.

I would like to build different login forms that redirect to different pages of the application.

Is that possible? And how?

LuKe