xml file provider for osuser

Dave Brondsema <[email protected]> Thu, 8 Apr 2004 09:16:51 -0400 (EDT)
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
I needed a file-based provider for osuser and couldn't figure out how to
get started with the serializable file provider.  So I abstracted the file
provider classes so that you can easily add new file formats.

The source files are at: http://www.splike.com/xmlfileprovider.zip

Classes named File* are the base; XMLAccessProvider simply sets up the
provider to use the XMLGroupCache.  XMLGroupCache has the file
input/output code.  Similarly for XMLCredentialsProvider/XMLUsersCache.

I don't know if backwards compatibility is preserved for the files created
by the Serializable providers.  And I actually don't know if those
providers still work, since I wasn't able to get them working in the first
place

There is no XMLProfileProvider because I don't need one and I had a hard
time understanding how to use propertysets with it.

I am already using this in the Apache Forrest forrestbot webapp.  You can
see the configuration files here as an example:
http://svn.apache.org/viewcvs.cgi/xml/forrest/trunk/scratchpad/forrestbot2/webapp/src/conf/?root=Apache-SVN&rev=9932

-- 
Dave Brondsema : [email protected]
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click