Configuring WS-Security UsernameToken and WS-SecureConversation (Symmetric Connection Creation)
Context
This procedure provides a detailed process of all necessary steps to secure Web Services with SecureConversation and to set up the authentication of the users using user name and password. This example uses two AS ABAP systems and individual SOA Manager configuration.
Procedure
- Set up the trust relationship between the
systems so that the provider trusts the consumer and the consumer trusts the provider.More information:
- In the SOA Manager of the provider, on the Business
Administration tab page, choose the Single
Service Administration link.Find the service that is to be accessed using the UsernameToken and for which you now want to define an end point.
Select the service in the list of search results and choose Apply
Selection.On the Configurations tab
page, choose the Create
Service button.In the dialog box, specify the name of the new service, its description, and the name of the end point (binding name, such as UN_SC_SYMM), and choose Copy
settings.Scroll down, to specify the options for security at transport and message levels on the Provider
Security tab page.Under Transport
Guarantee, select the Symmetric
message signature/encryption radio button, and check the SecureConversation checkbox,
and under Authentication
Method, under Authentication
at Message Level, check the User
ID and Password.Save your entries.
On the Overview tab
page, use the input help to select the end point defined above. Choose the linkDisplay
WSDL URL for Selected Binding.Enter the name and password of the user that has access authorization for the WSDL document.
- In the SOA Manager of the consumer, on the Business
Administration tab page, choose the Web
Service Administration link.Find the consumer proxy that is to be used to access the service end point, and for which you want to define a logical port.
Select the consumer proxy in the list of search results and choose Apply
Selection.On the Configurations tab
page, choose the Create
Log. Port button.Specify the following in the dialog box:
The name of the new service
The name of the logical port and its description
For configuration type, select the WSDL-Based
Configuration buttonUnder WSDL access settings, select the Via
HTTP Access radio buttonUnder WSDL location, copy the URL that you called for the WSDL document in the provider to the field URL
for WSDL Access:.WSDL access user: the same user as in the provider
WSDL access user password: the same password as in the provider
Choose the Copy
settings button.
Scroll down.
In the User
Name field, specify the user name, and in the Password field,
specify the password of the user that has access to the WSDL URL.In the Encryption
Certificate field, specify the encryption certificate of the provider that you imported above.Save your entries.
最新文章
- C#回顾 –5.反射
- ubuntu安装mysql--PC端
- iOS 关于AFNetworking ssl 待完成
- Node.js 异步模式浅析
- C/C++求职宝典21个重点笔记
- bzoj3931: [CQOI2015]网络吞吐量
- Hybrid App 和 React Native 开发那点事
- Android_Intent_startActivityForResult
- jmeter控制器
- WdatePicker日期不能弹出框
- 在Hudson Job中启动daemon进程
- CVE-2017-8464复现 (远程快捷方式漏洞)
- UITableViewCell滑动删除及移动
- 【map】p1184 高手之在一起
- linux 第七周 总结及实验
- 【转载】大连商品交易所-新套利撮合算法FAQ
- P3932 浮游大陆的68号岛
- ubuntu14.0安装ITK的步骤
- [问题]通过IIS宿主发布WCF服务,客户端添加服务引用出错的解决办法
- “MSDTC 事务的导入失败: Result Code = 0x8004d00e。