This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "form based security question" Watch "form based security question" New topic
Author

form based security question

Jim Babcock
Ranch Hand

Joined: Dec 03, 2004
Posts: 55
Hello,

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.

Thanks,

JimB
[ June 30, 2005: Message edited by: Jim Babcock ]
 
wood burning stoves
 
subject: form based security question
 
Similar Threads
Form Authentication Security
Serving content based on authenticated roles
Best practice for secure login authorisation
action="j_security_check"
JAAS with JBoss