0 votes
1.1k views
in Interview Questions by (30.6k points)

1 Answer

0 votes
by (30.6k points)

A policy set is WebSphere's reusable bundle of Web Services policies (WS-Security, WS-Addressing, WS-ReliableMessaging, HTTP transport, SSL transport) that you attach to a web service client or provider instead of coding the security by hand. For SOAP calls from BAW:

  • The policy set describes what is required: e.g. "Username token in the SOAP header", "sign the body with X.509", "encrypt the body", "use HTTPS".
  • A policy set binding holds the how for one server: the actual user / password, the keystore and certificate aliases, the token generator / consumer settings.
  • In Process Designer you reference them in the Web service integration: the Security section of a web service integration (or of the Server definition of type "Web service") lets you pick a policy set and its binding that exist in the cell (Services > Policy sets > Application policy sets, and General client policy set bindings).
# typical cell setup for a client calling a partner with a Username token over SSL
Admin console > Services > Policy sets > Application policy sets > New: "PartnerUsernameToken"
   add policy WS-Security: Main policy > Request token policies > Username token;  add policy SSL transport
Admin console > Services > Policy sets > General client policy set bindings > New: "PartnerBinding"
   WS-Security > Authentication and protection > token generator (Username token) > Callback handler > Basic authentication: user = partneruser, password = ...
Process Designer > Process App Settings > Servers > web service server > Security: policy set "PartnerUsernameToken", binding "PartnerBinding" 

The BAW-specific rule: the policy set and binding must exist on every Process Server cell where the app is installed (export them from the console: Export policy set, import on the other cell), and their names must match what the process app references. For plain HTTPS + basic auth you do not need a policy set at all: the Server definition's user / password is sent as HTTP basic authentication.

References

Related questions

0 votes
1 answer 1.4k views
0 votes
1 answer 4.6k views
+1 vote
1 answer 2.3k views
0 votes
1 answer 2.4k views
0 votes
1 answer 3.4k views
0 votes
1 answer 1.5k views
0 votes
1 answer 1.8k views
0 votes
1 answer 1.5k views
asked Dec 3, 2019 in Interview Questions by Anil Singh (30.6k points)
0 votes
1 answer 927 views
0 votes
1 answer 2.0k views
+1 vote
2 answers 6.3k views

723 questions

807 answers

98 comments

4.9k users

Join BPM Community Discord Channel

Welcome to BPM Tips Q&A, Community wiki/forum where you can ask questions and receive answers from other IBM BPM experts and members of the community. Users with 2000 points will automatically be promoted to expert level.
Created by Dosvak LLC
Our Youtube Channel
...