File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Security with roles Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Security with roles" Watch "Security with roles" New topic

Security with roles

andres matus

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 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:

Consultant, Sima Solutions
sharathchandra sabbani

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:
subject: Security with roles
It's not a secret anymore!