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:
S Rahul
2009-10-09 08:46:35 +00:00
parent d1bfab390c
commit b9fa3eab0c
5 changed files with 143 additions and 135 deletions

View File

@@ -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)
}