简体   繁体   English

使用Spring Security的Spring RESTFul Web服务安全客户端调用

[英]Spring RESTFul Webservice secure client call using Spring Security

i am going to develop a RESTFul web service using Spring WS. 我将使用Spring WS开发RESTFul Web服务。 This service will receive an XML as request which will have authentication information as well as request information. 该服务将接收XML作为请求,该XML将包含身份验证信息和请求信息。

I need to parse XML request and get those authentication details and authenticate that request. 我需要解析XML请求并获取那些身份验证详细信息并对该请求进行身份验证。

How can i achieve this functionality using Spring Security? 如何使用Spring Security实现此功能? Or any other way for this? 或其他任何方式呢?

Please Help. 请帮忙。 Thanks. 谢谢。

As far as I know, you can only develop contract-first SOAP services with Spring-WS. 据我所知,您只能使用Spring-WS开发合同优先的SOAP服务。

Spring Web Services aims to facilitate contract-first SOAP service development, allowing for the creation of flexible web services using one of the many ways to manipulate XML payloads Spring Web Services旨在促进合同优先SOAP服务的开发,从而允许使用多种操作XML负载的方式之一来创建灵活的Web服务。

Check out: http://static.springsource.org/spring-ws/sites/2.0/ 检出: http : //static.springsource.org/spring-ws/sites/2.0/

Take a look at this page for examples on how to create restful services with Spring 3.x. 查看页面,获取有关如何使用Spring 3.x创建静态服务的示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM