File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply 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://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Dont want to use default user authentication but want roles
 
Similar Threads
how to display default page after jsp authentication
Custom Authentication & Authorization
reload messageresources
Usage of FORM login-config
Tomcat 6.0.32 HTTP Status 403 - Access to the requested resource has been denied