3 Replies Latest reply on May 2, 2007 9:37 AM by knaas

    remoting with security

      I am attempting to secure our @WebRemote methods and I'm having a bit of trouble.

      I have a SB with two @WebRemote methods. I then put a @Restrict on the SB implementation class. When a call is made to one of the methods from the javascript, it does correctly validate that the restrictions are met. However, the response from the server is a 200 status with an empty responseText. Thus, I cannot automatically redirect the user to a login page (like Ajax4jsf does).

      Note that the server prints out the NotLoggedInException (and AuthorizationException) in the logs.

      Is there a way to hook up the ExceptionFilter to the Seam Remoting requests?

      Thanks!