Re: Struts138 - Restrict Access to my actions?

2007-09-19 Thread Paul Benedict
Thomas, But you're using Struts 1.3.8 right? The interceptor solution is for Struts 2. I once thought of adding an internal attribute to my Struts actions. If the action had this property set through set-property, then the Controller would not allow the action to be executed directly (i.e.,

Struts138 - Restrict Access to my actions?

2007-09-18 Thread Thomas.Zygadlewicz
Hi, I want to restrict access to my actions - meaning: I dont want users to be able to type them in the adressbar and jump around in my page as they like to. It kinda makes my navigation effords senseless. Ive try to write a servlet-filter which checks for actions beginning with secure - but

Re: Struts138 - Restrict Access to my actions?

2007-09-18 Thread Balaji J
if I call it from one of my classes or directly from the adress-bar Id love another approach - or some corrections for my filter thanks guys regards, Tom -- View this message in context: http://www.nabble.com/Struts138---Restrict-Access-to-my-actions--tf4472422.html

AW: Struts138 - Restrict Access to my actions?

2007-09-18 Thread Thomas.Zygadlewicz
: Dienstag, 18. September 2007 10:22 An: user@struts.apache.org Betreff: Re: Struts138 - Restrict Access to my actions? Hi Tom, Interceptor is the best solution for this kind of problem. Pass all your action requests to your custom interceptor that should validate your requests and redirect