If you won't mind sending me you changes, I'll try to get them merged with the LDAP DAO stuff. 

Joseph Dane wrote:
"Robert r. Sanders" <[EMAIL PROTECTED]> writes:

  
lookup.  I have not had a chance to test it, I will be doing that over
the next several days; but if you want to check it out and let me know
of any problems you find you are welcome to have a go at it.
    

I've got it working.  I had to make some changes to support our
particular setup.  If you're interested I can send my changes to you.
of these changes, the only one that really matters is the ability to
add non-LDAP roles.

Here's a summary of the changes I made:

 * let the UserSearchBean lookup attributes on the initial search,
   rather than doing another search later, e.g. for role info.  best
   would perhaps be to allow the lookup to happen either at search
   time or later, or both.

 * created a method

 protected User getUser( ... ) { ... }

   so provider subclasses can create their own User subclass.

 * created a method

 protected void addLocalRoles(UserSearchResults sr, List l) {}

   so provider subclasses can implement non-LDAP roles, in addition to
   LDAP based roles.

 * a couple of smaller misc. things I needed to get it working.

anyhow, modulo a few questions I still have about acegi in general (to
be sent shortly) I'm pretty happy now.
 
  

-- 
    Robert r. Sanders
    Chief Technologist
    iPOV
    (334) 821-5412
    www.ipov.net

Reply via email to