Transport Security for Web Services

Use

Security at transport level can be ensured by means of mechanisms used on the Internet. HTTPS sets up an encrypted connection between the client and the server and is suitable for simple situations -for example, when a client communicates directly with a single server. Every single message is sent via an encrypted channel.

This feature of HTTPS, that each message is encrypted, has disadvantages:

  • Firstly, many messages have to be encrypted and decrypted on a single server simultaneously. This can have a negative effect on system performance. Furthermore, the information provided using a Web service is not always confidential and must therefore not always be encrypted.

  • Secondly, a SOAP interaction is not always a point-to-point connection. More than two SOAP nodes can be involved. The additional intermediate nodes obtain information about actions to be executed from the SOAP header. This is not possible in the case of a complete encryption using HTTPS.

At message level, an encryption and signature concept with fine granularity is possible. Here, not the transport channel but the message itself is protected.

  • Default at design time: Integrity and Confidentiality

    The following alternatives are available in the runtime configuration:

    • Transport Protocol HTTPS

    or

    • Message Security, Incoming Request

      • Require Signature

      • Require Encryption

    • Message Security, Outgoing Response

      • Add Signature

      • Add Encryption

    • WS SecureConversation

  • Default at design time: None

    All security settings are possible.

Design of Web Services in the AS ABAP

In the ABAP application server, you provide specifications for the transport security level when designing Web services.

You set the level of transport security through the specification Integrity and Confidentiality.

More information: Creating a Service Definition

Runtime Configuration for ABAP Web Services in SOA Manager (Transaction SOAMANAGER)

You will find pre-settings for ABAP Web Services in the SOA Manager (Transaction SOAMANAGER) under Start of the navigation pathService Administration Next navigation step Administration of Individual ServicesEnd of the navigation path for services and consumer proxies in the tab page called Details.

Settings for Web Services

  • For Services in SOA Manager under Start of the navigation pathService Administration Next navigation step Single Service AdministrationEnd of the navigation path on tab page Configuration and under Provider Security.

  • For Consumer Proxies in SOA Manager under Start of the navigation pathService Administration Next navigation step Single Service AdministrationEnd of the navigation path on tab page Configurations on tab page Consumer Security.

  • For groups of services under Start of the navigation pathTechnical Administration Next navigation step Profile ManagementEnd of the navigation path .

  • For simplified service administration under Start of the navigation pathService Administration Next navigation step Simplified Service AdministrationEnd of the navigation path.

Possible Settings

  • Under Transport Protocol, choose HTTPS.

  • Alternatively, under Message Security, choose Require Signature and Require Encryption for the incoming request and Add Signature and Add Encryption for the outgoing response.

  • WS SecureConversation