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. SQL Server 2008对日期时间类型的改进

    微软在备受多年的争议后,终于对日期时间数据类型开刀了,在新版的SQL Server 2008中一口气增加了4种新的日期时间数据类型,包括: Date:一个纯的日期数据类型. Time:一个纯的时间数据 ...

  2. C#设计模式之十三代理模式(Proxy)【结构型】

    一.引言   今天我们要讲[结构型]设计模式的第七个模式,也是"结构型"设计模式中的最后一个模式,该模式是[代理模式],英文名称是:Proxy Pattern.还是老套路,先从名字 ...

  3. flask中下载服务器上特定路径的文件

    使用flask下载服务器上某个路径下的文件 path:文件路径以及需要下载的文件,直接写入参数有安全隐患,实际应用中需要判断权限之类的 from flask import send_file, mak ...

  4. java 冒泡排序与选择排序

    //冒泡排序 package test;public class Maopaosort {   public static void method(){  int[] arr=new int[10]; ...

  5. [验证码识别技术]字符验证码杀手--CNN

    字符验证码杀手--CNN 1 abstract 目前随着深度学习,越来越蓬勃的发展,在图像识别和语音识别中也表现出了强大的生产力.对于普通的深度学习爱好者来说,一上来就去跑那边公开的大型数据库,比如I ...

  6. install plugin group_replication ERROR 1126 (HY000)

    在给MySQL安装插件的时候,你可能会遇到如题所示的报错. 更详细的错误输出如下: mysql> INSTALL PLUGIN group_replication SONAME 'group_r ...

  7. Kaggle初入门

    今天成功的进驻kaggle社区了! 所以以后就要跟kaggle上面的各位一起学习啦! 今天十分成功的在tensorflow的环境里面装了一堆库--什么seaborn啊pandas啊都一次过 然后--并 ...

  8. Python crawler access to web pages the get requests a cookie

    Python in the process of accessing the web page,encounter with cookie,so we need to get it. cookie i ...

  9. 操作系统学习笔记----进程/线程模型----Coursera课程笔记

    操作系统学习笔记----进程/线程模型----Coursera课程笔记 进程/线程模型 0. 概述 0.1 进程模型 多道程序设计 进程的概念.进程控制块 进程状态及转换.进程队列 进程控制----进 ...

  10. iphone6 plus导入联系人或者通讯录

    iphone6 plus快速导入联系人或者通讯录(使用QQ同步助手,真的很简单) 最近换了部手机,由于之前的手机保存联系人都是保存在手机,没有备份在sim卡,由于sim卡被我剪小了,不能插回原来的手机 ...