[jboss-dev-forums] [Design of JBoss Remoting, Unified Invokers] - Re: http-invoker and authentication info
dsengupt
do-not-reply at jboss.com
Thu May 24 11:39:23 EDT 2007
Every http request runs in a separate thread. The SecurityAssociation of that thread can be set via a filter(that is where you can get the user from the cookie and perform a JAAS login or call SecurityAssociation.setPrincipal - i would do it through JAAS to ensure the principal is pushed and popped in a stack). Your servlet should get this principal back (using SecurityAssociation.getPrincipal) and set the MarshalledInvocation.
One reason why your servlet is not invoked is because the HttpInvoker has not been configured to use your servlet. By default it uses the JMXInvokerServlet. One way to do it is to specify that the invoker URL is in a System property on the client.
{Put your property name here}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048367#4048367
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048367
More information about the jboss-dev-forums
mailing list