Hi all
I thing many poeple works for a LDAP integration. I received some sources
from
Joshua Gerrish who is developed JetspeedLdapSecurtiy for jetspeed ldap
integration.
So we also tried to implement some group and role feature as said on
turbine's ldap how-to pages but It will be very hard to implement this
behaviour for large sites. (with Openldap, performance decrease if you have
many values in same object). So we will reengineering this scenario for our
needs.
If all others explains their efforts may be we can avoid many duplications.
Also todd is right every ldap application need some wrapper like utilities.
May be some part of jakarta common library


Ender KILICOGLU

-----Ozgun Ileti-----
Kimden: todd [mailto:[EMAIL PROTECTED]]
Tarih: Monday, January 21, 2002 8:37 AM
Kime: Jetspeed Users List
Konu: Re: LDAP ???


The LDAP is more or less non-existant according to my programmer. We've
been working on it, and have a good start with it, using the turbine
tools, and other stuff (I don't have all the details). We would be
willing to commit what we have. I believe though, what needs to happen,
is a more thorough approach, with common components which might work on
any apache product, such as "snap", or "jakarta-snap", part of the
Commons collection?

todd
http://www.wiserlabz.com


Hugh Brien wrote:

>I have not used the LDAP implementation yet but I plan on it in the near
>future.    We are confident we will be able to get it working.  Let me know
>if you still need help with this feature.
>r,
>Hugh
>
>----- Original Message -----
>From: <[EMAIL PROTECTED]>
>To: "Jetspeed Users List" <[EMAIL PROTECTED]>
>Sent: Wednesday, January 16, 2002 6:10 PM
>Subject: LDAP ???
>
>
>>I have searched through all the LDAP messages in the archives and haven't
>>really found a definitive answer on what works.  From what I gathered
>>there is turbine support but it doesn't work?  Or perhaps Turbine works
>>but the Jetspeed integration doesn't?
>>
>>Here is what I find in the TurbineResources.properties file:
>>
>>I tried commenting out the DBUserManger and replacing it with the
>>LDAPUserManager
>>
>>
>#services.SecurityService.user.manager=org.apache.turbine.services.security
.
>db.DBUserManager
>
>services.SecurityService.user.manager=org.apache.turbine.services.security.
L
>DAP.LDAPUserManager
>
>>#There is no Jetspeed.services.security.JetspeedLDAPSecurityService?
>>Perhaps this is where it falls short?  I left this as is.
>>
>services.SecurityService.classname=org.apache.jetspeed.services.security.Je
t
>speedDBSecurityService
>
>># Made the necessary changes here
>>services.SecurityService.ldap.security.athentication=simple
>>services.SecurityService.ldap.port=<LDAP PORT>
>>services.SecurityService.ldap.host=<LDAP HOST>
>>services.SecurityService.ldap.admin.username=<ADMIN USERNAME>
>>services.SecurityService.ldap.admin.password=<ADMIN PASSWORD>
>>services.SecurityService.ldap.user.basesearch=<SEARCH PATTERN>
>>services.SecurityService.ldap.user.search.filter=<SEARCH FILTER>
>>services.SecurityService.ldap.dn.attribute=userPrincipalName
>>services.SecurityService.ldap.provider=com.sun.jndi.ldap.LdapCtxFactory
>>
>>I tried these changes for kicks using 1.3a2 release build and received the
>>following message upon login:
>>
>>The exception is:
>>java.lang.NullPointerException
>>        at
>>
>org.apache.turbine.services.security.ldap.LDAPUserManager.retrieve(LDAPUser
M
>anager.java:172)
>
>>        at
>>
>org.apache.turbine.services.security.ldap.LDAPUserManager.retrieve(LDAPUser
M
>anager.java:281)
>
>>        at
>>
>org.apache.turbine.services.security.BaseSecurityService.getAuthenticatedUs
e
>r(BaseSecurityService.java:312)
>
>>        at
>>
>org.apache.turbine.services.security.TurbineSecurity.getAuthenticatedUser(T
u
>rbineSecurity.java:199)
>
>>        at
>>org.apache.turbine.modules.actions.LoginUser.doPerform(LoginUser.java:111)
>>        .....
>>
>>
>>So it at least found the LDAPUserManger class.  I think it got the null
>>pointer exception because the adminUser object is null.
>>
>>Has anyone gotten any further on this?  My end goal is the ability to
>>authenticate against LDAP, but I would like to use the rest of the
>>Jetspeed security system (roles, groups).
>>
>>Any help is appreciated.
>>
>>-Jim
>>
>
>
>--
>To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

Attachment: jetspeed-ldap.tar.gz
Description: GNU Zip compressed data

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to