You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Trevor Nielsen <tn...@wedgetail.com> on 2002/03/12 05:47:21 UTC

pluggable security implementations


I was just wondering if anyone knew if there are plans to
allow for pluggable security implementations for Tomcat 4 ?
Tomcat 3.3 already has the capability allowing people to
switch between using JSSE, PureTLS and any implementation
you wish to specify.  This would be a great feature to
move into Tomcat 4 at some stage in the future as at the
moment it only supports JSSE.


-- 
Trevor Nielsen
Market Development Engineer
Wedgetail Communications Inc.
Level 14 388 Queen St.
Brisbane QLD Australia, 4000
email:	tnielsen@wedgetail.com
phone:	+61 (07) 3023 5142
fax:    +61 (07) 3023 5199

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: pluggable security implementations

Posted by Eric Rescorla <ek...@rtfm.com>.
"Bill Barker" <wb...@wilshire.com> writes:
> ----- Original Message -----
> From: "Craig R. McClanahan" <cr...@apache.org>
> > By "pluggable security implementations", I assume you really mean
> > pluggable SSL implementations?  I'd certainly be +1 if someone wanted to
> > tackle porting the changes that were made in 3.3 to make this pluggable.
> >
> 
> AFAIK, Eric wanted to get to this at one point (and who could be better
> qualified :).  I think that it will be easier to do this in Coyote than the
> current Http11Connector.
Yeah, at one point is about right. I'm a little swamped right now, so
I couldn't do any more than a rush job--always a dangerous practice on
security critical code. I'll be happy to offer advice and review
if someone else wants to take a shot at it. Alternately, if someone
can commit to giving my code a thorough review, I'll take a crack
at it myself.

-Ekr

-- 
[Eric Rescorla                                   ekr@rtfm.com]
                http://www.rtfm.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: pluggable security implementations

Posted by Bill Barker <wb...@wilshire.com>.
----- Original Message -----
From: "Craig R. McClanahan" <cr...@apache.org>
To: "Tomcat Developers List" <to...@jakarta.apache.org>
Sent: Monday, March 11, 2002 9:18 PM
Subject: Re: pluggable security implementations


>
>
> On Tue, 12 Mar 2002, Trevor Nielsen wrote:
>
> > Date: Tue, 12 Mar 2002 14:47:21 +1000
> > From: Trevor Nielsen <tn...@wedgetail.com>
> > Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> > To: tomcat-dev@jakarta.apache.org
> > Subject: pluggable security implementations
> >
> >
> >
> > I was just wondering if anyone knew if there are plans to
> > allow for pluggable security implementations for Tomcat 4 ?
> > Tomcat 3.3 already has the capability allowing people to
> > switch between using JSSE, PureTLS and any implementation
> > you wish to specify.  This would be a great feature to
> > move into Tomcat 4 at some stage in the future as at the
> > moment it only supports JSSE.
> >
>
> By "pluggable security implementations", I assume you really mean
> pluggable SSL implementations?  I'd certainly be +1 if someone wanted to
> tackle porting the changes that were made in 3.3 to make this pluggable.
>

AFAIK, Eric wanted to get to this at one point (and who could be better
qualified :).  I think that it will be easier to do this in Coyote than the
current Http11Connector.

> >
> > --
> > Trevor Nielsen
>
> Craig
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: pluggable security implementations

Posted by Eric Rescorla <ek...@rtfm.com>.
Nick Betteridge <n....@syntactics.com> writes:
> I've written the TLS socket but haven't been able to get around to
> testing it yet - swamped.
I know how that is.

> The socket also has a certificate factory to enable certificates to be
> read from a variety of sources.
This seems like a nice addition.

> I hope that the following server.xml snip correctly describes the
> inclusion!
Our experience with 3.3 was that just having a single socket factory
didn't work very well, because you also need to choose the right
classes to get socket info... The 3.3 approach was to have a 
single meta-class which provided factories for both the socket
and the accessors.

I need to look over Coyote and see how things woudl fit in there...

-Ekr



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: pluggable security implementations

Posted by Nick Betteridge <n....@syntactics.com>.
I've written the TLS socket but haven't been able to get around to
testing it yet - swamped.

The socket also has a certificate factory to enable certificates to be
read from a variety of sources.

I hope that the following server.xml snip correctly describes the
inclusion!



    <Connector
className="org.apache.catalina.connector.http.HttpConnector"
               port="8443" minProcessors="5" maxProcessors="75"
               enableLookups="true"
               acceptCount="10" debug="0" scheme="https" secure="true">
      <Factory
className="com.syntactics.server.net.PureTLSSocketFactory"
             

pureTLSCertificateFactory="com.syntactics.server.net.PureTLSTestCertificateFactory"
               clientAuth="false" protocol="TLS"/>
    </Connector>

If any anyone wants to repackage and test, they are most welcome. The
com.syntactics.server.net.PureTLSTestCertificateFactory is the
user-supplied class for digging out the certificate from the appropriate
location.

If nobody else has time, I should be able to do this over the next 4
weeks or so.

Re: pluggable security implementations

Posted by "Craig R. McClanahan" <cr...@apache.org>.

On Tue, 12 Mar 2002, Trevor Nielsen wrote:

> Date: Tue, 12 Mar 2002 14:47:21 +1000
> From: Trevor Nielsen <tn...@wedgetail.com>
> Reply-To: Tomcat Developers List <to...@jakarta.apache.org>
> To: tomcat-dev@jakarta.apache.org
> Subject: pluggable security implementations
>
>
>
> I was just wondering if anyone knew if there are plans to
> allow for pluggable security implementations for Tomcat 4 ?
> Tomcat 3.3 already has the capability allowing people to
> switch between using JSSE, PureTLS and any implementation
> you wish to specify.  This would be a great feature to
> move into Tomcat 4 at some stage in the future as at the
> moment it only supports JSSE.
>

By "pluggable security implementations", I assume you really mean
pluggable SSL implementations?  I'd certainly be +1 if someone wanted to
tackle porting the changes that were made in 3.3 to make this pluggable.

>
> --
> Trevor Nielsen

Craig


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>