shibboleth/cpp-sp.git
21 years agoAdded TLI fix to CXXFLAGS
Scott Cantor [Wed, 23 Oct 2002 03:56:53 +0000 (03:56 +0000)]
Added TLI fix to CXXFLAGS

21 years agomove scott's shibrpc.h fix to shibrpc.x so it doesn't get lost.
Derek Atkins [Wed, 23 Oct 2002 03:15:44 +0000 (03:15 +0000)]
move scott's shibrpc.h fix to shibrpc.x so it doesn't get lost.
push tli onto the client socket before trying RPC (Solaris fix)

21 years agoFix to missing datatype fix for Sol2.6
Scott Cantor [Wed, 23 Oct 2002 02:50:04 +0000 (02:50 +0000)]
Fix to missing datatype fix for Sol2.6

21 years agoAdded config.h
Scott Cantor [Wed, 23 Oct 2002 02:49:28 +0000 (02:49 +0000)]
Added config.h

21 years agoCorrected and added RPC-related tests, fix to library inclusion for libxml
Scott Cantor [Wed, 23 Oct 2002 02:14:22 +0000 (02:14 +0000)]
Corrected and added RPC-related tests, fix to library inclusion for libxml

21 years agotests for TLI RPC fix
Scott Cantor [Wed, 23 Oct 2002 02:13:24 +0000 (02:13 +0000)]
tests for TLI RPC fix

21 years agoAdded log4cpp to build.
Scott Cantor [Tue, 22 Oct 2002 23:22:08 +0000 (23:22 +0000)]
Added log4cpp to build.

21 years agoInclude code to work on Solaris, but it is #ifdef'd out for now
Derek Atkins [Tue, 22 Oct 2002 23:01:59 +0000 (23:01 +0000)]
Include code to work on Solaris, but it is #ifdef'd out for now

21 years agoGot test-client working again
Scott Cantor [Tue, 22 Oct 2002 18:53:59 +0000 (18:53 +0000)]
Got test-client working again

21 years agoRemoved explicit call to accept() and added warning when values are filtered.
Scott Cantor [Tue, 22 Oct 2002 18:18:23 +0000 (18:18 +0000)]
Removed explicit call to accept() and added warning when values are filtered.

21 years agoMade calist mapper paramater optional (don't need CAs if not verifying)
Scott Cantor [Mon, 21 Oct 2002 16:47:29 +0000 (16:47 +0000)]
Made calist mapper paramater optional (don't need CAs if not verifying)

21 years agoAdded xmlsec and friends to the build.
Scott Cantor [Mon, 21 Oct 2002 03:48:55 +0000 (03:48 +0000)]
Added xmlsec and friends to the build.

21 years agoremoved inline assembler breakpoint
Scott Cantor [Mon, 21 Oct 2002 03:46:38 +0000 (03:46 +0000)]
removed inline assembler breakpoint

21 years agoChanged to test signed response on stdin.
Scott Cantor [Mon, 21 Oct 2002 03:43:08 +0000 (03:43 +0000)]
Changed to test signed response on stdin.

21 years agoCorrected dummy mapper interface
Scott Cantor [Mon, 21 Oct 2002 03:42:22 +0000 (03:42 +0000)]
Corrected dummy mapper interface

21 years agoPartial implementation of signature verification with libxmlsec.
Scott Cantor [Sun, 20 Oct 2002 22:57:26 +0000 (22:57 +0000)]
Partial implementation of signature verification with libxmlsec.

21 years agoconfigure.ac: add --with-dmalloc= option to compile with (some) dmalloc support
Derek Atkins [Fri, 18 Oct 2002 20:15:30 +0000 (20:15 +0000)]
configure.ac: add --with-dmalloc= option to compile with (some) dmalloc support
add dmalloc.h to a couple of server-side files, if DMALLOC is turned on.

21 years agoBacked out default security domain change. The change in behavior I was attempting...
Walter Hoehn [Wed, 16 Oct 2002 20:16:47 +0000 (20:16 +0000)]
Backed out default security domain change.  The change in behavior I was attempting to correct was intended.

21 years agoEveryone seems to agree that ; is better than : as a separator.
Walter Hoehn [Wed, 16 Oct 2002 19:48:16 +0000 (19:48 +0000)]
Everyone seems to agree that ; is better than : as a separator.

21 years agoString was going out of scope. Changed to use ap_table_set, which makes a copy.
Walter Hoehn [Wed, 16 Oct 2002 14:00:06 +0000 (14:00 +0000)]
String was going out of scope.  Changed to use ap_table_set, which makes a copy.

21 years agoChanged ENV exporting of multi-valued attributes to use : as the separator. Added...
Walter Hoehn [Wed, 16 Oct 2002 02:58:45 +0000 (02:58 +0000)]
Changed ENV exporting of multi-valued attributes to use : as the separator.  Added escaping of the same.

21 years agoAdded name-based default security domain to Origin Mapper.
Walter Hoehn [Tue, 15 Oct 2002 19:31:32 +0000 (19:31 +0000)]
Added name-based default security domain to Origin Mapper.

21 years agoI should compile before committing..
Derek Atkins [Tue, 15 Oct 2002 16:41:51 +0000 (16:41 +0000)]
I should compile before committing..
use SHIBRPC_UNKNOWN_ERROR for the previous runtime_errors

21 years agoI should try compiling simple fixes..
Derek Atkins [Tue, 15 Oct 2002 16:13:16 +0000 (16:13 +0000)]
I should try compiling simple fixes..

21 years agoTry connecting to the SHAR multiple times (with a short sleep between).
Derek Atkins [Tue, 15 Oct 2002 16:11:28 +0000 (16:11 +0000)]
Try connecting to the SHAR multiple times (with a short sleep between).
Log heavier if it fails (to the log4cpp log)
Throw a ShibTargetException (instead of a runtime_error)
Catch the exception and print an error page

21 years agoFix error message for SHIRE POST (bug 27)
Derek Atkins [Tue, 15 Oct 2002 15:22:07 +0000 (15:22 +0000)]
Fix error message for SHIRE POST (bug 27)

21 years agoreport the saml exception in the error logs.
Derek Atkins [Mon, 14 Oct 2002 22:17:02 +0000 (22:17 +0000)]
report the saml exception in the error logs.

21 years agofix bugID 24.. Use stringstream instead of strstream
Derek Atkins [Wed, 9 Oct 2002 02:53:23 +0000 (02:53 +0000)]
fix bugID 24..  Use stringstream instead of strstream

21 years agoAdd '-f' option
Derek Atkins [Wed, 9 Oct 2002 02:11:51 +0000 (02:11 +0000)]
Add '-f' option
Add conditional to declare svcfd_create()

21 years agoremove the socket "file" at shar shutdown
Derek Atkins [Wed, 9 Oct 2002 01:31:19 +0000 (01:31 +0000)]
remove the socket "file" at shar shutdown

21 years agoMove shibrpc_svc_run() into the shar. Implement our own svc_run(),
Derek Atkins [Wed, 9 Oct 2002 00:27:40 +0000 (00:27 +0000)]
Move shibrpc_svc_run() into the shar.  Implement our own svc_run(),
so this should work on Solaris.

21 years agoChange the rpc service APIs to abstract out RPC SVC creation.
Derek Atkins [Tue, 8 Oct 2002 23:10:26 +0000 (23:10 +0000)]
Change the rpc service APIs to abstract out RPC SVC creation.
This is in preparation for changing from svc_run() to our own
select() loop to fix problems on Solaris 2.6.

21 years agoadded a check for uint64 support in xdr.h
Scott Cantor [Tue, 8 Oct 2002 21:59:35 +0000 (21:59 +0000)]
added a check for uint64 support in xdr.h

21 years agoRebuilt the RPC stubs. Add NEED_XDR_LONGLONG for scott
Derek Atkins [Tue, 8 Oct 2002 18:33:36 +0000 (18:33 +0000)]
Rebuilt the RPC stubs.  Add NEED_XDR_LONGLONG for scott

21 years agoBreak the POST processor into a "handler"
Derek Atkins [Tue, 8 Oct 2002 18:17:07 +0000 (18:17 +0000)]
Break the POST processor into a "handler"
Move "SHIREURL" into apache.conf (out of shibboleth.ini)
Change the way Apache is configured for the POST Processor.

21 years agoAdd --enable-apxs-install configure option (default is OFF). When it is
Derek Atkins [Tue, 8 Oct 2002 02:36:13 +0000 (02:36 +0000)]
Add --enable-apxs-install configure option (default is OFF).  When it is
off, install the apache modules into $(libexecdir)

21 years agowrapped globals in namespace
Scott Cantor [Tue, 8 Oct 2002 01:28:46 +0000 (01:28 +0000)]
wrapped globals in namespace

21 years agoCheck for apreq headers to make sure apreq path is correct
Derek Atkins [Tue, 8 Oct 2002 00:29:36 +0000 (00:29 +0000)]
Check for apreq headers to make sure apreq path is correct

21 years agoIt helps to actually RETURN the object....
Derek Atkins [Tue, 8 Oct 2002 00:25:25 +0000 (00:25 +0000)]
It helps to actually RETURN the object....

21 years agoRemoved tags from endif. Was causing bootstrap to fail.
Walter Hoehn [Mon, 7 Oct 2002 17:05:43 +0000 (17:05 +0000)]
Removed tags from endif.  Was causing bootstrap to fail.

21 years agoadded apxs conditional to bypass install
Scott Cantor [Mon, 7 Oct 2002 00:36:13 +0000 (00:36 +0000)]
added apxs conditional to bypass install

21 years agoper-target CFLAGS seems to fail on Linux
Scott Cantor [Mon, 7 Oct 2002 00:01:46 +0000 (00:01 +0000)]
per-target CFLAGS seems to fail on Linux

21 years agoRemove old GCC makefile
Scott Cantor [Sun, 6 Oct 2002 22:36:59 +0000 (22:36 +0000)]
Remove old GCC makefile

21 years agoChange CVS properties
Scott Cantor [Sun, 6 Oct 2002 22:19:17 +0000 (22:19 +0000)]
Change CVS properties

21 years agoChange CVS properties
Scott Cantor [Sun, 6 Oct 2002 22:11:53 +0000 (22:11 +0000)]
Change CVS properties

21 years agoAdd automake file to shibrm module
Scott Cantor [Sun, 6 Oct 2002 22:03:26 +0000 (22:03 +0000)]
Add automake file to shibrm module

21 years agofixed headers
Scott Cantor [Sun, 6 Oct 2002 22:02:24 +0000 (22:02 +0000)]
fixed headers

21 years agohave to "install" shared libs
Scott Cantor [Sun, 6 Oct 2002 22:01:18 +0000 (22:01 +0000)]
have to "install" shared libs

21 years agoadded prelim support for Apache 1.3 modules
Scott Cantor [Sun, 6 Oct 2002 21:53:28 +0000 (21:53 +0000)]
added prelim support for Apache 1.3 modules

21 years agoAdd automake file to shire module
Scott Cantor [Sun, 6 Oct 2002 20:10:19 +0000 (20:10 +0000)]
Add automake file to shire module

21 years agochanged header locations
Scott Cantor [Sun, 6 Oct 2002 20:09:44 +0000 (20:09 +0000)]
changed header locations

21 years agoPulled out extra registration of shib schema, no longer needed.
Scott Cantor [Fri, 4 Oct 2002 20:21:20 +0000 (20:21 +0000)]
Pulled out extra registration of shib schema, no longer needed.

21 years agoChanged layout for autoconf
Scott Cantor [Fri, 4 Oct 2002 20:19:39 +0000 (20:19 +0000)]
Changed layout for autoconf

21 years agoRemoved extra registration of shib schema.
Scott Cantor [Fri, 4 Oct 2002 20:16:17 +0000 (20:16 +0000)]
Removed extra registration of shib schema.

21 years agoAdded registration of schema, to insure it's been installed.
Scott Cantor [Fri, 4 Oct 2002 20:15:25 +0000 (20:15 +0000)]
Added registration of schema, to insure it's been installed.

21 years agoregister the shib schema
Derek Atkins [Fri, 4 Oct 2002 16:11:53 +0000 (16:11 +0000)]
register the shib schema

21 years agoinstall eduPerson.h into ${includedir}/eduPerson
Derek Atkins [Fri, 4 Oct 2002 02:36:28 +0000 (02:36 +0000)]
install eduPerson.h into ${includedir}/eduPerson

21 years agoautoconfiscate the building of the shar
Derek Atkins [Fri, 4 Oct 2002 02:02:02 +0000 (02:02 +0000)]
autoconfiscate the building of the shar

21 years agoRemove Makefile
Derek Atkins [Fri, 4 Oct 2002 01:48:07 +0000 (01:48 +0000)]
Remove Makefile

21 years agoMove shib-target.h into shib-target subdir
Derek Atkins [Fri, 4 Oct 2002 01:38:10 +0000 (01:38 +0000)]
Move shib-target.h into shib-target subdir
get shib-target to compile with autoconf

21 years agoRemove old Sun makefile
Scott Cantor [Thu, 3 Oct 2002 22:05:21 +0000 (22:05 +0000)]
Remove old Sun makefile

21 years agoMoved to test/
Scott Cantor [Thu, 3 Oct 2002 22:03:22 +0000 (22:03 +0000)]
Moved to test/

21 years agoMoved to new test/ location
Scott Cantor [Thu, 3 Oct 2002 21:58:41 +0000 (21:58 +0000)]
Moved to new test/ location

21 years agoMoved test programs into new location
Scott Cantor [Thu, 3 Oct 2002 21:57:46 +0000 (21:57 +0000)]
Moved test programs into new location

21 years agoChanged header inclusion
Scott Cantor [Thu, 3 Oct 2002 21:55:01 +0000 (21:55 +0000)]
Changed header inclusion

21 years agoCheck in initial autoconf files and headers
Scott Cantor [Thu, 3 Oct 2002 21:54:07 +0000 (21:54 +0000)]
Check in initial autoconf files and headers

21 years agoMoved to eduPerson/
Scott Cantor [Thu, 3 Oct 2002 21:52:52 +0000 (21:52 +0000)]
Moved to eduPerson/

21 years agoMoved to shib/
Scott Cantor [Thu, 3 Oct 2002 21:52:22 +0000 (21:52 +0000)]
Moved to shib/

21 years agoAdd m4 and libtool files
Scott Cantor [Thu, 3 Oct 2002 19:46:44 +0000 (19:46 +0000)]
Add m4 and libtool files

21 years agoHardcoded a base of file:/// so relative URIs can be used.
Scott Cantor [Fri, 27 Sep 2002 21:24:14 +0000 (21:24 +0000)]
Hardcoded a base of file:/// so relative URIs can be used.

21 years agouse the new XMLOriginMapper
Derek Atkins [Fri, 27 Sep 2002 21:22:31 +0000 (21:22 +0000)]
use the new XMLOriginMapper
use new POSTProfile API

21 years agoAdded destructor.
Scott Cantor [Fri, 27 Sep 2002 21:00:08 +0000 (21:00 +0000)]
Added destructor.

21 years agoRemoved mapper from APIs.
Scott Cantor [Fri, 27 Sep 2002 20:59:54 +0000 (20:59 +0000)]
Removed mapper from APIs.

21 years agoAdd the XMLOriginSiteMapper to tyhe build
Derek Atkins [Fri, 27 Sep 2002 20:55:52 +0000 (20:55 +0000)]
Add the XMLOriginSiteMapper to tyhe build

21 years agoInitial port from Java
Scott Cantor [Fri, 27 Sep 2002 20:24:13 +0000 (20:24 +0000)]
Initial port from Java

21 years agoAdded constants.
Scott Cantor [Fri, 27 Sep 2002 20:23:58 +0000 (20:23 +0000)]
Added constants.

21 years agoAdded XML mapper and some constants.
Scott Cantor [Fri, 27 Sep 2002 20:23:36 +0000 (20:23 +0000)]
Added XML mapper and some constants.

21 years agoWe don't need unistd.h (and it causes problems on Solaris)
Derek Atkins [Thu, 26 Sep 2002 22:49:33 +0000 (22:49 +0000)]
We don't need unistd.h (and it causes problems on Solaris)

21 years agoStupid SUN compiler .. implicit -Dsun=1... Can't use a variable "sun"
Derek Atkins [Thu, 26 Sep 2002 02:44:35 +0000 (02:44 +0000)]
Stupid SUN compiler .. implicit -Dsun=1... Can't use a variable "sun"

21 years agoUpdated example configuration files to match new config module
Derek Atkins [Wed, 25 Sep 2002 04:07:46 +0000 (04:07 +0000)]
Updated example configuration files to match new config module
added: static bool ShibINI::boolean(string& value)
added: more logging to shibrpc-server for checkIPAddress

changed configuration model in mod_shire and mod_shibrm to have more
per-server configuration in the INI-file.  Right now it is based on
the "Server Name", but eventually we can add options to define the
SHIRE and RM names for each directory.

21 years agoupdate sample apache config with a few more comments
Derek Atkins [Tue, 24 Sep 2002 21:04:13 +0000 (21:04 +0000)]
update sample apache config with a few more comments
test the ShibNormalizeRequest option -- get it working
fix the ShibCheckAddress option

21 years agoUpdated sample apache config
Derek Atkins [Tue, 24 Sep 2002 04:36:36 +0000 (04:36 +0000)]
Updated sample apache config

21 years agoadd the shireSSLOnly tag to the INI file
Derek Atkins [Tue, 24 Sep 2002 04:35:00 +0000 (04:35 +0000)]
add the shireSSLOnly tag to the INI file

21 years agorefresh the INI file whenever it changes on disk (stat the file
Derek Atkins [Tue, 24 Sep 2002 04:34:02 +0000 (04:34 +0000)]
refresh the INI file whenever it changes on disk (stat the file
before every tag; re-read the file if it has changed)

21 years agoAdd shireSSLOnly config optopn and check it in mod_shire
Derek Atkins [Tue, 24 Sep 2002 03:31:52 +0000 (03:31 +0000)]
Add shireSSLOnly config optopn and check it in mod_shire

21 years agochange the log-level of a few messages from INFO -> DEBUG
Derek Atkins [Tue, 24 Sep 2002 01:49:24 +0000 (01:49 +0000)]
change the log-level of a few messages from INFO -> DEBUG

21 years agoChange the RPC API to pass a list of SAMLAssertion objects. Push the
Derek Atkins [Tue, 24 Sep 2002 01:20:22 +0000 (01:20 +0000)]
Change the RPC API to pass a list of SAMLAssertion objects.  Push the
resource computation into the shar (the RM just passes a full URL).
Cache per-host instead of per-URL.

21 years agoDon't crash if apache does not pass a content type
Derek Atkins [Sat, 21 Sep 2002 02:55:42 +0000 (02:55 +0000)]
Don't crash if apache does not pass a content type

21 years agoFix a character "shift" config bug
Derek Atkins [Sat, 21 Sep 2002 02:51:01 +0000 (02:51 +0000)]
Fix a character "shift" config bug

21 years ago - Update to Xerces-2.1 support
Derek Atkins [Sat, 21 Sep 2002 02:44:42 +0000 (02:44 +0000)]
- Update to Xerces-2.1 support
- add rmError, wayfError, and rmError HTML response files
- add more configuration ability
- move initialization to new ShibTargetConfig class
- better error handling
- update configuration and error handling in both shire and rm modules

21 years agoUpdated to Xerces 2.1
Scott Cantor [Fri, 20 Sep 2002 20:04:00 +0000 (20:04 +0000)]
Updated to Xerces 2.1

21 years agono message
Scott Cantor [Tue, 17 Sep 2002 07:16:48 +0000 (07:16 +0000)]
no message

21 years agomod_shire.cpp: fix all the errors to include APLOG_NOERROR
Derek Atkins [Tue, 17 Sep 2002 04:13:18 +0000 (04:13 +0000)]
mod_shire.cpp: fix all the errors to include APLOG_NOERROR
supply Set-Cookie via err_headers_out instead of headers_out
supply Location from real target, not URL-encoded target
add more debugging messages
shib-ccache.cpp: fix calls to saml::NDC()
shib-rm.cpp: fix calls to saml::NDC()
shib-rpcerror.cpp: catch exceptions from building a SAMLException
log failures
shib-rpchandle.cpp: fix calls to saml::NDC()
shib-shire.cpp: fix calls to saml::NDC()
shib-target.cpp: change DummyMapper to handle shibprod0 properly for posts
fix calls to saml::NDC()
shibrpc-server.cpp: change get_threadid() string
fix calls to saml::NDC()
change timeout to 1hour for more debugging time

21 years agoAdded additional checking calls, a better mapper.
Scott Cantor [Mon, 16 Sep 2002 22:09:38 +0000 (22:09 +0000)]
Added additional checking calls, a better mapper.

21 years agoAdded SAX exception handler.
Scott Cantor [Mon, 16 Sep 2002 19:59:58 +0000 (19:59 +0000)]
Added SAX exception handler.

21 years agoVC6 doesn't like std::time_t
Scott Cantor [Mon, 16 Sep 2002 18:00:32 +0000 (18:00 +0000)]
VC6 doesn't like std::time_t

21 years agoSmall tweaks to prepare() signature
Scott Cantor [Mon, 16 Sep 2002 17:55:08 +0000 (17:55 +0000)]
Small tweaks to prepare() signature

21 years agoAdd posttest program
Scott Cantor [Mon, 16 Sep 2002 17:46:26 +0000 (17:46 +0000)]
Add posttest program

21 years agoAdd the apache config (mods) that I'm using
Derek Atkins [Fri, 13 Sep 2002 23:42:37 +0000 (23:42 +0000)]
Add the apache config (mods) that I'm using

21 years agoDon't need this file -- added by accident
Derek Atkins [Fri, 13 Sep 2002 23:37:46 +0000 (23:37 +0000)]
Don't need this file -- added by accident