tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9702] New: - JNDIRealm StartTLS/SSL support request
Date Fri, 07 Jun 2002 20:00:38 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9702>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9702

JNDIRealm StartTLS/SSL support request

           Summary: JNDIRealm StartTLS/SSL support request
           Product: Tomcat 4
           Version: 4.1.3
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: jemiller@uchicago.edu


Would it be possible to add StartTLS or SSL support to JNDIRealm? In theory, 
it should be relatively simple. For SSL support, you would just need to add a 
line similar to the following.

h.put(Context.SECURITY_PROTOCOL, "ssl");

For StartTLS, you would just need something like the following.

LdapContext lc = new InitialLdapContext(h, null);
			
StartTlsResponse stlsr = (StartTlsResponse)lc.extendedOperation(new 
StartTlsRequest());
			
stlsr.negotiate();

And then, maybe add an attribute that you can put in your server.xml similar 
to what you have for the HTTP connector like the following.

secure="true"

--
To unsubscribe, e-mail:   <mailto:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message