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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to