![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |
tibas_status tibasMemberDef_SetAuthenticationCallback(
Use the tibasMemberDef_SetAuthenticationCallback() function to specify the name of a callback function that is used to retrieve authentication credentials for users requesting connection to a specified member.The authentication callback routine takes one argument—a tibasAuthenticationInfo struct that is defined in the security.h header file as follows:The tibasAuthenticationInfo structure includes the following members:
• authenticationMethod Based on the value assigned to the authentication setting in the security policy file that the security domain is using, ActiveSpaces assigns one of the following values to the authenticationMethod data type:
− AUTH_USERPWD ActiveSpaces sets the authentication method to this value is set when the security policy file specifies authentication=userpwd.
− AUTH_X509V3 ActiveSpaces sets the authentication method to this value when the security policy file specifies authentication=x509.
• metaspaceName The currently connected metaspace is assigned.
• credential A pointer to a tibasUserCredential structure that is used to process the authentication information.
• authHint ActiveSpaces populates this element with the authorization hint that is provided in the security policy file that the active security domain is using the hint keyword, for example, hint=SystemLoginInformation.The tibasUserCredential is defined in the security.h header file. It has the following definition:
• domain Passes authentication domain information to ActiveSpaces, if applicable (for example, for Windows systems)
• username Passes the username for authentication.
• keyfile If X509 authentication is used, passes either the account or keyfile password.
• password Passes the user password.
![]() |
Copyright © TIBCO Software Inc. All Rights Reserved |