Enforcing SOAP Security to Enable SAML Authentication and SAML Credential Mapping
In this sample, SOAP message exchanges are secured with SAML Credential Mapping, user name token-based authentication, and SAML authentication.
Procedure
Result
Process1 call Process2 successfully
The file SamlCredentialMapping.txt is generated in the C:\tmp\policy directory on Windows platform, or /tmp/policy directory on Unix platform.
Open the
SamlCredentialMapping.txt file in a text editor. The default contents of the file are outlined below.
Congratulations! This is response from Process2. SAML request is successful!
Understanding the Configuration
The following processes interact with each other in this project:
- Process2.bwp: The service side of Process2 is associated with a WSS provider policy configured for SAML authentication.
- Process1.bwp: To ensure the outbound request to Process2 contains the credentials authenticated in Process1, the following policies are enforced on Process1:
- ClientProcess.bwp: To simulate a client call to Process1, a WSS Consumer policy, configured for user name token credential mapping, is associated with the reference side of ClientProcess.
Copyright © Cloud Software Group, Inc. All rights reserved.