Re: Access control with roles

2007-08-06 Thread Oleg Mikheev
Session A Mwamufiya wrote: 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. Mapping roles to action is putting this into struts.xml:

Re: Access control with roles

2007-08-06 Thread Session A Mwamufiya
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 c

Re: Access control with roles

2007-08-06 Thread Oleg Mikheev
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.h

Re: Access control with roles

2007-08-06 Thread Dave Newton
--- 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? Set action properties (roles, in your case) in the config file? d. __

Access control with roles

2007-08-06 Thread Session A Mwamufiya
Hi, 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? Thanks, Session - To unsubscribe, e-mail: [EMAIL PRO