Did you try adding a property for this exception to the exceptionResolver bean 
in your action-servlet.xml file?

Stuart 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
]On Behalf Of ErwinF
Sent: Thursday, January 25, 2007 9:16 AM
To: [email protected]
Subject: [appfuse-user] Exception handling with ACL



I have a question about the use of Acegi, and especially the use of ACL
security.
Perhaps someone at these forums can help me.

I have set up ACL for my domain objects, and it is working.
However, since i am relativily new to the whole Spring / Acegi matter, i am
struggling with some configuration issues.
I tried browsing the forums to see if anyone else had the same problems, but
i cant seem to find the answer.

What i want to do is the following:
Whenever an AccessDeniedException is thrown by the interceptor, i want to
catch that exception and forward to an accessdenied.jsp or equivalent.
Problem is, i dont know how. I tried some stuff with
ExceptionTranslationFilter, but it doesnt work.

Whenever i deliberately try to force an accessdeniedexception, the resulting
exception stacktrace is shown in my browser, and nothing is caught and
handled.

Can someone point me in the right direction?

Thanks
-- 
View this message in context: 
http://www.nabble.com/Exception-handling-with-ACL-tf3110055s2369.html#a8619903
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
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