portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dolf Smits (JIRA)" <jetspeed-...@jakarta.apache.org>
Subject [jira] Commented: (JS2-188) Implement the LDAP
Date Wed, 30 Mar 2005 13:01:22 GMT
     [ http://issues.apache.org/jira/browse/JS2-188?page=comments#action_61830 ]
     
Dolf Smits commented on JS2-188:
--------------------------------

Hello,

I went on debugging and this error seems to come from the fact that i should just have copied
the security-spi-ldap.xml file to assembly, and not replace the original one.

Then the next problem occurs
It bails oyt with message" wrong constructor argument for bean spi.usersecurityhandler.
This is called with ldapuserCredentialDao, and according to the java source files it should
be LdapPrincipalDao
 When I use that bean, is has no constructor. Added a constructor with no arguments, but that
goes wrong, then added an argument but it won't create the bean as it is an abstratc class
I end up with using ldapUserPrincipalDao and it now seems to start up.

It authenticates!!

Still three remarks (so far)

It cannot handle a space in the DN, it won't connect.
It seems to be dependent of a working network connection (it didn't work anymore when I took
my laptop off-line)
When after some idle-time the connection with the LDAP server is broken, it will not reconnect
but authentication will fail until I restart my tomcat.
One log-in attempt leads to about twenty ldap searches, I think that that should be optimized.

Important questions:
Is the change made to the config files correct?
The documents in the security subproject seem to be outdated (at least the security tables
as shown in the docs are different to the ones that are made during install.)
can somebody shortly explain the current layout of the tables and the actions that are performed
during a log-in attempt?
It's a bit hard to find out the order in which actions need to be performed.

Is someone actively going to build on on the LDAP implementation? If not I will start making
some changes and post them.
If someone is, let's co-operate on these issues.

Thanks a lot, Dolf

> Implement the LDAP
> ------------------
>
>          Key: JS2-188
>          URL: http://issues.apache.org/jira/browse/JS2-188
>      Project: Jetspeed 2
>         Type: Improvement
>   Components: Security
>     Reporter: J, Edgar Zavala
>  Attachments: jetspeed-2-ldap-authentication.tar.gz
>
> Implement the LDAP integration using the SPI, provide the LDAP authenitcation option.
> TODO:
> 1.- Complete the current implementation and complete the David work in:
>    a) org.apache.jetspeed.security.spi.impl.LdapCredentialHandler
>    b) org.apache.jetspeed.security.spi.impl.LdapUserSecurityHandler

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message