Multiple changes for Bug #543064
1. Provided SetATSHostList() API for changing the ATS address dynamically 2. Not using CASA enabled server as ATS. ATS address has to be explicitly set in client.conf or through SetATSHostList() 3. Not normalizing CASA enabled server's host name while obtaining CASA tokens. Callers of ObtainAuthTokenEx() have to pass normalized name as argument
This commit is contained in:
@@ -107,6 +107,23 @@ CleanUpAuthTokenCache(void);
|
||||
// Flush the AuthToken cache.
|
||||
//=======================================================================--
|
||||
|
||||
//++=======================================================================
|
||||
extern CasaStatus SSCS_CALL
|
||||
SetATSHostList(
|
||||
IN const char * const ATSHostList[]);
|
||||
//
|
||||
// Arguments:
|
||||
// ATSHostList -
|
||||
// Pointer to NULL terminated array of ATS servers of form <server>:<port>
|
||||
//
|
||||
// Returns:
|
||||
// Casa Status
|
||||
//
|
||||
// Description:
|
||||
// Set the list of ATS servers contacted. Can be used to override the
|
||||
// 'ATSHostList' parameter in client.conf.
|
||||
//=======================================================================--
|
||||
|
||||
|
||||
#if defined(__cplusplus) || defined(c_plusplus)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user