Reading HTTP headers from JAX-WS Web Service -


i have jax-ws web service receives credentials in http header. these used basic authentication.

there filter performs authentication reading http headers , checking against database.

still, need username within web service in order perform other service logic related stuff. there way of accessing http headers within web service?

thanks.

the webservicecontext object work me. ca injected in web services resource:

@resource private webservicecontext context;


Comments

Popular posts from this blog

List<T>().Add problem C# -

Javascript natural sort array/object and maintain index association -