The MQZ_AUTHENTICATE_USER call has the following parameters.
Queue manager name.
The name of the queue manager calling the component. This name is padded with blanks to the full length of the parameter; the name is not terminated by a null character.
The queue-manager name is passed to the component for information; the authorization service interface does not require the component to make use of it in any defined manner.
Security parameters.
Data relating to the user ID, password, and authentication type. If the AuthenticationType attribute of the MQCSP structure is specified as MQCSP_AUTH_USER_ID_AND_PWD, both the user ID and password are compared against the equivalent fields in the IdentityContext (MQZIC) parameter to determine whether they match. For more information, see the WebSphere MQ Application Programming Reference.
During an MQCONN MQI call this parameter contains null, or default values.
Application context.
Data relating to the calling application. See MQZAC - Application context for details.
During every MQCONN or MQCONNX MQI call, the user context information in the MQZAC structure is reacquired.
Identity context.
On input to the authenticate user function, this identifies the current identity context. The authenticate user function can change this, at which point the queue manager adopts the new identity context. See MQZIC - Identity context for more details on the MQZIC structure.
Correlation pointer.
Specifies the address of any correlation data. This pointer is subsequently passed on to other OAM calls.
Component data.
This data is kept by the queue manager on behalf of this particular component; any changes made to it by any of the functions provided by this component are preserved, and presented the next time one of this component's functions is called.
The length of this data area is passed by the queue manager in the ComponentDataLength parameter of the MQZ_INIT_AUTHORITY call.
Continuation flag.
The following values can be specified:
Completion code.
Reason code qualifying CompCode.
If CompCode is MQCC_FAILED:
Notices |
Downloads |
Library |
Support |
Feedback
![]() ![]() |
amqzag06178 |