Creating a z/OS Connect interceptor
Use z/OS® Connect SPI to create interceptor preInvoke and postInvoke implementations that manage service requests such as invoke, status, start, and stop. Interceptors are OSGi services that implement the com.ibm.wsspi.zos.connect.Interceptor SPI provided by z/OS Connect.
About this task
z/OS Connect includes several interceptors. The com.ibm.wsspi.zos.connect.Authorization interceptor provides z/OS SAF and LDAP authorization checks z/OS Connect operations, such as start, stop, and invoke. The com.ibm.wsspi.zos.connect.Audit implementation, logs z/OS SMF recording of request data on z/OS Connect operations.
Interceptors can be used to perform some action before and after a request invocation. A copy of the payload along with other request data is provided to interceptors.
An interceptor that is implemented for z/OS Connect is an OSGi service that connects and interacts with z/OS Connect through the OSGi framework.