*
The moose likes Struts and the fly likes Dont want to use default user authentication but want roles 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 » Frameworks » Struts
Bookmark "Dont want to use default user authentication but want roles" Watch "Dont want to use default user authentication but want roles" New topic
Author

Dont want to use default user authentication but want roles

Janis Olex
Greenhorn

Joined: Aug 21, 2003
Posts: 12
Hi, dudes!
Finally I found somebody doing same crazy stuff I do (developing in JAVA)
I have one problem (ambition)!
I don't understand quite how does user stuff is managed during default servlet engine?
I mean! I don't want do all this default user authentication, tomcat-users.xml and web.xml configuration. But I still want HttpServlet.isUserInRole() to use!
So how do my servlet can set up roles (read by my application from very secure Mysql DB) in such a way that Struts 1.1. and Servlet engine becomes aware of them!
Mostly I need Struts-tiles and struts-logic to use them to show/hide different parts of the application!
Thanks


-----<br />Programmers are tools to convert cofein into code.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dont want to use default user authentication but want roles
 
Similar Threads
Tomcat 6.0.32 HTTP Status 403 - Access to the requested resource has been denied
reload messageresources
how to display default page after jsp authentication
Usage of FORM login-config
Custom Authentication & Authorization