You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by LEBRETON Philippe <ph...@cti-paysloire.cnamts.fr> on 2000/10/02 09:49:21 UTC

Re: LDAP taglib password?

Where i can download the LDAP taglib?
Thanks
Philippe LEBRETON

David A Powell a écrit :

> I'm a little unfamiliar with LDAP but I've been able to connect to our LDAP
> server to pickup some basic information using LDAP taglib written by Alain
> Ketterlin.  Now my team is asking me for information that is only available
> when a userid "admin", and a password "secret" is supplied.  In another LDAP
> browser we've picked up from somewhere, I make cn=admin,o=teds and there is
> a password field.
> So, How do I put a password in here?
>
> TIA,
> DPowell
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Re: J2EE Pet Store Demo + Cocoon ?

Posted by Donald Ball <ba...@webslingerZ.com>.
On Wed, 11 Apr 2001, Brendan Corcoran wrote:

> Are there any updates on the J2EE Pet Store being converted from jsp
> to xsp?

no

> Would it run faster using xsp?

can't see how it'd be much faster (or slower, for that matter...) - that's
not the primary benefit xsp brings to the table.

- donald


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


J2EE Pet Store Demo + Cocoon ?

Posted by Brendan Corcoran <br...@jenisys.com.au>.
Are there any updates on the J2EE Pet Store being converted from jsp to xsp?

Would it run faster using xsp?

thanks,

Brendan

----- Original Message -----
From: "Giacomo Pati" <gi...@apache.org>
To: <co...@xml.apache.org>
Sent: Friday, December 29, 2000 1:44 AM
Subject: Re: J2EE Pet Store Demo + Cocoon ?


> Johan,
>
> Do you have any news on this?
>
> Giacomo
>
> Johan Sellström wrote:
> >
> > I am underway down that avenue. So far I am still working on the shop
> > functionality while keeping the JSP.
> > Then I will make some custom WIDL tags and change the whole thing to
XSP. I
> > will report on my findings.
> >
> > Johan
> >
> > At 08:38 2000-10-11 +0800, you wrote:
> > >Hi there,
> > >
> > >Please do and keep us posted about it.
> > >
> > >
> > >Johan Sellström wrote:
> > >
> > > > Hi,
> > > >
> > > > I am contemplating the possibilities of modifying the Pet Store from
Sun to
> > > > use XSP instead of JSP to get above all browser independence.
> > > > Has anybody else tried this and do you think its a good idea to
implement
> > > > something so dynamic in this manner ?
> > > >
> > > > RGDS
> > > > Johan
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > > > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > >For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

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


Re: J2EE Pet Store Demo + Cocoon ?

Posted by Giacomo Pati <gi...@apache.org>.
Johan,

Do you have any news on this?

Giacomo

Johan Sellström wrote:
> 
> I am underway down that avenue. So far I am still working on the shop
> functionality while keeping the JSP.
> Then I will make some custom WIDL tags and change the whole thing to XSP. I
> will report on my findings.
> 
> Johan
> 
> At 08:38 2000-10-11 +0800, you wrote:
> >Hi there,
> >
> >Please do and keep us posted about it.
> >
> >
> >Johan Sellström wrote:
> >
> > > Hi,
> > >
> > > I am contemplating the possibilities of modifying the Pet Store from Sun to
> > > use XSP instead of JSP to get above all browser independence.
> > > Has anybody else tried this and do you think its a good idea to implement
> > > something so dynamic in this manner ?
> > >
> > > RGDS
> > > Johan
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: cocoon-users-help@xml.apache.org
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> >For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Re: J2EE Pet Store Demo + Cocoon ?

Posted by Johan Sellström <jo...@headconcept.com>.
I am underway down that avenue. So far I am still working on the shop 
functionality while keeping the JSP.
Then I will make some custom WIDL tags and change the whole thing to XSP. I 
will report on my findings.

Johan

At 08:38 2000-10-11 +0800, you wrote:
>Hi there,
>
>Please do and keep us posted about it.
>
>
>Johan Sellström wrote:
>
> > Hi,
> >
> > I am contemplating the possibilities of modifying the Pet Store from Sun to
> > use XSP instead of JSP to get above all browser independence.
> > Has anybody else tried this and do you think its a good idea to implement
> > something so dynamic in this manner ?
> >
> > RGDS
> > Johan
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> > For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
>For additional commands, e-mail: cocoon-users-help@xml.apache.org


Re: J2EE Pet Store Demo + Cocoon ?

Posted by joey castillo <jo...@computer.org>.
Hi there,

Please do and keep us posted about it.


Johan Sellström wrote:

> Hi,
>
> I am contemplating the possibilities of modifying the Pet Store from Sun to
> use XSP instead of JSP to get above all browser independence.
> Has anybody else tried this and do you think its a good idea to implement
> something so dynamic in this manner ?
>
> RGDS
> Johan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org


J2EE Pet Store Demo + Cocoon ?

Posted by Johan Sellström <jo...@headconcept.com>.
Hi,

I am contemplating the possibilities of modifying the Pet Store from Sun to 
use XSP instead of JSP to get above all browser independence.
Has anybody else tried this and do you think its a good idea to implement 
something so dynamic in this manner ?

RGDS
Johan


Re: LDAP taglib: stronger LDAP/XML coupling (was: Re: LDAP taglib password?)

Posted by Ugo Cei <u....@cbim.it>.
Jeff Turner wrote:

> That would be very cool. I proposed something like this on XML-DEV once.
> The LDAP and XML data models seem very close. Imagine if you could query
> LDAP with XPATH expressions, or use a SAX-like API for parsing search
> results..

The problem I foresee is that the results of an LDAP query do not
necessarily form a tree.

> Back to reality, Sun have got a DSML service provider for JNDI:
> 
> http://developer.java.sun.com/developer/earlyAccess/jndi/

I do not see this as very useful, as it only allows you to use a DSML
document as a data source, and not as output.
 
> update LDAP. Castor (http://castor.exolab.org/) can do this. I'm not
> sure how compatible the licences are.

Castor is cool, but aside from licensing issues (which shouldn't be too
thorny: Castor uses a BSD-like license that is very liberal, like the
Apache license), I don't think we need Castor just to produce DSML from
LDAP via a taglib, for now.

Just to test these ideas, I've put together some code of my own and
Alain Ketterlin's LDAP Taglib
(http://dpt-info.u-strasbg.fr/~alain/ldap/). My taglib uses "jndi" as
the namespace identifier (the Java code uses JNDI and is not (or will
not) use LDAP exclusively, so I think "jndi" is more appropriate than
"ldap"), and produces (or tries to produce) a DSML document.

I've also changed the names of some of the input parameters in order to
reflect more closely the JNDI names (e.g. "provider-url" instead of
"server-url"). There is no documentation aside from the source code
itself, so you'll have to figure out how it is to be used from the code.

	Ugo

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

LDAP taglib: stronger LDAP/XML coupling (was: Re: LDAP taglib password?)

Posted by Jeff Turner <je...@socialchange.net.au>.
Ugo Cei wrote:
> 
> Jeff Turner wrote:
> >
> > On Mon, 2 Oct 2000, Ugo Cei wrote:
> > >
> > > Please consider using the DSML namespace to represent LDAP entries in
> > > XML (http://www.dsml.org).
> >
> > Do you think DSML should be the default markup? I rather like the
> > simplicity of the current default. OTOH, DSML->HTML stylesheets are more
> > reusable, so simplicity of an intermediate XML format shouldn't be too big
> > an issue.
> 
> I do no personally like DSML very much, but since it is at least some
> form of pseudo-standard and it doesn't seem to me that the current
> default offers anything more, I just wanted to present a possible
> alternative.
> 
> While I'm on this topic, what I would really like to see is a taglib to
> map LDAP entries to XML, preserving the hierarchical nature of LDAP,
> something like this:
> 
> <entry dn="dc=mycompany,dc=com">
>   <attribute name="dc">cbim</attribute>
>   <!-- other attributes ...-->
> 
>   <entry dn="ou=accounting">
>     ...
>   </entry>
> 
>   <entry dn="ou=engineering,dc=mycompany,dc=com">
> 
>     <entry dn="cn=John Doe,ou=engineering,dc=mycompany,dc=com">
>       ...
>     </entry>
> 
>   </entry>
> 
>   ...
> </entry>
> 
> What do you think?

That would be very cool. I proposed something like this on XML-DEV once.
The LDAP and XML data models seem very close. Imagine if you could query
LDAP with XPATH expressions, or use a SAX-like API for parsing search
results..

Back to reality, Sun have got a DSML service provider for JNDI:

http://developer.java.sun.com/developer/earlyAccess/jndi/

This allows you to access/modify DSML documents as if they were LDAP
directories. It's only a small step further to use this modified DSML to
update LDAP. Castor (http://castor.exolab.org/) can do this. I'm not
sure how compatible the licences are.

--Jeff

> 
>         Ugo
> 
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: u.cei@cbim.it
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org

Re: LDAP taglib password?

Posted by Ugo Cei <u....@cbim.it>.
Jeff Turner wrote:
> 
> On Mon, 2 Oct 2000, Ugo Cei wrote:
> >
> > Please consider using the DSML namespace to represent LDAP entries in
> > XML (http://www.dsml.org).
> 
> Do you think DSML should be the default markup? I rather like the
> simplicity of the current default. OTOH, DSML->HTML stylesheets are more
> reusable, so simplicity of an intermediate XML format shouldn't be too big
> an issue.

I do no personally like DSML very much, but since it is at least some
form of pseudo-standard and it doesn't seem to me that the current
default offers anything more, I just wanted to present a possible
alternative.

While I'm on this topic, what I would really like to see is a taglib to
map LDAP entries to XML, preserving the hierarchical nature of LDAP,
something like this:

<entry dn="dc=mycompany,dc=com">
  <attribute name="dc">cbim</attribute>
  <!-- other attributes ...-->

  <entry dn="ou=accounting">
    ...
  </entry>

  <entry dn="ou=engineering,dc=mycompany,dc=com">

    <entry dn="cn=John Doe,ou=engineering,dc=mycompany,dc=com">
      ...
    </entry>

  </entry>

  ...
</entry>

What do you think?

	Ugo

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

Re: LDAP taglib password?

Posted by Jeff Turner <je...@mail.socialchange.net.au>.

On Mon, 2 Oct 2000, Ugo Cei wrote:

> Jeff Turner wrote:
> 
> > Sure, I'd be happy to. There's a lot of potential.. imagine if one could
> > create Cocoon-based web-LDAP interfaces like the python-driven web2ldap
> > (http://www.web2ldap.de/). In particular, the ability to add/update LDAP
> > entries would be nice. This would require an authentication mechanism; I
> > lost track of the auth taglib someone (Ulrich?) was developing..
> 
> Please consider using the DSML namespace to represent LDAP entries in
> XML (http://www.dsml.org).

Do you think DSML should be the default markup? I rather like the
simplicity of the current default. OTOH, DSML->HTML stylesheets are more
reusable, so simplicity of an intermediate XML format shouldn't be too big
an issue.

--Jeff

> 
> 	Ugo
> 
> --
> Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
> P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
> Phone: +39.0382.525100 - E-mail: u.cei@cbim.it
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
> 
> 


Re: LDAP taglib password?

Posted by Ugo Cei <u....@cbim.it>.
Jeff Turner wrote:

> Sure, I'd be happy to. There's a lot of potential.. imagine if one could
> create Cocoon-based web-LDAP interfaces like the python-driven web2ldap
> (http://www.web2ldap.de/). In particular, the ability to add/update LDAP
> entries would be nice. This would require an authentication mechanism; I
> lost track of the auth taglib someone (Ulrich?) was developing..

Please consider using the DSML namespace to represent LDAP entries in
XML (http://www.dsml.org).

	Ugo

--
Ugo Cei - Consorzio di Bioingegneria e Informatica Medica
P.le Volontari del Sangue, 2 - 27100 Pavia - Italy
Phone: +39.0382.525100 - E-mail: u.cei@cbim.it

Re: LDAP taglib password?

Posted by Uli Mayring <ul...@denic.de>.
On Mon, 2 Oct 2000, Jeff Turner wrote:

> Sure, I'd be happy to. There's a lot of potential.. imagine if one could
> create Cocoon-based web-LDAP interfaces like the python-driven web2ldap
> (http://www.web2ldap.de/). In particular, the ability to add/update LDAP
> entries would be nice. This would require an authentication mechanism; I
> lost track of the auth taglib someone (Ulrich?) was developing..

You can download it from http://ulim.cocoonhost.com/auth.tar.gz

Authentication against an LDAP directory is not implemented, though it can
be plugged in easily.

Ulrich


Re: LDAP taglib password?

Posted by Jeff Turner <je...@mail.socialchange.net.au>.

On Mon, 2 Oct 2000, Alain Ketterlin wrote:

> LEBRETON Philippe ( 2 Oct) writes:
> 
> > Where i can download the LDAP taglib?
> 
> At http://dpt-info.u-strasbg.fr/~alain/ldap/
> 
> By the way, I changed place, and have a pretty bad connection here (I
> never received the mail you replied to, and sent a mail last week that
> certainly never reached xml.apache.org -- seems that the NT server
> here plays jokes).
> 
> So I think it would be a good thing that someone else take over the
> taglib's maintenance. Jeff, would you have time to apply your patches,
> and submit the result for inclusion in Cocoon's distrib? Just put
> whatever licence you think appropriate. Thanks.

Sure, I'd be happy to. There's a lot of potential.. imagine if one could
create Cocoon-based web-LDAP interfaces like the python-driven web2ldap
(http://www.web2ldap.de/). In particular, the ability to add/update LDAP
entries would be nice. This would require an authentication mechanism; I
lost track of the auth taglib someone (Ulrich?) was developing..

> Sorry about that.

Thanks for all your hard work :)

--Jeff


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


Re: LDAP taglib password?

Posted by Alain Ketterlin <al...@dpt-info.u-strasbg.fr>.
LEBRETON Philippe ( 2 Oct) writes:

> Where i can download the LDAP taglib?

At http://dpt-info.u-strasbg.fr/~alain/ldap/

By the way, I changed place, and have a pretty bad connection here (I
never received the mail you replied to, and sent a mail last week that
certainly never reached xml.apache.org -- seems that the NT server
here plays jokes).

So I think it would be a good thing that someone else take over the
taglib's maintenance. Jeff, would you have time to apply your patches,
and submit the result for inclusion in Cocoon's distrib? Just put
whatever licence you think appropriate. Thanks.

Sorry about that.

-- Alain.