Creating an interceptor

zosConnect-2.0 interceptors can be used for monitoring, recording, or validation. zosConnect-3.0 interceptors can only be used for monitoring. Some interceptors are included with z/OS Connect, but you can also use interceptors that are supplied by other products or you can create your own.

Interceptors are OSGi services that are called by z/OS Connect through the OSGi framework. Design your interceptors to run quickly and maintain acceptable performance of the request flow.

z/OS Connect provides three interceptors:
Started task Audit interceptor
An audit interceptor is used to write SMF records and is supported if running z/OS Connect as a started task or in a z/OS container. For more information, see Using SMF records to monitor requests.
zosConnect-2.0 Authorization interceptor
An authorization interceptor performs authorization checks to control users' access to resources. For more information, see API provider authorization and API requester authorization.
zosConnect-2.0 File system logger interceptor
For API provider, a file system logger interceptor logs request information to a file. For more information, see Configuring the file system logger interceptor.