permaculture playing cards
The moose likes Tomcat and the fly likes form based security question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "form based security question" Watch "form based security question" New topic

form based security question

Jim Babcock
Ranch Hand

Joined: Dec 03, 2004
Posts: 55

Forgot to mention that I'm using Tomcat 5.5x

I'm using form based security on my realms and I'd like to make what menus are available to the user based on their login, which means that I need a login button. I've done this, just pointing the user at the login page and it works... except that there is now where for the security app to redirect it to (I'd like it to reload the initial page with new menus available based on user_roles).

Is there a more elegant way to do this than to create a realm thats open to every role and has nothing more than a page that redirects to the home page.


[ June 30, 2005: Message edited by: Jim Babcock ]
I agree. Here's the link:
subject: form based security question
It's not a secret anymore!