Commit Graph

378 Commits

Author SHA1 Message Date
Juan Carlos Luciani
9c8613266e Fixed problems present in log4j.properties template file used for windows. 2007-03-05 06:50:43 +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
35d315a78b Removed un-necessary line from changes file. 2007-02-26 18:11:15 +00:00
Juan Carlos Luciani
9edd08b887 Completed the changes to switch from logging to std.out to log4j. 2007-02-22 22:58:49 +00:00
Juan Carlos Luciani
3fad0cabc5 Added Rpc tracing capabilities with the log4j changes. 2007-02-22 22:53:51 +00:00
Juan Carlos Luciani
2a03137120 Added Rpc tracing capabilities with the log4j changes. 2007-02-22 22:53:20 +00:00
Greg Richardson
6cbdfb7e6d Log4j related changes 2007-02-22 19:39:55 +00:00
Juan Carlos Luciani
9478044e7b Continuation of changes to switch to log4j from System.err. 2007-02-21 21:47:07 +00:00
Juan Carlos Luciani
f33278929d Continuation of changes to switch over to using log4j. 2007-02-21 18:08:09 +00:00
Juan Carlos Luciani
a5d4983177 Continuation of changes to make use of log4j. 2007-02-20 19:35:14 +00:00
Juan Carlos Luciani
37c2d94ec9 Resolved inconsistencies between the spec files and the SuSE PDB entries
for package summaries and descriptions.
2007-02-20 16:20:05 +00:00
soochoi
9cf3c09361 CASA-auth-token-client and CASA-auth-token-server : add entry in changes log for build fix 2007-02-17 01:07:13 +00:00
Juan Carlos Luciani
1d3f1b039a Continuation of changes to start using log4j. 2007-02-16 18:41:14 +00:00
Juan Carlos Luciani
5a41aba791 Fixed function prototype miss-match that was resulting on a build
problem.
2007-02-16 18:36:27 +00:00
Juan Carlos Luciani
047797a119 Fixed function prototype miss-match that was causing a build problem on
64bit machines.
2007-02-16 18:13:48 +00:00
Juan Carlos Luciani
e1e74055b5 Part of changes to switch from using System.err.println to using log4j. 2007-02-15 18:16:52 +00:00
Juan Carlos Luciani
4ad530078e Fixed install paths being utilized in the authtoken client devel install. 2007-02-14 21:30:04 +00:00
Juan Carlos Luciani
597aa02ead Changes file update. 2007-02-14 19:05:18 +00:00
soochoi
e8bf8a9e36 CASA-auth-client: make change in build script to build debug as well 2007-02-14 18:25:18 +00:00
soochoi
9a6b412a72 CASA_auth_token_client: add changes in spec from german autobuild 2007-02-14 18:16:48 +00:00
Juan Carlos Luciani
b03293da31 Fixed running library from drive different that install drive windows issue.
Added code to not-persist tokens in the miCASA cache.
2007-02-14 17:55:15 +00:00
Juan Carlos Luciani
81a369b7aa Corrected the name of the output debug pdb file. 2007-02-13 23:58:11 +00:00
Juan Carlos Luciani
06225de129 Made changes to deal with Greg's recommendations as a result of his
code review.

Fixed the problem that was preventing us from associating a PID file
with the ATS service.

Stopped deleting the "casaatsd" user during RPM un-install to avoid
problems with orphaned files.

Added code to protect against zero length passwords in the Pwd
authentication mechanism.
2007-02-13 23:54:27 +00:00
Juan Carlos Luciani
2aaa7b3f52 Changed the license notice in the source files to correctly
specify LGPL instead of GPL.
2007-02-12 18:07:49 +00:00
Juan Carlos Luciani
40ea1c851d Changes file update.
`
2007-02-12 16:11:28 +00:00
Juan Carlos Luciani
cd548627d1 Changes file update. 2007-02-12 16:09:31 +00:00
Juan Carlos Luciani
f97b5ba909 Fixed RPM un-install clean-up issues and modified to no longer delete
the users created during RPM install to avoid problems created with
files left around that were created by the users.

Also removed un-necessary BuildRequire dependency on glade-sharp from
CASA_auth_token_server package.
2007-02-12 16:07:25 +00:00
Juan Carlos Luciani
f2318eadd2 Added check to the envvars file sourced by the AuthTokenValidate service
to keep us from invalidly setting LD_LIBRARY_PATH when the variable is
not set.
2007-02-08 23:10:19 +00:00
Juan Carlos Luciani
4ac1494f79 Changes file update. 2007-02-07 23:12:04 +00:00
Juan Carlos Luciani
37bef401c6 Updated the changes file. 2007-02-07 23:08:23 +00:00
Juan Carlos Luciani
6eecc9a531 Changes file update. 2007-02-07 23:02:07 +00:00
Juan Carlos Luciani
8888e5d330 Switched to using checkproc in casa_atvd init scrip when checking the
status of the daemon.
2007-02-07 22:59:55 +00:00
soochoi
e5fea0a0a2 CASA-auth-token-java: check in build config file for autobuild 2007-02-07 19:44:54 +00:00
soochoi
dabe4594ac yast2-casa-ats: check in build script for autobuild 2007-02-06 23:36:25 +00:00
Juan Carlos Luciani
5deee61fea Added needed defines missing in the windows environment that were keeping the components from building cleanly. 2007-02-06 23:36:07 +00:00
soochoi
1323841a3a CASA-auth-token-server: check in build scripts for autobuild 2007-02-06 23:00:12 +00:00
Juan Carlos Luciani
44ee58ef5f Changes to address issues brought up by the security review. 2007-02-06 22:52:44 +00:00
Juan Carlos Luciani
51ffdf0702 More changes to resolve issues brought up during the security
review of the code.
2007-02-06 22:09:00 +00:00
soochoi
8719ce2410 CASA-auth-token-client: check in build scripts for autobuild 2007-02-06 21:35:17 +00:00
soochoi
dbe91182f6 CASA-auth-client: modify the include path in Windows solution file 2007-02-05 18:00:46 +00:00
Juan Carlos Luciani
791b0be583 Addressed issues found during the SuSE security review. 2007-02-02 23:02:43 +00:00
Greg Richardson
77a151fa13 eol problem 2007-02-02 15:28:31 +00:00
Greg Richardson
f4958805fc eof fix 2007-02-02 15:18:43 +00:00
Greg Richardson
454e3b2adc 2007-02-01 22:07:06 +00:00
Greg Richardson
e4018bfad2 EOF problems 2007-02-01 21:49:23 +00:00
Greg Richardson
0aba721217 Added windows uninstall actions 2007-02-01 21:24:02 +00:00
Juan Carlos Luciani
69f772ed91 Fixed one-byte buffer overflow problem in memcpy found during
code review.

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

M    linux/get.c
2007-02-01 16:04:28 +00:00
Greg Richardson
d1d93ba218 Update file in distribution list 2007-01-31 23:28:41 +00:00
Greg Richardson
f357e87c11 1. Switch CommandLauncher from a console application to a windows application so that no windows pop up during install.
2. Handle spaces in files names.
2007-01-31 20:24:41 +00:00
Juan Carlos Luciani
9dbe2a3ade Fixed typo in iaRealms.xml template which was keeping the ATS from
running.
2007-01-31 19:27:00 +00:00
soochoi
3e2c8b1f37 CASA-auth-token-client: fix the windows build break 2007-01-30 12:34:40 +00:00
soochoi
966e3f5efa CASA-auth-token-client: change the name of library casa_authtoken.lib for windows build 2007-01-30 11:00:22 +00:00
soochoi
9bc4c31f2a CASA-auth-token-client: check in build config file to build windows 2007-01-30 10:08:44 +00:00
Greg Richardson
0db5c0e007 Added connector port for port 2645 2007-01-30 09:03:57 +00:00
Juan Carlos Luciani
c1d99fca8d Updated the changes file and modified the spec file to allow
applications to more easily dynamically link our library without
having to worry about the libraries version.
2007-01-29 13:11:18 +00:00
Juan Carlos Luciani
57f18cef8c Finished the Linux side changes for the "Cleanup during library unload"
issue.
2007-01-29 13:04:22 +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
soochoi
1ae3790b1b CASA-auth-token-java: add xml-commons-apis to fix autobuild dependency for stable branch 2007-01-26 03:50:24 +00:00
Juan Carlos Luciani
3e47ad8b60 Fixed EOL issues that were breaking the build. 2007-01-25 12:50:31 +00:00
Juan Carlos Luciani
1adf80b8ae The keystore path in the server.xml specific to Zen installations was
wrong.
2007-01-25 10:29:19 +00:00
Greg Richardson
c8181cebaa Another attempt to get around ms tool bug 2007-01-24 11:37:11 +00:00
Greg Richardson
c33d864d67 Avoid making CommandLauncher due to bug in ms tools 2007-01-24 11:26:48 +00:00
Greg Richardson
96c64973dd Remove CommandLauncher from make of parent and check in CommandLauncher.exe due to bug in MS dev tools 2007-01-24 11:00:45 +00:00
Greg Richardson
fe83bfbbb5 Moved windows specific file templates into templates\windows 2007-01-24 10:15:38 +00:00
Greg Richardson
c3aa5727fc 1. Changed jsharp files to java files
2. Added CommandLauncher to allow java classes to be invoked from msi install
2007-01-24 07:18:15 +00:00
Juan Carlos Luciani
6b83871de5 Made spec file changes to support applications that want to dynamically
link our libraries.
2007-01-24 06:27:52 +00:00
Juan Carlos Luciani
bc915356e8 The ATS envvars script now does not rely on the environment variable
JAVA_HOME since it may not be pointing to the JVM that we need to use.
2007-01-24 06:06:57 +00:00
soochoi
3a6e08dc7e CASA-auth-token: install xercesImpl.jar but not include in war file 2007-01-24 04:31:10 +00:00
Juan Carlos Luciani
f85a54358f Removing two files that got added by mistake. 2007-01-24 04:11:25 +00:00
soochoi
7c6681c949 CASA_auth_token_svc: add jdk and novell-zenworks-java-link build requirements in spec file 2007-01-23 12:31:46 +00:00
Juan Carlos Luciani
f7b0f92e80 Made changes to allow packages built for Zen to be more compatible with
it.

Enhanced places where exceptions are thrown to include information about
exceptions that may have been caught to improve debugging.
2007-01-23 10:32:50 +00:00
Juan Carlos Luciani
f7441b20ac Added the ability to explicitedly configure the type of directory
back-ending a REALM and the ability to configure the search string that
should be utilized when performing a contextless login via the Pwd
Authenticate mechanism.
2007-01-22 11:25:55 +00:00
Greg Richardson
c1a12d0c44 Added startup and shutdown batch files 2007-01-22 11:04:47 +00:00
Greg Richardson
6684268ee6 Add batch files to launch editors 2007-01-22 10:59:04 +00:00
Juan Carlos Luciani
4e5959c6df Updated the project to allow us to build RPMs that meet Zen's
requirements which state that we must work with the Java and Tomcat
packages that their install bundle.
2007-01-22 07:09:58 +00:00
Greg Richardson
70fca2cb11 First release of msi to consumer 2007-01-19 11:14:38 +00:00
soochoi
b0f49823ba CASA-auth-java: take the package name change in spec file back due to build failure 2007-01-18 07:06:50 +00:00
soochoi
03c5d13eee CASA-auth-server-java: name change of xerces-j2 in spec file 2007-01-18 06:31:34 +00:00
Greg Richardson
a6cd95ae31 2007-01-18 05:30:36 +00:00
Greg Richardson
645a738b57 Moved compile of java files into linux/windows directories 2007-01-18 04:50:30 +00:00
Greg Richardson
89a2bf73bc 2007-01-18 04:47:57 +00:00
Juan Carlos Luciani
f8decf4b84 Addressed bugs 225066 and 190821.
Also fixed "ReconfigureInterval=0" issue and added the ability
to search using multiple search roots configured on a per-realm
basis in the iaRealms file.
2007-01-17 12:14:29 +00:00
Juan Carlos Luciani
de3e4457c3 Fixed file eol-style problems as well as issues introduced in the
makesystem with the Windows Install check-in.
2007-01-16 11:21:37 +00:00
Greg Richardson
3ba102c4f1 2007-01-16 10:22:21 +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
0262de0e3f Fixed Pwd Authenticate issue. 2007-01-12 05:31:50 +00:00
soochoi
bbf4a44deb CASA-auth-token-client: check in relative build dependencies path changes in windows solution file 2007-01-11 10:36:56 +00:00
Juan Carlos Luciani
fb29201f17 Modified solution/project files to deal with "lib" folder rename to "library". 2007-01-10 11:07:35 +00:00
Juan Carlos Luciani
3d1b7f16e7 More code review changes. 2007-01-09 05:22:47 +00:00
Juan Carlos Luciani
0f58c82603 More changes as a result of project code review. 2007-01-09 05:05:37 +00:00
Juan Carlos Luciani
2f30ab05db Applied changes to issues found during code review of the Svc component. 2007-01-08 10:36:42 +00:00
soochoi
b8517bfe11 CASA_auth_token_server: check in changes from sles10-oes2 autobuild 2007-01-05 11:27:34 +00:00
Juan Carlos Luciani
f2b89108b9 Updated changes.log file. 2007-01-05 07:33:01 +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
Juan Carlos Luciani
67e99fc3d9 Fixed BUG228036 which was causing casa_atvd to not re-start after a
system re-boot.

Also added code to deal with cases where the
CASA_auth_token_jaas_support rpm is installed before the basic ATS setup
script is executed, thus ending up with the signing cert not being
imported into the client's key store.

M    server/package/linux/CASA_auth_token_server.changes
M    server/package/linux/CASA_auth_token_server.spec.in
M    server/AuthTokenValidate/Svc/linux/CasaAuthtokenValidateD
2007-01-03 10:22:36 +00:00
soochoi
47c01f7e34 CASA-auth-token-client: more makefile changes 2007-01-03 05:42:55 +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
Juan Carlos Luciani
919bb85125 Added missing javadoc comments and made minor changes for issues found
during code inspection.
2006-12-21 12:20:39 +00:00
Juan Carlos Luciani
f09c8c5bef Updated the changes file and fixed a comment in the spec file. 2006-12-13 05:26:34 +00:00
Juan Carlos Luciani
429f5e4297 The changes are to deal with changes made to the identity abstraction
that were keeping us from building cleanly.
2006-12-12 08:36:47 +00:00
Juan Carlos Luciani
245d0fe0bf Finished project self-review changes. 2006-12-08 10:26:52 +00:00
Juan Carlos Luciani
8ade751650 Modifications to resolve issues found during self-code review. 2006-12-08 05:45:03 +00:00
Juan Carlos Luciani
88db52f6c2 Added option to command for importing eDir cert in the
CasaBasicATSSetup script so that it does not prompt
the user. This allows the script to work correctly
when invoked from our Yast module.
2006-12-06 05:38:04 +00:00
Juan Carlos Luciani
42e3203ab5 Fixed problem that was causing the library to crash when ObtainAuthToken was called with a null WinLUID. 2006-12-05 11:23:09 +00:00
Juan Carlos Luciani
974f4829b3 Added workaround to import eDirs Root CA Cert into Java's keystore
until OES is updated to do the same for Java 1.5.
2006-12-04 12:30:01 +00:00
Juan Carlos Luciani
3216d2b739 Updated .changes file with fixed bug number information. 2006-12-04 10:22:29 +00:00
Juan Carlos Luciani
6489700c92 Fixed init.d script ouput "Shutting...." to "Shutting down...". 2006-12-04 10:17:19 +00:00
Juan Carlos Luciani
ac1d64c52a Fixed Basic ATS Setup issues for Bug225426. 2006-12-04 05:35:05 +00:00
Juan Carlos Luciani
11f501db43 Fixed fix path issue in CasaAuthToken c-sharp library. 2006-12-04 05:03:49 +00:00
Ryan Partridge
8adb445805 Fixed bug where proxy password value was being set to proxy username value. 2006-12-04 04:32:42 +00:00
Juan Carlos Luciani
d55ac482ac Updates resulting from self-code review. 2006-12-01 12:42:52 +00:00
Juan Carlos Luciani
74dce09720 Switched to using the root of /tmp for creating user semaphores. 2006-12-01 05:41:42 +00:00
Juan Carlos Luciani
5d70356a09 Switched to using the /tmp folder rather than the /var folder for
creating user semaphores under Linux.
2006-12-01 04:48:11 +00:00
Juan Carlos Luciani
1974ee9875 Made changes to deal with issues found during self-code review.
Added lock callback functionality for interfacing with OpenSSL
in a multi-threaded environment.
2006-11-30 18:21:42 +00:00
Jim Norman
a522f9d982 Add ObtainAuthTokenAsString API to C# interface 2006-11-29 10:54:55 +00:00
Juan Carlos Luciani
dfc4379769 More changes to deal with 64bit platform issues. 2006-11-29 06:23:48 +00:00
Juan Carlos Luciani
3bab43861a One more change to solve 64bit platform issues. 2006-11-29 05:22:04 +00:00
Juan Carlos Luciani
4df11cd930 More changes to try to resolve 64bit platform build issues. 2006-11-29 04:20:37 +00:00
Juan Carlos Luciani
00cffb071c Fixed some 64bit platform build issues.
-omhis line, and those below, will be ignored--

M    server/configure.in
M    server/package/linux/CASA_auth_token_server.changes
M    server/package/linux/CASA_auth_token_server.spec.in
M    server/AuthTokenValidate/Svc/linux/envvars
M    server/AuthTokenValidate/Svc/linux/Makefile.am
2006-11-28 11:47:04 +00:00
Jim Norman
411e95b4f0 Make LUID and ObtainAuthTokenEx private 2006-11-28 05:07:20 +00:00
Juan Carlos Luciani
a9dd659bca Removed a dependency that we still had on IBM's Java in the spec file. 2006-11-28 04:47:03 +00:00
Juan Carlos Luciani
23bb4f7943 Corrected the MSI and MSM packages to install the appropriate components. These components got broken during the migration to VS2005. 2006-11-27 09:36:13 +00:00
soochoi
4bc612ca9b yast2-casa-ats: add COPYING and LICENSE files and change in VERSION 2006-11-27 09:01:30 +00:00
soochoi
84b30e94f3 yast2-casa-ats: add License file and CASA_auth_token_svc as BuildRequires in spec file 2006-11-27 07:18:52 +00:00
Jim Norman
f4875a6c45 Fix to handle LUID parameter. 2006-11-27 06:31:39 +00:00
Juan Carlos Luciani
cce03a7a13 Updated README and TODO files to reflect the current state of the
project.
2006-11-22 05:21:33 +00:00
Juan Carlos Luciani
cd04a3d4cf Added list of resolved bugs to .changes files to allow autobuild
submition to proceed.
2006-11-22 03:51:18 +00:00
Juan Carlos Luciani
4a9e1a0391 Added NOTICES files detailing the licenses and or the copyrights
of all third party software used within the project.
2006-11-21 13:01:31 +00:00
soochoi
6d185b22c3 Change log change to add fateID to submit to sled10 sp1 2006-11-21 10:56:16 +00:00
Juan Carlos Luciani
ffab761e39 Changes file update. 2006-11-21 05:41:54 +00:00
Juan Carlos Luciani
82545be587 Fixed problem that would not allow package to build under openSuSe. 2006-11-21 05:39:52 +00:00
soochoi
1d02f15357 CASA-auth-token: apply changes from german autobuild diff 2006-11-21 04:20:15 +00:00
Juan Carlos Luciani
7b18319169 Fixed build problem on SLES10 distro.
-This line, and those below, will be ignored--

M    server/configure.in
M    server/autogen.sh
2006-11-20 06:15:24 +00:00
Juan Carlos Luciani
ec831ed16c Switched from using printf() to syslog() in DbgTrace macro. 2006-11-18 13:11:20 +00:00
Juan Carlos Luciani
998bded52f Changed DbgPrint macro to use syslog() rather than printf(). 2006-11-18 12:56:24 +00:00
Juan Carlos Luciani
66903e98a0 Added the capability to modify the DebugLevel by changing the various .conf files. 2006-11-18 12:33:14 +00:00
Juan Carlos Luciani
f08172971e Added check-build.sh file to project to limit the platforms where it is
built.
2006-11-18 07:27:13 +00:00
Juan Carlos Luciani
0332b6610e Removed hard dependency on IBM's JVM. 2006-11-18 07:10:14 +00:00
Juan Carlos Luciani
ff0b8df96b Removed hard dependency on IBM's JVM. 2006-11-17 12:13:20 +00:00
Juan Carlos Luciani
d6b4b5608e Removing "java" folder since it was migrated to the "server-java"
folder.
2006-11-16 09:22:53 +00:00
Juan Carlos Luciani
9b2e33bfa8 The "java" folder has been renamed "server-java" to reflect that it only
contains server components. In the process, I also flatened its
directory structure.
2006-11-16 09:20:06 +00:00
Juan Carlos Luciani
a8dd761bde Minor changes to correct some build problems. 2006-11-15 11:39:39 +00:00
Juan Carlos Luciani
027e884407 Changed the format parameters in some of the debug printf to
be more cross-platform enabled.
2006-11-15 06:32:25 +00:00
Greg Richardson
0d7915de0e Fix errors introduced by code reorg 2006-11-15 05:29:15 +00:00
Juan Carlos Luciani
f90f3d91bf Reverted the forked process model changes after finding out that
they needed to be more involved (Each child process needed to
initialize the JVM) and because it introduced a whole set of
new problems that were not acceptible. Instead, now we will support
an optional single-threaded process model that can be invoked to
deal with JVMs that have trouble executing when invoked from a
thread.
2006-11-15 05:06:54 +00:00
Ryan Partridge
45272111e9 Initial checkin of yast2-casa-ats module. 2006-11-14 10:48:37 +00:00
Juan Carlos Luciani
5f14f490e2 Enhancing the AuthTokenValidateSvc so that it can have a process model
where it executes the Java classes from helper processes. This is being
dome to get around SUN's JVM problem where class invokations from a
thread fail.
2006-11-14 08:07:01 +00:00
Juan Carlos Luciani
05b43cafdd Adjusted the VS solution to conform to the new folder organization.
Migrated the solution from VS2003 to VS2005.

Created clientdevel MSM and MSI.
2006-11-13 12:52:08 +00:00