David Jencks wrote:
A while back I moved the sandbox triplesec branches to directory trunk because I couldn't get anything to work using released versions but could against trunk. However with the recent changes to bootstrap schema processing I strongly suspect that everything broke. I managed to get some of the tests to compile but I don't trust the code I came up with. If someone (Alex) could take a look at one of these tests I'd appreciate it.

What I will do is go into the trunks today and fix triplesec. I'm on and off site today though so bear with me.

Alex


All my recent work has been in sandbox/triplesec-jacc2; sandbox/triplesec-jacc is primarily a monument to my newby mistakes.

The best examples are probably the tests in triplesec-store.

BTW I got annoyed at the code in admin-api and wrote something that's sort of a object-ldap mapping framework inspired by (my poor understanding of) jdo/jpa. It doesn't do enhancement or read metadata from xml so you have to write java code to install that, but the persistence stuff is then pretty automatic. I'm sure there are parts I forgot plus plenty of bugs, but it seems to deal ok with: -"pojos" that correspond to subcontexts/entries in ldap with single and multivalued attributes. -collections that correspond to children of an entry, such as the permissions under an application. These can be separated by e.g. an ou=permissions (or anything else that is single-valued and not mapped). These are modeled as maps with the key being the dn component. -collections that correspond to multivalued attributes where the values are keys into a "child map" as just described. Again these are modeled as maps. An example in triplesec is the grants/denials for a role, these are multivalued attributes where the values are the permission ids for the actual permission under the application.

To confuse the issue this code is in admin-api2 whereas the original is in admin-api and only admin-api2 is compiled at the moment.

thanks
david jencks




begin:vcard
fn:Alex Karasulu
n:Karasulu;Alex
org:Apache Software Foundation;Apache Directory
adr:;;1005 N. Marsh Wind Way;Ponte Vedra ;FL;32082;USA
email;internet:[EMAIL PROTECTED]
title:Member, V.P.
tel;work:(904) 791-2766
tel;fax:(904) 808-4789
tel;home:(904) 808-4789
tel;cell:(904) 315-4901
note;quoted-printable:AIM: alexokarasulu=0D=0A=
	MSN: [EMAIL PROTECTED]
	Yahoo!: alexkarasulu=0D=0A=
	IRC: aok=0D=0A=
	PGP ID: 1024D/4E1370F8 BBCC E8D8 8756 2D51 C3D4 014A 3662 F96F 4E13 70F8=0D=0A=
	
x-mozilla-html:FALSE
url:http://people.apache.org/~akarasulu
version:2.1
end:vcard

Reply via email to