How to configure identity assertion
To enable identity assertion for API requesters, you must configure the idAssertion attribute in the server.xml file. You might also need to define SAF SURROGAT profiles.
Before you begin
- Study the information in Identity assertion for API requesters.
- Set up the connection from the z/OS subsystem
to the IBM z/OS Connect server.
- For CICS, see Configure CICS to access IBM z/OS Connect to call APIs.
- For IMS, see Configuring IMS to access IBM z/OS Connect for API calls.
- For other z/OS applications, see Configuring other z/OS applications to access IBM z/OS Connect for API calls.
- Complete the task How to activate and configure the SAF user registry to configure the IBM z/OS Connect server to use z/OS authorized services and a System Authorization Facility (SAF) user registry.
- Configure security for the z/OS subsystem connection to the IBM z/OS Connect server according to your needs.
- For basic authentication, see API requester basic authentication to IBM z/OS Connect.
- For client authentication, see API requester client certificate authentication to IBM z/OS Connect.
- If you want a surrogate check made on the asserted identity, you must ensure that the following
requirements are completed:
- The user ID that is used to run the IBM z/OS Connect server instance must have READ access to the BPX.SERVER FACILITY class profile.
- The Java™ library libifaedjreg64.so
must be program-controlled. For example, enter the following command:
extattr +p /usr/lib/java_runtime/libifaedjreg64.so
- Third-party native code or native libraries, such as those used by a IBM z/OS Connect interceptor must be program-controlled.
To define the native code or native library to be program-controlled, enter the following command
under z/OS
UNIX System Services:
extattr +p <your library file path>Note: When your administrator applies maintenance to the Java library, this setting might be reset, so you must reenter this command.
About this task
You configure the IBM z/OS Connect server to specify that the API requester is invoked by the z/OS application asserted user ID. You can also specify that a SAF SURROGAT profile check is required to ensure that the link user ID, which has authenticated with the IBM z/OS Connect server, is authorized to act as a surrogate of the z/OS application asserted user ID.
This task assumes that RACF is used as security manager. If you are using an alternative External Security Manager, refer to the appropriate product documentation for the equivalent commands.
The asserted identity needs to be defined in a RACF system that can be accessed by the LPAR where IBM z/OS Connect is running.
Procedure
The following steps demonstrate how to enable a z/OS application to invoke an API requester with an asserted identity that is provided in the z/OS application context.