Mike Taylor [Wed, 18 Jan 2006 15:03:02 +0000 (15:03 +0000)]
discardUnauthorisedDBs now works correctly.
(Workaround for bug in get_vhost_otherinfo())
Mike Taylor [Wed, 18 Jan 2006 14:38:48 +0000 (14:38 +0000)]
Recognise and honour <discardUnauthorisedDBs> element.
Adam Dickmeiss [Wed, 18 Jan 2006 14:36:15 +0000 (14:36 +0000)]
Merger scan returns diagnostics
Mike Taylor [Wed, 18 Jan 2006 14:12:50 +0000 (14:12 +0000)]
New optional empty element <discardUnauthorisedDBs> in auth_simple.
Adam Dickmeiss [Wed, 18 Jan 2006 14:10:47 +0000 (14:10 +0000)]
First merging scan
Mike Taylor [Wed, 18 Jan 2006 13:56:12 +0000 (13:56 +0000)]
The special database name "*" is now recognised for scan as well as search.
The special target name "*" is also now recognised.
robstyles [Wed, 18 Jan 2006 13:52:19 +0000 (13:52 +0000)]
setup foo, bar and baz
Mike Taylor [Wed, 18 Jan 2006 13:38:57 +0000 (13:38 +0000)]
Add post-virtDb target authorisation step.
Mike Taylor [Wed, 18 Jan 2006 13:32:59 +0000 (13:32 +0000)]
Implement target authorisation.
Mike Taylor [Wed, 18 Jan 2006 13:32:46 +0000 (13:32 +0000)]
Another private method ... <sigh>
Mike Taylor [Wed, 18 Jan 2006 13:32:19 +0000 (13:32 +0000)]
Use more relevant targets.
Mike Taylor [Wed, 18 Jan 2006 11:41:08 +0000 (11:41 +0000)]
Filter status includes booleans indicating presence of registers.
Mike Taylor [Wed, 18 Jan 2006 11:22:03 +0000 (11:22 +0000)]
Implement config_targetRegister()
Mike Taylor [Wed, 18 Jan 2006 11:12:15 +0000 (11:12 +0000)]
Recognise <targetRegister> as well as <userRegister>
die() utility function to throw exceptions.
Mike Taylor [Wed, 18 Jan 2006 11:11:33 +0000 (11:11 +0000)]
New private methods.
<rant>It's insane that I have to put these into a header file. They
are defined and used only in "filter_auth_simple.cpp", and make no
difference whatsoever to the physical layout of the object -- why
should I tell the world about them?</rant>
Adam Dickmeiss [Wed, 18 Jan 2006 10:57:27 +0000 (10:57 +0000)]
Added utility yp2::util::set_vhost_otherinfo to put vhost
stuff in other-information unit.
Mike Taylor [Wed, 18 Jan 2006 10:50:13 +0000 (10:50 +0000)]
Recognise special database name "*" in user-register file, indicating
that the user is allowed access to all databases (but will still be
subject to any target-authorisation tests to follow).
Mike Taylor [Wed, 18 Jan 2006 10:49:00 +0000 (10:49 +0000)]
The "mike" user now has access to all databases, due to special "*"
robstyles [Wed, 18 Jan 2006 10:35:04 +0000 (10:35 +0000)]
added foo bar and baz alias and authorisation
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:58 +0000 (10:30 +0000)]
Change RouterFleXML so that filters element gets optional
Adam Dickmeiss [Wed, 18 Jan 2006 10:30:28 +0000 (10:30 +0000)]
Pass init implementation + authentication stuff through filter virt_db.
Mike Taylor [Wed, 18 Jan 2006 10:29:50 +0000 (10:29 +0000)]
<filename> element within Auth-Simple filter is now called <userRegister>.
Also allow <targetRegister> in this place.
Mike Taylor [Wed, 18 Jan 2006 10:29:08 +0000 (10:29 +0000)]
<filename> element within Auth-Simple filter is now called <userRegister>.
Mike Taylor [Wed, 18 Jan 2006 10:28:39 +0000 (10:28 +0000)]
New
Mike Taylor [Wed, 18 Jan 2006 10:10:40 +0000 (10:10 +0000)]
Whitespace fix.
Adam Dickmeiss [Wed, 18 Jan 2006 09:20:30 +0000 (09:20 +0000)]
Allow multi filter to do re-routing based on virtual target, i.e.
<target route="myroute">vtarget</target>
Adam Dickmeiss [Tue, 17 Jan 2006 18:55:55 +0000 (18:55 +0000)]
Filter multi lets scan through if only one target/db is selected
Mike Taylor [Tue, 17 Jan 2006 17:58:46 +0000 (17:58 +0000)]
Remove debugging output (compiled user-register file)
Mike Taylor [Tue, 17 Jan 2006 17:57:43 +0000 (17:57 +0000)]
Specifics on filters.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:40 +0000 (17:55 +0000)]
Added piggyback support for filters backend_test + multi.
Adam Dickmeiss [Tue, 17 Jan 2006 17:55:18 +0000 (17:55 +0000)]
Remove std::out msg
Mike Taylor [Tue, 17 Jan 2006 17:30:49 +0000 (17:30 +0000)]
Comment on extended services authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:24:14 +0000 (17:24 +0000)]
Support for scan authorisation.
Mike Taylor [Tue, 17 Jan 2006 17:13:31 +0000 (17:13 +0000)]
Per-database authorisation done at search time.
(Scan just lets you get on with it.)
Mike Taylor [Tue, 17 Jan 2006 17:11:45 +0000 (17:11 +0000)]
Add private methods.
Adam Dickmeiss [Tue, 17 Jan 2006 16:56:48 +0000 (16:56 +0000)]
In create_presentResponse, set status to failure for errors
Adam Dickmeiss [Tue, 17 Jan 2006 16:45:49 +0000 (16:45 +0000)]
Filter backend_test does retrieval. Supports fancy USMARC records
as well as piggyback.
Adam Dickmeiss [Tue, 17 Jan 2006 16:43:22 +0000 (16:43 +0000)]
Implemented utilities get_init_diagnostics and get_default_diag
Adam Dickmeiss [Tue, 17 Jan 2006 16:42:28 +0000 (16:42 +0000)]
Return other diagnostic if multiple vhosts is given
Mike Taylor [Tue, 17 Jan 2006 16:09:41 +0000 (16:09 +0000)]
Add authorisation information (list of accessible databases) to
existing authentication information (username and password).
Adam Dickmeiss [Tue, 17 Jan 2006 15:08:02 +0000 (15:08 +0000)]
Just store mutex as normal member in Rep
Mike Taylor [Tue, 17 Jan 2006 14:35:25 +0000 (14:35 +0000)]
New, boxes and arrows all added but no captions yet.
Mike Taylor [Tue, 17 Jan 2006 14:13:00 +0000 (14:13 +0000)]
New
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:54 +0000 (13:54 +0000)]
Filter virt_db did not pass route correctly
Adam Dickmeiss [Tue, 17 Jan 2006 13:54:36 +0000 (13:54 +0000)]
Slightly better diagnostics
Mike Taylor [Tue, 17 Jan 2006 13:46:52 +0000 (13:46 +0000)]
<filters> element is now optional.
Mike Taylor [Tue, 17 Jan 2006 13:46:42 +0000 (13:46 +0000)]
Remove empty <filters> section.
Adam Dickmeiss [Tue, 17 Jan 2006 13:34:51 +0000 (13:34 +0000)]
Added yp2::util split_zurl and get_vhost_otherinfo.
For virt_db close the connection, if backend does it.. rather than
sending a search/scan response for a dead session.
Adam Dickmeiss [Tue, 17 Jan 2006 13:31:09 +0000 (13:31 +0000)]
Alternative route to backend_test
Mike Taylor [Tue, 17 Jan 2006 11:10:30 +0000 (11:10 +0000)]
New, almost empty
Mike Taylor [Tue, 17 Jan 2006 10:43:14 +0000 (10:43 +0000)]
New
Mike Taylor [Tue, 17 Jan 2006 10:35:12 +0000 (10:35 +0000)]
Additional files described.
Mike Taylor [Tue, 17 Jan 2006 10:28:38 +0000 (10:28 +0000)]
Test the zurg config.
robstyles [Tue, 17 Jan 2006 10:10:36 +0000 (10:10 +0000)]
*** empty log message ***
robstyles [Tue, 17 Jan 2006 09:35:02 +0000 (09:35 +0000)]
Test commit.
Mike Taylor [Tue, 17 Jan 2006 09:26:44 +0000 (09:26 +0000)]
More information.
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:26 +0000 (17:03 +0000)]
Update config for new virt_db filter
Adam Dickmeiss [Mon, 16 Jan 2006 17:03:09 +0000 (17:03 +0000)]
Use proper resultSetId
Adam Dickmeiss [Mon, 16 Jan 2006 17:02:55 +0000 (17:02 +0000)]
Fix test
Mike Taylor [Mon, 16 Jan 2006 16:53:37 +0000 (16:53 +0000)]
Add "auth_simple" filter.
Remove extraneous close-tag.
Mike Taylor [Mon, 16 Jan 2006 16:42:15 +0000 (16:42 +0000)]
Allow <filename> element's content to be any string (was NCName)
Mike Taylor [Mon, 16 Jan 2006 16:32:33 +0000 (16:32 +0000)]
Complete.
Mike Taylor [Mon, 16 Jan 2006 16:30:06 +0000 (16:30 +0000)]
Use newly added auth file.
Mike Taylor [Mon, 16 Jan 2006 16:29:49 +0000 (16:29 +0000)]
New
Adam Dickmeiss [Mon, 16 Jan 2006 16:05:50 +0000 (16:05 +0000)]
Filter virt_db returns first unsvailable database as addinfo
Adam Dickmeiss [Mon, 16 Jan 2006 15:51:56 +0000 (15:51 +0000)]
Filter virt_db allows multiple databases.. Each of these is
mapped to a target. Fiter multi is able to multi search these.
Mike Taylor [Mon, 16 Jan 2006 15:49:27 +0000 (15:49 +0000)]
Allow <filename> within <filter> (needed with type="auth_simple")
Mike Taylor [Mon, 16 Jan 2006 15:48:57 +0000 (15:48 +0000)]
Add <filename>/etc/passwd</filename> to <filter type="auth_simple">
Mike Taylor [Mon, 16 Jan 2006 15:22:56 +0000 (15:22 +0000)]
Plenty of new material.
Lots of classes not yet documented.
Mike Taylor [Mon, 16 Jan 2006 14:33:41 +0000 (14:33 +0000)]
Formatting.
Mike Taylor [Mon, 16 Jan 2006 14:33:29 +0000 (14:33 +0000)]
New -- very, very incomplete.
Mike Taylor [Mon, 16 Jan 2006 13:55:22 +0000 (13:55 +0000)]
new
Mike Taylor [Mon, 16 Jan 2006 12:29:03 +0000 (12:29 +0000)]
Comment on empty element.
Mike Taylor [Mon, 16 Jan 2006 12:24:14 +0000 (12:24 +0000)]
Explicit enumeration "type" attribute of <filter>
Comments on not-yet-described "session_shared" and "template" filters.
Mike Taylor [Mon, 16 Jan 2006 12:03:11 +0000 (12:03 +0000)]
Support for <filter type="multi">
Comment regarding empty <filter type="auth_simple">
Comment regarding empty <filter type="backend_test">
Mike Taylor [Mon, 16 Jan 2006 12:02:00 +0000 (12:02 +0000)]
Test config3.xml
Mike Taylor [Mon, 16 Jan 2006 11:33:04 +0000 (11:33 +0000)]
<virtual> element accepts optional "route" attribute.
Mike Taylor [Mon, 16 Jan 2006 11:32:40 +0000 (11:32 +0000)]
Test config2.xml
Adam Dickmeiss [Mon, 16 Jan 2006 11:22:56 +0000 (11:22 +0000)]
Make yp2 program
Mike Taylor [Mon, 16 Jan 2006 11:21:59 +0000 (11:21 +0000)]
New -- used only for validating configuration files against schema.
Mike Taylor [Mon, 16 Jan 2006 11:21:38 +0000 (11:21 +0000)]
<threads> element is optional within <filter type="frontend">.
This allows config0.xml to validate.
Adam Dickmeiss [Mon, 16 Jan 2006 01:10:19 +0000 (01:10 +0000)]
search+present functional for multi filter
Adam Dickmeiss [Sun, 15 Jan 2006 20:03:40 +0000 (20:03 +0000)]
Config for filter multi
Adam Dickmeiss [Sun, 15 Jan 2006 20:03:14 +0000 (20:03 +0000)]
Added filter multi. init+search operational
Adam Dickmeiss [Sat, 14 Jan 2006 08:38:57 +0000 (08:38 +0000)]
Use FrontendPtr in virt_db filter
Mike Taylor [Fri, 13 Jan 2006 16:28:00 +0000 (16:28 +0000)]
New
Mike Taylor [Fri, 13 Jan 2006 16:27:14 +0000 (16:27 +0000)]
fix indentation
Adam Dickmeiss [Fri, 13 Jan 2006 15:09:35 +0000 (15:09 +0000)]
Put proper reference IDs in response PDUs properly.
Re-use session in filter virt_db when that is possible.
Filter virt_db offers named result sets - even for backends
that don't support it.
Adam Dickmeiss [Fri, 13 Jan 2006 12:46:06 +0000 (12:46 +0000)]
Added check for -ldl. Libtool does not do it - sometimes
Adam Dickmeiss [Thu, 12 Jan 2006 14:45:04 +0000 (14:45 +0000)]
Put Virt_db private classes inside Virt_db scope
Adam Dickmeiss [Thu, 12 Jan 2006 14:09:08 +0000 (14:09 +0000)]
Prepare for use-use in virt_db filter
Adam Dickmeiss [Thu, 12 Jan 2006 14:08:41 +0000 (14:08 +0000)]
Ignore this test program
Adam Dickmeiss [Thu, 12 Jan 2006 10:04:34 +0000 (10:04 +0000)]
Added files and initial auth_simple filter
Mike Taylor [Wed, 11 Jan 2006 17:57:38 +0000 (17:57 +0000)]
Clearer diagnostic.
Adam Dickmeiss [Wed, 11 Jan 2006 14:59:45 +0000 (14:59 +0000)]
Ignore test_pipe prog
Adam Dickmeiss [Wed, 11 Jan 2006 14:58:28 +0000 (14:58 +0000)]
Implemented yp2::xml::check_empty that serves as default
configure method for filter (in which case no XML config is
allowed).
Adam Dickmeiss [Wed, 11 Jan 2006 13:13:49 +0000 (13:13 +0000)]
Move methods jump_to_... and check_element_yp2 to xmlutil.
Adam Dickmeiss [Wed, 11 Jan 2006 11:51:49 +0000 (11:51 +0000)]
Named routes for filter virt_db. Example in etc/config2.xml
Adam Dickmeiss [Wed, 11 Jan 2006 08:53:52 +0000 (08:53 +0000)]
Extend log filter, so that message can be set
Adam Dickmeiss [Mon, 9 Jan 2006 21:20:15 +0000 (21:20 +0000)]
Do not include router.hpp in filters