shibboleth/cpp-sp.git
21 years agoFixed config defs.
Scott Cantor [Sun, 20 Apr 2003 07:03:40 +0000 (07:03 +0000)]
Fixed config defs.

21 years agoReordered headers and removed some constants.
Scott Cantor [Sun, 20 Apr 2003 06:59:54 +0000 (06:59 +0000)]
Reordered headers and removed some constants.

21 years agoA few compatibility fixes.
Scott Cantor [Sun, 20 Apr 2003 06:57:24 +0000 (06:57 +0000)]
A few compatibility fixes.

21 years agoAdded contact info to site metadata.
Scott Cantor [Sat, 19 Apr 2003 22:36:52 +0000 (22:36 +0000)]
Added contact info to site metadata.

21 years agoCode shifted to shib library.
Scott Cantor [Sat, 19 Apr 2003 22:24:13 +0000 (22:24 +0000)]
Code shifted to shib library.

21 years agoChange cacheTimeout configuration from minutes to seconds
Derek Atkins [Thu, 17 Apr 2003 18:39:57 +0000 (18:39 +0000)]
Change cacheTimeout configuration from minutes to seconds
to be consistent..

21 years agoPlug-in support for Credential Cache -- allows for Caches to be
Derek Atkins [Wed, 16 Apr 2003 22:23:04 +0000 (22:23 +0000)]
Plug-in support for Credential Cache -- allows for Caches to be
plugged into the system.

* shar/shar-utils.cpp: initialize and terminate each thread

* shib-target/ccache-utils.h: add thread_init(), thread_end(),
   and the CCacheFactory registration

* shib-target/shib-ccache.cpp: add the ccache factory registration

* shib-target/shib-config.cpp: move the CCache creation later
  in the startup process (after the extensions are loaded)

21 years agoBegin a restructuring to allow the most re-use of code for
Derek Atkins [Mon, 14 Apr 2003 22:28:35 +0000 (22:28 +0000)]
Begin a restructuring to allow the most re-use of code for
alternate caching schemes

Break out the Credential Cache code into its own header file.
Move the ResourceEntry class into its own file

21 years agoxmlsec requires xml2 -- required to get "make distcheck" to work. Make distcheck
Derek Atkins [Mon, 7 Apr 2003 20:12:06 +0000 (20:12 +0000)]
xmlsec requires xml2 -- required to get "make distcheck" to work.  Make distcheck
now works, and the package DOES appear to include the ONCRPC tree :)

21 years agoUser -> for pointer dereference
Derek Atkins [Mon, 7 Apr 2003 18:54:13 +0000 (18:54 +0000)]
User -> for pointer dereference

21 years agoProperly find Xerces-C 2.2 (it needs a namespace)
Derek Atkins [Mon, 7 Apr 2003 18:53:50 +0000 (18:53 +0000)]
Properly find Xerces-C 2.2 (it needs a namespace)

21 years agoAdded logging.
Scott Cantor [Fri, 4 Apr 2003 05:43:32 +0000 (05:43 +0000)]
Added logging.

21 years agoAdded attribute factories.
Scott Cantor [Fri, 4 Apr 2003 05:34:01 +0000 (05:34 +0000)]
Added attribute factories.

21 years agoRemoved attribute factories.
Scott Cantor [Fri, 4 Apr 2003 05:33:16 +0000 (05:33 +0000)]
Removed attribute factories.

21 years agoRemoval of eduPerson
Scott Cantor [Fri, 4 Apr 2003 05:24:03 +0000 (05:24 +0000)]
Removal of eduPerson

21 years agoMoved AAP and attribute config from eduPerson lib.
Scott Cantor [Fri, 4 Apr 2003 05:23:44 +0000 (05:23 +0000)]
Moved AAP and attribute config from eduPerson lib.

21 years agoMigration of eduPerson code.
Scott Cantor [Fri, 4 Apr 2003 05:23:15 +0000 (05:23 +0000)]
Migration of eduPerson code.

21 years agoSwitched to pattern layout.
Scott Cantor [Fri, 4 Apr 2003 05:18:34 +0000 (05:18 +0000)]
Switched to pattern layout.

21 years agoMoved AAP stuff in, added new attr value type.
Scott Cantor [Thu, 3 Apr 2003 23:35:48 +0000 (23:35 +0000)]
Moved AAP stuff in, added new attr value type.

21 years agoMake sure to always include mod_shibrm and mod_shire Makefiles..
Derek Atkins [Fri, 21 Mar 2003 18:18:28 +0000 (18:18 +0000)]
Make sure to always include mod_shibrm and mod_shire Makefiles..

21 years agoApply XDR fix for SunRPC, even though our code is not affected
Derek Atkins [Thu, 20 Mar 2003 21:51:44 +0000 (21:51 +0000)]
Apply XDR fix for SunRPC, even though our code is not affected
since we don't use these functions.

21 years agoRemove old schema
Scott Cantor [Mon, 17 Mar 2003 17:02:34 +0000 (17:02 +0000)]
Remove old schema

21 years agoremoved unneeded schema
Scott Cantor [Mon, 17 Mar 2003 17:02:00 +0000 (17:02 +0000)]
removed unneeded schema

21 years agoMake sure we distribute a complete source tree
Derek Atkins [Wed, 12 Mar 2003 16:41:34 +0000 (16:41 +0000)]
Make sure we distribute a complete source tree

21 years agorevert out the daemon() call -- it's not portable
Derek Atkins [Mon, 10 Mar 2003 18:10:15 +0000 (18:10 +0000)]
revert out the daemon() call -- it's not portable

21 years agoput the shar into the background by default
Derek Atkins [Fri, 7 Mar 2003 21:04:59 +0000 (21:04 +0000)]
put the shar into the background by default
add -F option to run it in the foreground

21 years agoAdded format URI
Scott Cantor [Thu, 6 Mar 2003 05:45:29 +0000 (05:45 +0000)]
Added format URI

21 years agoadded back old audience value for easier migration to new release
Scott Cantor [Thu, 6 Mar 2003 05:23:46 +0000 (05:23 +0000)]
added back old audience value for easier migration to new release

21 years agoAdded format URI
Scott Cantor [Thu, 6 Mar 2003 05:12:55 +0000 (05:12 +0000)]
Added format URI

21 years agoFix a spelling snafu
Derek Atkins [Wed, 5 Mar 2003 20:30:16 +0000 (20:30 +0000)]
Fix a spelling snafu

21 years agoFixed calls to exception macros
Scott Cantor [Tue, 4 Mar 2003 23:32:03 +0000 (23:32 +0000)]
Fixed calls to exception macros

21 years agoChange the RPCError API; supply a 'type', 'text', 'desc', and 'code'
Derek Atkins [Tue, 4 Mar 2003 22:00:07 +0000 (22:00 +0000)]
Change the RPCError API; supply a 'type', 'text', 'desc', and 'code'
as getter functions.  Don't let the caller have direct access to the
SAML Exception.

21 years agoUse a fixed message for AA content type errors for now
Scott Cantor [Tue, 4 Mar 2003 20:58:24 +0000 (20:58 +0000)]
Use a fixed message for AA content type errors for now

21 years agoadded AAP to build
Scott Cantor [Tue, 4 Mar 2003 02:50:37 +0000 (02:50 +0000)]
added AAP to build

21 years agoupdated pkg and lib version
Scott Cantor [Tue, 4 Mar 2003 02:34:58 +0000 (02:34 +0000)]
updated pkg and lib version

21 years agoHandle errors slightly better.
Derek Atkins [Mon, 3 Mar 2003 22:15:35 +0000 (22:15 +0000)]
Handle errors slightly better.
Don't ALWAYS loop on session failure -- some errors are fatal.

21 years agoAllow empty policy.
Scott Cantor [Sat, 1 Mar 2003 23:24:20 +0000 (23:24 +0000)]
Allow empty policy.

21 years agoScrewed up another cut and paste.
Scott Cantor [Sat, 1 Mar 2003 05:26:44 +0000 (05:26 +0000)]
Screwed up another cut and paste.

21 years agoForgot a cast.
Scott Cantor [Sat, 1 Mar 2003 05:16:50 +0000 (05:16 +0000)]
Forgot a cast.

21 years agoScrewed up DOM element reference.
Scott Cantor [Sat, 1 Mar 2003 05:15:13 +0000 (05:15 +0000)]
Screwed up DOM element reference.

21 years agoMore debugging.
Scott Cantor [Sat, 1 Mar 2003 05:10:36 +0000 (05:10 +0000)]
More debugging.

21 years agoDebug logging.
Scott Cantor [Sat, 1 Mar 2003 04:46:58 +0000 (04:46 +0000)]
Debug logging.

21 years agoAdded RSA server CA for UTH.
Walter Hoehn [Sat, 1 Mar 2003 04:39:25 +0000 (04:39 +0000)]
Added RSA server CA for UTH.

21 years agoFixed bug in EPPN parsing.
Scott Cantor [Fri, 28 Feb 2003 22:04:33 +0000 (22:04 +0000)]
Fixed bug in EPPN parsing.

21 years agoUpdated default.
Scott Cantor [Fri, 28 Feb 2003 21:39:07 +0000 (21:39 +0000)]
Updated default.

21 years agoComments fixed.
Scott Cantor [Fri, 28 Feb 2003 21:28:29 +0000 (21:28 +0000)]
Comments fixed.

21 years agoDefault policy
Scott Cantor [Fri, 28 Feb 2003 21:22:53 +0000 (21:22 +0000)]
Default policy

21 years agoUse InCommon key for sites file.
Scott Cantor [Fri, 28 Feb 2003 21:20:11 +0000 (21:20 +0000)]
Use InCommon key for sites file.

21 years agoAdded default AAP.
Scott Cantor [Fri, 28 Feb 2003 21:19:32 +0000 (21:19 +0000)]
Added default AAP.

21 years agoChange to attribute name.
Scott Cantor [Fri, 28 Feb 2003 20:44:24 +0000 (20:44 +0000)]
Change to attribute name.

21 years agoMultiply minutes for cleanup by 60.
Scott Cantor [Fri, 28 Feb 2003 20:25:42 +0000 (20:25 +0000)]
Multiply minutes for cleanup by 60.

21 years agorevised mapper interface
Scott Cantor [Fri, 28 Feb 2003 16:56:08 +0000 (16:56 +0000)]
revised mapper interface

21 years agoadded CA support
Scott Cantor [Fri, 28 Feb 2003 16:55:30 +0000 (16:55 +0000)]
added CA support

21 years agofixes to regexp code
Scott Cantor [Fri, 28 Feb 2003 16:55:03 +0000 (16:55 +0000)]
fixes to regexp code

21 years agoFix the ShibINI::iterator destructors.
Derek Atkins [Tue, 25 Feb 2003 20:37:03 +0000 (20:37 +0000)]
Fix the ShibINI::iterator destructors.
Add more logging to the iterators

21 years agoImprove the logging information
Derek Atkins [Tue, 25 Feb 2003 20:36:29 +0000 (20:36 +0000)]
Improve the logging information

21 years agoBe sure to delete the ShibINI::Iterator objects when we're done with them
Derek Atkins [Tue, 25 Feb 2003 20:34:57 +0000 (20:34 +0000)]
Be sure to delete the ShibINI::Iterator objects when we're done with them

21 years agoImplement the request attributes
Derek Atkins [Tue, 25 Feb 2003 19:59:03 +0000 (19:59 +0000)]
Implement the request attributes

21 years agocorrected log label
Scott Cantor [Tue, 25 Feb 2003 08:58:04 +0000 (08:58 +0000)]
corrected log label

21 years agoFixed a race condition during ST init, moving most of the work to an init() method
Scott Cantor [Tue, 25 Feb 2003 07:01:07 +0000 (07:01 +0000)]
Fixed a race condition during ST init, moving most of the work to an init() method

21 years agoAdd configuration options for the cacheType, cacheClean, cacheTimeout,
Derek Atkins [Tue, 25 Feb 2003 01:28:39 +0000 (01:28 +0000)]
Add configuration options for the cacheType, cacheClean, cacheTimeout,
and requestAttributes

21 years agoAdded regexp feature to require rule processing.
Scott Cantor [Mon, 24 Feb 2003 22:15:57 +0000 (22:15 +0000)]
Added regexp feature to require rule processing.

21 years agoRevise affiliation URI
Scott Cantor [Mon, 24 Feb 2003 19:35:35 +0000 (19:35 +0000)]
Revise affiliation URI

21 years agoAdded refresh setting.
Scott Cantor [Thu, 20 Feb 2003 00:26:39 +0000 (00:26 +0000)]
Added refresh setting.

21 years agoAdded refresh setting.
Scott Cantor [Thu, 20 Feb 2003 00:19:55 +0000 (00:19 +0000)]
Added refresh setting.

21 years agofixed typename in exception classes
Scott Cantor [Wed, 19 Feb 2003 23:07:02 +0000 (23:07 +0000)]
fixed typename in exception classes

21 years agochanged constant
Scott Cantor [Wed, 19 Feb 2003 22:02:59 +0000 (22:02 +0000)]
changed constant

21 years agoFixed policy loading again
Scott Cantor [Wed, 19 Feb 2003 21:38:28 +0000 (21:38 +0000)]
Fixed policy loading again

21 years agowrong ini section in policy loading
Scott Cantor [Wed, 19 Feb 2003 21:16:15 +0000 (21:16 +0000)]
wrong ini section in policy loading

21 years agoChange policy URI
Scott Cantor [Wed, 19 Feb 2003 19:57:32 +0000 (19:57 +0000)]
Change policy URI

21 years agoUse built in mapper implementation.
Scott Cantor [Wed, 19 Feb 2003 19:51:46 +0000 (19:51 +0000)]
Use built in mapper implementation.

21 years agofixed extra template instantiation
Scott Cantor [Wed, 19 Feb 2003 19:41:30 +0000 (19:41 +0000)]
fixed extra template instantiation

21 years agoAdded new OriginSiteMapper design to support refresh.
Scott Cantor [Wed, 19 Feb 2003 19:14:37 +0000 (19:14 +0000)]
Added new OriginSiteMapper design to support refresh.

21 years agoChanged policy URI to pilot version.
Scott Cantor [Sat, 15 Feb 2003 02:13:39 +0000 (02:13 +0000)]
Changed policy URI to pilot version.

21 years agoWasn't calling function to get socket name.
Scott Cantor [Fri, 14 Feb 2003 08:31:02 +0000 (08:31 +0000)]
Wasn't calling function to get socket name.

21 years agoReturn NULL sock name if config not loaded.
Scott Cantor [Fri, 14 Feb 2003 08:14:18 +0000 (08:14 +0000)]
Return NULL sock name if config not loaded.

21 years agoWorked around C language of shar.
Scott Cantor [Fri, 14 Feb 2003 08:10:17 +0000 (08:10 +0000)]
Worked around C language of shar.

21 years agoRemove old GCC makefiles
Scott Cantor [Fri, 14 Feb 2003 07:50:38 +0000 (07:50 +0000)]
Remove old GCC makefiles

21 years agoMade SHAR socket name/port configurable.
Scott Cantor [Fri, 14 Feb 2003 07:50:10 +0000 (07:50 +0000)]
Made SHAR socket name/port configurable.

21 years agoBypass policy URI for now.
Scott Cantor [Fri, 14 Feb 2003 05:01:56 +0000 (05:01 +0000)]
Bypass policy URI for now.

21 years agoVarious fixes to runtime policy changes
Scott Cantor [Thu, 13 Feb 2003 07:11:40 +0000 (07:11 +0000)]
Various fixes to runtime policy changes

21 years agoConverted policy vector to XMLCh from xstring
Scott Cantor [Thu, 13 Feb 2003 07:02:55 +0000 (07:02 +0000)]
Converted policy vector to XMLCh from xstring

21 years agoAdded filter on assertions for condition checking.
Scott Cantor [Thu, 13 Feb 2003 06:30:11 +0000 (06:30 +0000)]
Added filter on assertions for condition checking.

21 years agoAdded runtime policy via config file, added global access to target config.
Scott Cantor [Thu, 13 Feb 2003 06:22:18 +0000 (06:22 +0000)]
Added runtime policy via config file, added global access to target config.

21 years agoAdded SAML policies
Scott Cantor [Thu, 13 Feb 2003 05:19:50 +0000 (05:19 +0000)]
Added SAML policies

21 years agoModified default policy URI.
Scott Cantor [Thu, 13 Feb 2003 05:01:58 +0000 (05:01 +0000)]
Modified default policy URI.

21 years agomigrated thread classes to libshib
Scott Cantor [Sat, 8 Feb 2003 22:57:36 +0000 (22:57 +0000)]
migrated thread classes to libshib

21 years agoextra backslash
Scott Cantor [Sat, 8 Feb 2003 22:44:33 +0000 (22:44 +0000)]
extra backslash

21 years agoMigrated thread API from shib-target.
Scott Cantor [Sat, 8 Feb 2003 22:40:03 +0000 (22:40 +0000)]
Migrated thread API from shib-target.

21 years agoChange the "extensions" header to "extensions:saml", in preparation
Derek Atkins [Tue, 4 Feb 2003 02:11:19 +0000 (02:11 +0000)]
Change the "extensions" header to "extensions:saml", in preparation
for (future) extensions of other types.

21 years agoFixed exception constructor.
Scott Cantor [Sun, 2 Feb 2003 22:58:17 +0000 (22:58 +0000)]
Fixed exception constructor.

21 years agoAdded Java-style pkg prefix to exceptions.
Scott Cantor [Sun, 2 Feb 2003 22:41:40 +0000 (22:41 +0000)]
Added Java-style pkg prefix to exceptions.

21 years agoWindows makefile changes
Scott Cantor [Sun, 2 Feb 2003 21:52:52 +0000 (21:52 +0000)]
Windows makefile changes

21 years agoAdded RTTI and factory interface for exceptions.
Scott Cantor [Sun, 2 Feb 2003 21:50:41 +0000 (21:50 +0000)]
Added RTTI and factory interface for exceptions.

21 years agoneed to convert the XMLString to char* to output..
Derek Atkins [Fri, 31 Jan 2003 21:40:27 +0000 (21:40 +0000)]
need to convert the XMLString to char* to output..

21 years agofix a potential SEGV in the rpc code
Derek Atkins [Fri, 31 Jan 2003 21:00:40 +0000 (21:00 +0000)]
fix a potential SEGV in the rpc code

21 years agomod_shibrm:
Derek Atkins [Fri, 31 Jan 2003 20:59:44 +0000 (20:59 +0000)]
mod_shibrm:
add some additional reporting

mod_shire:
pass the target url to "sessionIsValid()"

shib-ccache:
allow a small window for assertions.
add a preFetch() function to pre-fetch the assertions from the AA

shib-ini:
fix an uninitialized variable bug
add some extra debugging if compiled with -DDEBUG

shib-shire:
accept a new argument for sessionIsValid() -- the target URL

shib-target:
extent SHIRE api

shibrpc-server:
consolodate error code.
call preFetch()
catch SAML Exceptions and pass the back to the client

shibrpc*:
add the url to the session_is_valid_args

21 years agoshib-ccache.cpp:
Derek Atkins [Fri, 31 Jan 2003 17:59:37 +0000 (17:59 +0000)]
shib-ccache.cpp:
  add another rwlock on the cachentry
  read-lock the cacheentry on find()
  aquire the write-lock() on the cacheentry before we try to remove() it

shib-target.h:
  add a release() method to a ccacheentry
  add a bunch of comments to the ccache methods

shibrpc-server.cpp:
  be sure to release() the ccacheentry when we're done with it

Fixes the race condition for deleting a cacheentry

21 years agoignore xmlsectest
Derek Atkins [Fri, 31 Jan 2003 17:50:33 +0000 (17:50 +0000)]
ignore xmlsectest

21 years agoMove some headers around so we can #undef _XOPEN_SOURCE
Derek Atkins [Thu, 30 Jan 2003 23:53:45 +0000 (23:53 +0000)]
Move some headers around so we can #undef _XOPEN_SOURCE
before we #include libapreq.  This still compiles fine
on Linux, and should fix the problem we have on Solaris.
(hopefully) fixes bug # 38