You can make your security checking mechanism separate from stripes and your servlet. Then, invoke this mechanism from your servlet as needed. In Stripes use an interceptor method to invoke the mechanism before action is processed.

W dniu 23.02.2012 06:10, ted_smith2...@comcast.net pisze:
Hi:

I need to setup security checkpoint so that certain action+event are not allowed for a user while others are. I could use stripes lifestage to invoke a method to check. But it would only affect those actions defined by stripes. If I have a separate serlet(like a web service) that I want to apply the same security rule,
I am not seeing easy to to merge it.

I could use a standard filter outside stripes. But How can I get the stripes action and event name. I am using DynamicMapFilter to action resolution. I do not think putting security filter after
it would work since DynamicMapFilter would invoke the action already.

Thanks in advance.




------------------------------------------------------------------------------
Virtualization&  Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/


_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to