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

  1. Set up the trust relationship between the
    systems so that the provider trusts the consumer and the consumer trusts the provider.

  2. In the SOA Manager of the provider, on the Business
    Administration tab page, choose the Single
    Service Administration link.

    1. Find the service that is to be accessed using the UsernameToken and for which you now want to define an end point.

    2. Select the service in the list of search results and choose Apply
      Selection.

    3. On the Configurations tab
      page, choose the Create
      Service button.

    4. 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.

    5. Scroll down, to specify the options for security at transport and message levels on the Provider
      Security tab page.

    6. 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.

    7. Save your entries.

    8. On the Overview tab
      page, use the input help to select the end point defined above. Choose the linkDisplay
      WSDL URL for Selected Binding.

    9. Enter the name and password of the user that has access authorization for the WSDL document.

  3. In the SOA Manager of the consumer, on the Business
    Administration tab page, choose the Web
    Service Administration link.

    1. 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.

    2. Select the consumer proxy in the list of search results and choose Apply
      Selection.

    3. On the Configurations tab
      page, choose the Create
      Log. Port button.

    4. 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 button

      • Under WSDL access settings, select the Via
        HTTP Access radio button

      • Under 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.

    5. Scroll down.

    6. 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.

    7. In the Encryption
      Certificate field, specify the encryption certificate of the provider that you imported above.

    8. Save your entries.

Configuring WS-Security UsernameToken and WS-SecureConversation (Symmetric Connection Creation)的更多相关文章

  1. WS Security 认证方式详解

    本文参考文档如下: MSDN 官方详解 : http://www.microsoft.com/china/MSDN/library/WebServices/WebServices/HowASP.NET ...

  2. 安装cloudermanager时如何正确Configuring TLS Security for Cloudera Manager

    不多说,直接上干货! 参考官网 https://www.cloudera.com/documentation/enterprise/5-2-x/topics/cm_sg_config_tls_secu ...

  3. [Fiddler] The connection to 'xxxxx.com' failed. <br />System.Security.SecurityException Failed to negotiate HTTPS connection with server.fiddler.network.https&gt; HTTPS handshake to intelte

    最近利用模拟发get请求的时候出现: [Fiddler] The connection to ‘xxxxx.com' failed. <br />System.Security.Secur ...

  4. 发布WS接口与实现WS接口[小列子]

    webservice简介:Web Service技术, 能使得运行在不同机器上的不同应用无须借助附加的.专门的第三方软件或硬件, 就可相互交换数据或集成.依据Web Service规范实施的应用之间, ...

  5. VTORRAAYY ws+tls+nginx config

    # nginx conf partal location /haha { proxy_redirect off; # the prot should same with config v2*** pr ...

  6. 浏览器中的WebSocket("ws://127.0.0.1:9988");

    <script type="text/javascript"> function WebSocketTest() { if ("WebSocket" ...

  7. Web Service-- 使用 JDK 发布 WS

    Web Service,即“Web 服务”,简写为 WS,从字面上理解,它其实就是“基于 Web 的服务”.而服务却是双方的,有服务需求方,就有服务提供方.服务提供方对外发布服务,服务需求方调用服务提 ...

  8. 轨迹系列6——车载GPS对接方案汇总小结(809、自定义协议、前置库、WS)

    文章版权由作者李晓晖和博客园共有,若转载请于明显处标明出处:http://www.cnblogs.com/naaoveGIS/ 1.背景 最近在不同项目中对接了多个车载GPS厂商服务终端,绝大多数厂商 ...

  9. nodejs+expressjs+ws实现了websocket即时通讯,服务器和客户端互相通信

    nodejs代码 // 导入WebSocket模块: const WebSocket = require('ws'); // 引用Server类: const WebSocketServer = We ...

随机推荐

  1. rem布局配合less的快速开发

    最近在进行静态页面的制作,为了方便和快速的布局,自己整理了一套工具可以快速的进行工作,剩余的时间大家都懂的,话不多说,来看具体的东西吧! 1.ps 下载这个软件→cutterman 十分强大的切图功能 ...

  2. Varnish 实战项目

    实现基于Keepalived+Haproxy+Varnish+LNMP企业级架构 原理:缓存,又称加速器,用于加速运行速度较快的设备与较慢设备之间的通信.基于程序的运行具有局部性特征其能实现加速的功能 ...

  3. Python进阶---面向对象第三弹(进阶篇)

    Python对象中一些方法 一.__str__ class Teacher: def __init__(self,name,age): self.name=name self.age=age self ...

  4. python操作Mysql基础

    import pymysql #不修改数据 def no_data_change(): db=pymysql.connect('host','user','pw','db_name') #host,u ...

  5. Mysql的学习笔记(一)--检验数据库是否安装成功以及一些入门的简单的dos命令

    一:如何检验数据库是否安装成功: 1:以管理员的身份打开命令提示符,具体如何用管理员的身份打开请参考下面 https://jingyan.baidu.com/article/e73e26c0f87c2 ...

  6. 如何管理Session(防止恶意共享账号)——理论篇

    目录 知识要求 背景 技术原理 如何管理Session remember me的问题 附录 知识要求 有一定的WEB后端开发基础,熟悉Session的用法,以及与Redis.Database的配合 本 ...

  7. Spring4 IOC详解

    Spring4 IOC详解 上一章对Spring做一个快速入门的教程,其中只是简单的提到了IOC的特性.本章便对Spring的IOC进行一个详解.主要从三个方面开始:基于xml文件的Bean配置,基于 ...

  8. 实现基于tomcat集群会话保持

    1.实验环境 我们需要准备两台虚拟机,把这两台虚拟机组成集群,实现会话保持. 2.配置server1 2.1 修改nginx配置文件 [root@server1 ~]# vim /etc/nginx/ ...

  9. JavaEE中的MVC(四)AOP代理

    咱们来吹牛,JDK的动态代理在AOP(Aspect Oriented Programming,面向切面编程)中被称为AOP代理,而AOP是Spring框架中的重要组成部分. 代理模式 但是什么是代理模 ...

  10. 深度解析continue,break和return

    continue,break和return是Java中的关键字,在方法体内的流程控制中使用频率较高. 在现实中,经常会有同学在使用中产生混淆,从而使得流程控制语句发生混乱.在这里,我结合个人的使用经历 ...