The ZMFAClient object
The zMFAClient object encapsulates the passticket requests.
Note:
If you are using a custom OpenID Connect (OIDC) implementation in
ZIETrans that is not configured through the ZIETrans Project properties, you must ensure
the following:
- The active HTTP session object must contain an attribute named id_token.
- The value of this attribute must be the JWT Token received from your OIDC provider.
The following are its members and methods:
Members:
- zMFA JWT2CTC URL.
- zMFA Version.
- Host User ID.
- Keystore File Name.
- Keystore Password.
- Trace Level.
Methods:
- public ZMFAClient()
- This constructor should be used if you want to use the default trace level when the object is created.
- public ZMFAClient (int traceLevel)
- This constructor should be used if you want to specify a trace level when the object is created.
- traceLevel - Trace level (0=None, 1=Minimum, 2=Normal, 3=Maximum)
public int Init(String zmfaCtcUrl, int zmfaVersion, String trustStoreName, String trustStorePassword, String trustStoreType)- zmfaCtcUrl: IBM Z MFA service URL, which generates an authentication code, known as a Cache Token Credential (CTC).
public CMResponse getPassticket(String hostUserID, String jwtIdToken)- hostUserID: The mainframe user ID that should be used for the request.