[jboss-user] [JBoss Seam] - remoting with security

knaas do-not-reply at jboss.com
Tue May 1 12:03:57 EDT 2007

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?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4042150#4042150

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4042150

More information about the jboss-user mailing list