You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by Trustin Lee <tr...@gmail.com> on 2005/12/29 10:25:15 UTC

[apacheds] SSL support and Java 5

Hi all.

I'm adding LDAPS support in apacheds-server.  It is implemented in
ServerContextFactory.startLDAPS(...).  I used MINA SSLFilter and
javax.net.ssl package for it.  This means Java 5 is mandatory to start up
ApacheDS LDAPS.  I'm not sure ApacheDS will run in JDK 1.4, but I guess we
need to load the classes dynamically to make it run in JDK 1.4.

Do we need SSL in JDK 1.4?  It will lead us to implement the backport for
SSLEngine, which is not easy.  If we're going to retain JDK 1.4 support,
then I have to modify the current implementation (I didn't check in) a
little bit.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
PGP Key ID: 0x854B996C

Re: [apacheds] SSL support and Java 5

Posted by Alex Karasulu <ao...@bellsouth.net>.
Stefan Zoerner wrote:

> Hi Trustin!
>
> Trustin Lee wrote:
>
>> Hi all.
>>
>> I'm adding LDAPS support in apacheds-server.  It is implemented in 
>> ServerContextFactory.startLDAPS(...).  I used MINA SSLFilter and 
>> javax.net.ssl package for it.  This means Java 5 is mandatory to 
>> start up ApacheDS LDAPS.  I'm not sure ApacheDS will run in JDK 1.4, 
>> but I guess we need to load the classes dynamically to make it run in 
>> JDK 1.4.
>>
>> Do we need SSL in JDK 1.4?  ...
>
>
> For a user who runs ApacheDS standalone as an LDAP server it is 
> somewhat easy to select the underlying JRE. Java 5 would be no problem 
> from my point of view. Almost all OS already have an appropriate JRE 
> available (not sure about OS/2, z/OS and other even more exotic stuff).
>
> But because people like to embed ApacheDS in applications (like 
> Geronimo or Jetspeed-2 do), and as long as these application should 
> run with older Java versions as well, I think it is quite important to 
> support at least base functionality with JDK 1.4. Does ldaps/SSL 
> belong to this base? I am not sure, but I believe it does not.

Yes I agree. Let's make sure the server still runs on 1.4 for embedding 
in which case the user will not be able to use LDAPS.  Also thanks 
Trustin for working this in the sandbox for now.  I will start migrating 
the other projects today for m2 configuration.

Alex


Re: [apacheds] SSL support and Java 5

Posted by Stefan Zoerner <sz...@apache.org>.
Hi Trustin!

Trustin Lee wrote:
> Hi all.
> 
> I'm adding LDAPS support in apacheds-server.  It is implemented in 
> ServerContextFactory.startLDAPS(...).  I used MINA SSLFilter and 
> javax.net.ssl package for it.  This means Java 5 is mandatory to start 
> up ApacheDS LDAPS.  I'm not sure ApacheDS will run in JDK 1.4, but I 
> guess we need to load the classes dynamically to make it run in JDK 1.4.
> 
> Do we need SSL in JDK 1.4?  ...

For a user who runs ApacheDS standalone as an LDAP server it is somewhat 
easy to select the underlying JRE. Java 5 would be no problem from my 
point of view. Almost all OS already have an appropriate JRE available 
(not sure about OS/2, z/OS and other even more exotic stuff).

But because people like to embed ApacheDS in applications (like Geronimo 
or Jetspeed-2 do), and as long as these application should run with 
older Java versions as well, I think it is quite important to support at 
least base functionality with JDK 1.4. Does ldaps/SSL belong to this 
base? I am not sure, but I believe it does not.

Greetings from snow covered Germany, Stefan