Commit Graph

20 Commits

Author SHA1 Message Date
S Rahul
78e69573cd Fixed a buffer overflow when client calls SetATSHostList() with
long host names.
2009-10-15 12:41:20 +00:00
S Rahul
b9fa3eab0c 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
2009-10-09 08:46:35 +00:00
Juan Carlos Luciani
28a4d65cc8 Added traces to aid debugging of connection and password authentication
problems.
2007-07-05 23:40:42 +00:00
Juan Carlos Luciani
7cc9385642 Enhanced to try to connect to the ATS with the normalized host name in addition to the host name given by the application calling to get a token to deal with cases where the application is passing a dotted ip address but the
server's certificate has been issued using the server's DNS name.
2007-07-05 23:25:55 +00:00
Juan Carlos Luciani
41cc9deb34 Fixed crash that occurs when the DLL is unloaded before being initialized first. 2007-06-27 22:01:44 +00:00
Juan Carlos Luciani
35ef31cafd Changed calls to _stricmp to stricmp to fix unresolved external problem
when the setting DisableSecureConnections is configured.
2007-06-21 22:46:40 +00:00
Juan Carlos Luciani
ad7a069507 Updated to only add non-success authtoken entries to the
cache if the time necessary to process them exceeds 30
seconds. With this change we make sure that non-successful
entries are added to the cache to deal with server
un-available issues.
2007-06-12 16:51:18 +00:00
Juan Carlos Luciani
386fd61efc Fixed windows compile problems. 2007-05-30 05:03:36 +00:00
Juan Carlos Luciani
3cc4067ab1 Modified client to try to authenticate a user against a list of
configured ATSs instead of only utilizing a single configured ATS.
The client also tries to contact the ATS using port 443 as well as
port 2645 if the port number is not hard configured.
2007-05-29 22:59:50 +00:00
Juan Carlos Luciani
099e4cabfc Added flush AuthToken cache API. 2007-04-13 19:21:40 +00:00
Juan Carlos Luciani
4da676ac00 2007-04-02 22:16:07 +00:00
Juan Carlos Luciani
4c2f384001 Resolved issues found during unit testing of file logging feature. 2007-03-05 18:01:32 +00:00
Juan Carlos Luciani
3a4a7fec0d Made the following changes:
- Use host name specified in ObtainAuthToken call instead of the
    normalized host name to connect to the ATS to avoid problems
    when the host name obtained through a reverse DNS lookup fails
    to resolve via a forward DNS lookup.

  - Added the capability log debug messages to a file.

  - Added method to the ConfigIf to free memory returned by calls to
    getEntryValue to avoid issues related to freeing memory allocated
    with a heap different than the one owned by the library freeing
    the memory.
2007-03-05 06:48:26 +00:00
Juan Carlos Luciani
791b0be583 Addressed issues found during the SuSE security review. 2007-02-02 23:02:43 +00:00
Juan Carlos Luciani
b5a6a452e8 Added code to allow us to un-initialize the library when it is unloaded. These changes allow library un-initialization to work for Windows. More code needs to be added to un-initialize the library under Linux. 2007-01-29 10:46:18 +00:00
Juan Carlos Luciani
5f0d0a486f Finished changes to resolve issues associated with server response without payload data.
Changed the name of the .msi files to not include "-msi" as part of the names as per request.

GetAuthToken requests that fail due to a name resolution error now will return an error code indicating the reason.
2007-01-12 12:49:25 +00:00
Juan Carlos Luciani
32093affcb Fixed crash that would occur if an RPC would succeed but no without
response data.

-This line, and those below, will be ignored--

M    client/library/engine.c
2007-01-12 08:43:53 +00:00
Juan Carlos Luciani
717b3c1091 Completed changes for clearing out memory associated with tokens. 2007-01-04 13:27:31 +00:00
Juan Carlos Luciani
834c6e0add Added code to clear memory used to hold tokens since they contain data
which is security sensitive.
2007-01-04 10:18:40 +00:00
soochoi
96204153a8 CASA-auth-token-client: rename lib directory to library and change in makefile 2007-01-03 05:04:26 +00:00