English 中文(简体)
查阅Javax-jws网络服务
原标题:Access Authentication from Javax-jws web service
  • 时间:2010-06-01 17:25:25
  •  标签:
  • jax-ws

我利用日本宇宙航空研究开发机构——JWS实施了网络服务。 我希望这一网络服务能够验证即将提出的申请,或者在东部能够查阅用户名称——Sap请求中发出的密码信息。 这样做的最佳方式是什么?

问题回答

Maybe the simplest way is to exchange authentication token between your clients and your WS. The first client call would be an authentication. The WS would return the token that is to be passed in all the following calls for the client credentials. You can set an expiration time on the token. You can use the SOA header properties for that With this approach the advantage is that your WS does not have to repeat the authentication/authorization procedure over and over again, and gives you the full advantage of controlling who s using the application





相关问题
Groovy & Jax-ws: @WebMethod annotation ignored

I recently found an example on implementing a We3bService with groovy and jax-ws: the problem is that the @webmethod annotation seems to be ignored. This is the source code of the groovy script: ...

JBoss Web Services Behind IIS Through HTTPs

This is a tangled web that s woven, I suppose, but it really shouldn t be all that hard. Let me see if I can paint the picture: I have written a web service, starting with a WSDL, which is to run in ...

Advantages of using a Dynamic Client with JAX-WS

What are the advantages of using a dynamic client with JAX-WS services as opposed to just using generated client classes? What are the disadvantages? **For my particular case I am using Apache CXF, I ...

wsimport ant task assumptions and how to work around those

I use the ant task from jax-ws - wsimport to generate my dto s. What I m wanting to know is what assumptions does wsimport make? for example, w.r.t to the service endpoint and the location of the ...

Jaxb2Marshaller and primitive types

Is it possible to create a web service operation using primitive or basic Java types when using the Jaxb2Marschaller in spring-ws? For example a method looking like this: @Override @PayloadRoot(...

热门标签