Thanks for the replies guys, but is there an example that I can follow?  It 
seems to me that a user's roles are defined in a request object, but I'm not 
sure how.  I'm continuing to search online for examples.

Thanks,
Session


> 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/inte
> rceptor/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: [EMAIL PROTECTED] For additional
> commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to