CASA/CASA-auth-token/non-java/client
2006-10-03 15:32:10 +00:00
..
authtokenclient_msi Add dotNet 2.0 as supported runtime 2006-08-24 18:14:13 +00:00
authtokenclient_msm Made MSDN project file updates to refer to the include folders using relative paths. 2006-10-03 15:28:54 +00:00
csharp No need to have visual studio user specific files checked into the project. 2006-10-03 15:32:10 +00:00
linux Finished porting the Auth Client Test to linux. 2006-10-03 03:52:21 +00:00
mechanisms Made MSDN project file updates to refer to the include folders using relative paths. 2006-10-03 15:28:54 +00:00
test Made MSDN project file updates to refer to the include folders using relative paths. 2006-10-03 15:28:54 +00:00
windows Continued changes adjusting Windows client for Linux port. 2006-10-02 23:49:43 +00:00
authmech.c Added the capability of configuring the ATS Address, port, and whether or not SSL should be used for communications. 2006-09-22 16:24:03 +00:00
authmsg.c Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
authpolicy.c Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
cache.c Initial changes for Linux port of the CASA-auth-token client to linux. 2006-10-02 21:01:45 +00:00
client.conf Initial changes for Linux port of the CASA-auth-token client to linux. 2006-10-02 21:01:45 +00:00
config_if.h Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
config.c Made some formatting changes, added some additional debug statements, and updated the project file to adjust for the new directory structure. 2006-08-14 20:13:53 +00:00
engine.c Initial changes for Linux port of the CASA-auth-token client to linux. 2006-10-02 21:01:45 +00:00
getpolicymsg.c Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
gettokenmsg.c Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
internal.h Initial changes for Linux port of the CASA-auth-token client to linux. 2006-10-02 21:01:45 +00:00
mech_if.h Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
README Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
TODO Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00
util.c Adding client files lost during folder re-structuring. 2006-08-07 19:12:49 +00:00

/***********************************************************************
 *
 *  README for libcasa_c_authtoken
 *
 ***********************************************************************/

INTRODUCTION

libcasa_c_authtoken is the client auth_token engine. It is responsible for
interacting with ATSs, invoking the authentication mechanism plug-ins, and
managing the authentication token cache. libcasa_c_authtoken also provides
the Get Authentication Token API.

CONFIGURING ADDITIONAL AUTHENTICATION MECHANISM MODULES

libcasa_c_authtoken utilizes mechanism plug-ins for authenticating to ATSs.
The client auth_token package installs mechanisms for the support of Kerberos5
and Username/Password authentication. To configure additional authentication mechanism
plug-ins, place their configuration file in the folder for CASA Authentication Token module
configuration. The path to this folder under linux is /etc/opt/novell/CASA/authtoken.d/modules.d.
The path to this folder under Windows is \Program Files\novell\CASA\auth\mechanisms. The name of
the plug-in configuration file is related to the authentication mechanism type in the following
manner: AuthenticationMechanismTypeName.conf.

Authentication Mechanism plug-in configuration files must must contain a directive indicating the
path to the library implementing the Authentication Mechanism (See the configuration file
for the Kr5Authenticate plug-in for an example).

CLIENT APPLICATION PROGRAMMING NOTES

The Get CASA Authentication Token API is defined in casa_c_authtoken.h.

The API consists of a call to obtain authentication tokens. The caller must supply the name of the
service to which it wants to authenticate along with the name of the host where it resides. The
returned authentication token is a Base64 encoded string.

Applications utilizing CASA Authentication Tokens as passwords in protocols that require the
transfer of user name and password credentials should verify or remove any password length limits
as the length of CASA Authentication Tokens may be over 1K bytes. The size of the CASA Authentication
Tokens is directly dependent on the amount of identity information configured as required by the
consuming service. These applications should also set the user name to "CasaPrincipal".

For examples of code which uses the Get CASA Authentication Token API look at the test application
under the test folder.

AUTHENTICATION MECHANISM PROGRAMMING NOTES

The Authentication Mechanism API is defined in mech_if.h.

For example implementations see the code for the krb5 and the pwd mechanisms.

SECURITY CONSIDERATIONS

CASA Authentication Tokens when compromised can be used to either impersonate
a user or to obtain identity information about the user. Because of this it is
important that the tokens be secured by applications making use of them. It is
recommended that the tokens be transmitted using SSL.