What is the best prctice for using security in JAX-WS

大憨熊 提交于 2019-12-05 18:59:53
rook

One thing is certain, you must use HTTPS. SSL is the glue to keep a secure connection between these components.

If there are services that are spread between different domains/servers and you require a web browser/clients to maintain state across all of these systems then oAuth is a good solution. There is a Java and PHP oAuth implantation on that site. oAuth is flexible and fills a lot of needs.

A more simplistic approach is to use HTTP basic authentication with an access control list backed by an SQL database. Session state could be stored in the database or in a Session Bean and accessed by your custom web service. This is more commonly implemented than oAuth.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!