struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Mikheev <mi...@bigfoot.com>
Subject Re: Access control with roles
Date Mon, 06 Aug 2007 22:41:27 GMT
Session A Mwamufiya wrote:
> Is there a way to implement access control in struts 2?  I presume that we can use an
interceptor, but I'm not sure how to map actions to specific roles.  Any ideas?


http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/interceptor/RolesInterceptor.html

the beauty of it is that unlike standard J2EE security constraint
is can reference roles not described in web.xml

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message