You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by DA...@Nationwide.com on 2004/02/19 17:19:24 UTC

LDAP via SSL

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.

Thanks!
David Day

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: LDAP via SSL

Posted by Yury Mikhienko <Yu...@mobicomk.ru>.
On Thu, 19 Feb 2004 21:10:04 +0000
Upayavira <uv...@upaya.co.uk> wrote:

> DAYD3@Nationwide.com 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: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: LDAP via SSL

Posted by Upayavira <uv...@upaya.co.uk>.
DAYD3@Nationwide.com 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?

Regards, Upayavira



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org