[JBossWS] - Accessing <entry> from SOAP Handler
by gang.yang
Hi,
I'm trying to develop a generic SOAP handler that can be configured to use with different WebService services. I need to pass into the handler service specific config data, such as config file name.
I tried to configure this generic handler with a Web-based WS service and defined the in web.xml. Even though I was not able to inject field into the handler class, I WAS able to look it up using JNDI.
However, I could not do this with an EJB3-based WS service. I defined the in ejb-jar.xml. But I could not inject the field into the handler or the EJB bean itelf. Nor could I look it up using JNDI. I'm using JBoss 4.2.2 and I could not even see the resource in the JNDIView.
Is this a bug? Does anyone have any more info or experience in this area?
Thanks,
Gang
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211249#4211249
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211249
17 years, 2 months
[Security & JAAS/JBoss] - Passing LDAP-authenticated users from Apache to JBoss
by dan957
Hi Everyone,
[Was looking for a way to transfer this post from another forum, but couldn't, so pasting here anyway. Apologies for those reading this twice :(]
I was hoping to get your insights. I am trying to migrate an Apache+LDAP+Tomcat application to an Apache+LDAP+JBoss set-up.
Authentication is done by Apache via LDAP for protected resources. While it works fine for the existing Tomcat set-up, on my JBoss set-up, it does not work; server.log shows nullpointer exceptions because it is not able to pick up the user that just logged in. I can confirm via Apache's logs that LDAP authentication is happening correctly, but looking at the JBoss request dumper logs, I observe that remoteuser=null. Other parameters have values in them, such as request uri, header referer, remoteaddr, servletpath, etc.
Now since I am not a developer, I am not sure if picking up the username from the Apache request should be done programatically, or if I am missing something in the JBoss configuration.
Apache 2.0.63, JBossAS4.2.3GA, mod_jk1.2.27
Kind regards,
Dan
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4211242#4211242
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4211242
17 years, 2 months