aspose file tools
The moose likes Struts and the fly likes Security with 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 "Security with roles" Watch "Security with roles" New topic
Author

Security with roles

andres matus
Greenhorn

Joined: Dec 21, 2007
Posts: 15
Hi all...

i'm trying to implement security on my struts app, but i dont know how to set groups and roles to the app to identify if a user is in some role...


Be free...do what ever you whant
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
In order to do this, you must implement J2EE "container managed security". The mechanics of how to do this will depend on which application server you're using. If you're using Tomcat version 6, the following link should get you started:

http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html


Merrill
Consultant, Sima Solutions
sharathchandra sabbani
Greenhorn

Joined: Oct 15, 2007
Posts: 13
i'm using websphere webserver how to implement security roles for my application
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Security with roles
 
Similar Threads
Single Signon and (vs?) Webapp Realms
implement security constraints and assign users
Use JAAS for access control.
Getting defined security-roles programatically
How to assign users to security roles?