tibasMemberDef_SetSecurityTokenFile()

Specifies the directory path and security token filename for a specified member.

Declaration

tibas_status tibasMemberDef_SetSecurityTokenFile(
    tibasMemberDef memberDef,
    const char* tokenFile)

Parameters

Parameter Description
memberDef Specify the memberDef object that identifies the member for which you want to set the security token file.
tokenFile A string that specifies that directory path and filename for the security token file.

For example, c:/tibco/as/<version>/lib/mytokenfile.txt.

Remarks

Use the tibasMemberDef_SetSecurityTokenFile() function to specify the security token file for a specified member that will function as a security domain requestor.

If the member is a security domain controller, a security token file is not required; instead you must specify a security policy file. You can use the tibasMemberDef_SetSecurityPolicyFile() to specify the directory path and filename for the security policy file.