On Thursday, March 4, 2004 at 2:32 PM -0500 Yury Mikhienko <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote: > > > > >Hi all, > > > > > >I need to use LDAP via SSL, and I'm trying to accomplish this using the > > >LDAPTransformer. Environment: > > > > > >OS: Windows 2003 Advanced Server > > >Cocoon: 2.1.3 > > >JDK: 1.4.1_01 > > > > > >I don't have the option of upgrading any of this right now. In JDK prior > > >to 1.4.2, you can't use the protocol ldaps in the url. So, if I were > > >doing this manually (java), I'd have to do something to the effect of: > > > > > >env.put(Context.SECURITY_PROTOCOL, "ssl"); > > > > > >I don't see an attribute for the LDAPTransformer that would accomplish > > >this? Am I simply overlooking something? Again, I can't use the ldaps > > >protocol in the URL b/c it's not recognized prior to jdk 1.4.2. > > > > > > > > Have you looked at the code for the LDAPTransformer? If you're happy > > working in Java, look at the code for the transformer and see if it > > implements what you need. If not, see how easy it would be to extend it. > > Maybe just a new parameter would do it? > > > > It's good idea. > May be make sense to implement the <ldap:use-ssl> parameter? > > -- > > Best regards, > Yury Mikhienko. > IT ERP group head, ZAO "Mobikom-Kavkaz" > tel: (8632) 704188 I have submitted a patch that accomplishes this, as well as adding an optional dn-element. Please see: Apache Cocoon 2 Bugzilla Bug Number 27279 [PATCH] LDAPTransformer http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27279 Thanks! David Day Yury Mikhienko <[EMAIL PROTECTED]> 03/04/2004 03:23 PM Please respond to users T To: [EMAIL PROTECTED] cc: bcc: Subject: Re: LDAP via SSL On Thu, 19 Feb 2004 21:10:04 +0000 Upayavira <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > >Hi all, > > > >I need to use LDAP via SSL, and I'm trying to accomplish this using the > >LDAPTransformer. Environment: > > > >OS: Windows 2003 Advanced Server > >Cocoon: 2.1.3 > >JDK: 1.4.1_01 > > > >I don't have the option of upgrading any of this right now. In JDK prior > >to 1.4.2, you can't use the protocol ldaps in the url. So, if I were > >doing this manually (java), I'd have to do something to the effect of: > > > >env.put(Context.SECURITY_PROTOCOL, "ssl"); > > > >I don't see an attribute for the LDAPTransformer that would accomplish > >this? Am I simply overlooking something? Again, I can't use the ldaps > >protocol in the URL b/c it's not recognized prior to jdk 1.4.2. > > > > > Have you looked at the code for the LDAPTransformer? If you're happy > working in Java, look at the code for the transformer and see if it > implements what you need. If not, see how easy it would be to extend it. > Maybe just a new parameter would do it? > It's good idea. May be make sense to implement the <ldap:use-ssl> parameter? -- Best regards, Yury Mikhienko. IT ERP group head, ZAO "Mobikom-Kavkaz" tel: (8632) 704188 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
