hi i am using jax-ws handlers,i have set username and paddword property in client side
Map context = ((BindingProvider) hello).getRequestContext(); context.put(BindingProvider.USERNAME_PROPERTY, "user"); context.put(BindingProvider.PASSWORD_PROPERTY, "pass"); in the handler i want to access username and password i am able to get username public boolean handleMessage(MessageContext context) { javax.servlet.http.HttpServletRequest httpServletRequest = ((javax.servlet.http.HttpServletRequest)context.get(MessageContext.SERVLET_REQUEST)); System.out.println("user name"+httpServletRequest.getRemoteUser()); System.out.println("principle"+httpServletRequest.getUserPrincipal()); return true; } i am getting fallowing output from the handler user name user user username="user" password="pass" roles="basicUser" but i need password alone .... how to get password alone...which property i have to use View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4117016#4117016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4117016 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user