Validating your configuration of CICS for SAML
A sample is provided, which you can use to verify that CICS® is configured correctly for SAML. Two programs are provided, which can be compiled and then invoked through a transaction.
Before you begin
About this task
Procedure
- Optional: If you customized and installed a JVM server with a name other than DFHXSTS, update program DFH0XST2 to reflect the new server name.
- Compile the programs DFH0XST1 and DFH0XST2, which are in the samples library, SDFHSAMP. For information about compiling COBOL programs, see Batch compilation for COBOL programs.
- Install the group DFH$SAML in a region that calls the DFHSAML program.
- Run transaction XST1.
Results
The sample outputs the parsed containers into TSQ DFH0XSTO.
To look at these containers use CEBR DFH0XSTO.
If the installation validation is not successful, the DFHSAML-RESPONSE container contains a return code that indicates the reason. For more information about container response codes, see SAML support containers.
If an abend code is returned read the sample for further information.
What to do next
- You can replace the sample SAML token with your own. Create and
install a DOCTEMPLATE resource definition that names the file that
contains your SAML token. Specify this DOCTEMPLATE 48-byte TEMPLATENAME
after the transaction identifier when you run the sample:
If no templatename is specified, the default TEMPLATENAME of DFH0XSTI is used.XST1 templatename
- If you want to use signature validation, update program DFH0XST2. For more information, see the comments within that program.