Re: xml file provider for osuser

Dave Brondsema <[email protected]> Mon, 12 Apr 2004 20:13:48 -0400
Newsgroups gmane.comp.java.open-symphony.devel
Message-ID <[email protected]>
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig940041C1B949390DC5498A14
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

You're welcome.  Could you update http://www.opensymphony.com/osuser/api/?

Thanks,

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


Hani Suleiman wrote:
> Sorry for the delay. I've just committed this, thanks for the  
> contribution!
> 
> On Apr 8, 2004, at 2:16 PM, Dave Brondsema wrote:
> 
>>
>> 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
>> _______________________________________________
>> Opensymphony-developers mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
>>
> 
> 
> 
> -------------------------------------------------------
> 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
> _______________________________________________
> Opensymphony-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/opensymphony-developers
> 



--------------enig940041C1B949390DC5498A14
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFAezC+VvBSb5uzznARAkjsAJ9dj95/GSPNsT5v3olpmxorzhE1MwCbB+H/
JCC+7OJsJ0u6GrfJ/TZUIJU=
=MAq1
-----END PGP SIGNATURE-----

--------------enig940041C1B949390DC5498A14--


-------------------------------------------------------
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