WS-Security Implementations

Web services security, or to be more precise, SOAP message security identifies and provides solutions for general computer security threats as well as threats unique to Web services. ESB Micro Integrator supports WS-Security, WS-Policy, and WS-Security Policy specifications. These specifications define a behavioral model for Web services.

Since a requirement for one web service may not be valid for another, the ESB Micro Integrator also helps define service-specific security. It provides 16 predefined, commonly-used security scenarios. All you have to do is apply the required security scenario when you define the service. You can also define a custom security policy. Understanding the exact security requirement is the first step in planning to secure web services. Consider what security aspects are important to your service; integrity, confidentiality, or both.

Applying WS-Security

See the following resources on how to apply WS security to integration artifacts:

Note

An external user store should be configured for the Micro Integrator in order to use these security implementation.

Security scenarios

The topics below explain the 16 default security scenarios supported by ESB Micro Integrator.

UsernameToken

ws scenario 1

Non-repudiation

ws scenario 2

Integrity

ws scenario 3

Confidentiality

ws scenario 4

Sign and Encrypt - X509 Authentication

ws scenario 5

Sign and Encrypt - Anonymous clients

ws scenario 6

Encrypt Only - Username Token Authentication

ws scenario 7

Sign and Encrypt - Username Token Authentication

ws scenario 8

Secure Conversation - Sign only - Service as STS - Bootstrap policy - Sign and Encrypt , X509 Authentication

ws scenario 9

Secure Conversation - Encrypt Only - Service as STS - Sign and Encrypt , X509 Authentication

ws scenario 10

Secure Conversation - Sign and Encrypt - Service as STS - Bootstrap policy - Sign and Encrypt , X509 Authentication

ws scenario 11

Secure Conversation - Sign Only - Service as STS - Bootstrap policy - Sign and Encrypt , Anonymous clients

ws scenario 3

Secure Conversation - Encrypt Only - Service as STS - Bootstrap policy - Sign and Encrypt , Anonymous clients

ws scenario 13

Secure Conversation - Encrypt Only - Service as STS - Bootstrap policy - Sign and Encrypt , Username Token Authentication

ws scenario 14

Secure Conversation - Sign and Encrypt - Service as STS - Bootstrap policy - Sign and Encrypt , Username Token Authentication

ws scenario 15

Kerberos Token-based Security

If you apply security scenario 16 (Kerberos Token-based Security), you must associate your service with a service principal. Security scenario 16 is only applicable if you have a Key Distribution Center (KDC) and an Authentication Server in your environment. Ideally you can find KDC and an Authentication Server in an LDAP Directory server.

Two configuration files are used to specify Kerberos related parameters as follows.

  • krb5.conf - Includes KDC server details, encryption/decryption algorithms etc.
  • jaas.conf - Includes information relevant to authorization.

The above files are located in the MI_HOMErepository/conf/security folder.

After selecting scenario 16, fill in the information about the service principal to associate the Web service . You must specify the service principal name and password. The service principal must be already defined in the LDAP Directory server.

Top