[JBoss-user] [JBossWS] - Re: JAXRPC Handler to modify incoming SOAP

2005-12-30 Thread shin.tai
Thanks for your reply Jason. I'm not following jbws-349 too well but it doesn't look related. I should have explained that I have two clients; one that works because it includes the attribute and one that doesn't. Bad message http://schemas.xmlsoap.org/soap/encoding/";> | | image

[JBoss-user] [JBossWS] - Re: JAXRPC Handler to modify incoming SOAP

2005-12-28 Thread shin.tai
Thanks Jason. I think that did the trick! But it looks like the attribute has no effect and I think it's because the XML has been deserialised once already. So I think when RPCInvocation does Vector args = body.getParams(); It returns the attributes before the XML was modified. I don't understa

[JBoss-user] [JBossWS] - JAXRPC Handler to modify incoming SOAP

2005-12-11 Thread shin.tai
Hi all, Has anyone out there managed to successfully use a JAXRPC handler to modify an incoming SOAP message? My incoming SOAP message does not have the xsi type attribute (dodgy client?) so I'm writing a handler to insert it for me if it's not present. I've had numerous problems already and I

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic Auth not propogating Security

2005-08-17 Thread shin.tai
Didn't figure out what was going wrong, but found another way. axis-config uses the HTTPAuthHandler to take the username/password from the authentication header and insert it into the its MessageContext. Get the username/password back using: MessageContext ctx = MessageContext.getCurrent

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic Auth not propogating Security

2005-08-10 Thread shin.tai
"[EMAIL PROTECTED]" wrote : If that is really the extend of your web.xml security-constraint you have no authentication/authorization required. That's right, it's more in there for completeness than anything else. In my sample application having the security sonstraint makes no difference. I'm

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic Auth not propogating Security

2005-08-09 Thread shin.tai
"niwhsa" wrote : Make sure you include the CLientLoginModule in the "mymail" authentication domain. This should help propogate the principal. Thanks but that didn't make a difference. I added the following to my login-config.xml (even to default as well just to be on the safe side): |

[JBoss-user] [Security & JAAS/JBoss] - Re: Basic Auth not propogating Security

2005-08-08 Thread shin.tai
Ahh I forgot to mention in my web.xml, I also have | | | anything | /* | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3888942#3888942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mod

[JBoss-user] [Security & JAAS/JBoss] - Basic Auth not propogating Security

2005-08-08 Thread shin.tai
Hi all, I'm porting an application to JBoss that uses basic authentication. I have classes that are exposed as webservices; they implement the Remote and the ServiceLifecycle interfaces. From here I need to pull the username and password from the Authorization header and do some 'manual' valida