cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sonny Sukumar" <ahimsad...@hotmail.com>
Subject RE: Few authentication questions
Date Fri, 15 Aug 2003 06:46:40 GMT

>From: "Carsten Ziegeler" <cziegeler@s-und-n.de>
>
>Sonny Sukumar wrote:
> > >Now, a session context is an XML document stored in the session. With 
>the
> > >session transformer (see below) you can fetch xml data out of such a
> > >context and store data in it.
> >
> > Oh ok, so a session context is a session attribute that happens
> > to be an XML
> > doc.  But of what class type is this XML doc?  Just curious...
> >
>It's an internal class ;) (which uses a DOM tree)

Ok, so I assume I don't have to know about it then. :-)


>
> > >
> > > > 3.) The doc furthermore has this line in it:
> > > >
> > > > <session:getxml context="authentication" path="/authentication/ID"/>
> > > >
> > > > So I assume <session:getxml ..../> is a logichsheet call, but
> > > > I've only seen
> > > > a logicsheet called xsp-session that provides an interface to
> > a Session
> > > > instance.  And I don't see any "getxml" element for that logicsheet.
> > > >
> > >This is not a logicsheet but a transformer, so you can use this
> > transformer
> > >in your cocoon pipeline to set/get data to/from a session context, like
> > >the authentcation session context in the example above.
> >
> > Hmm, I thought if it's a transformer it should be called like
> > "<map:transform type="..." .../>
> >
> > Why isn't this the case?
> >
>It is the case, too. Your call is in the sitemap where you define the
>pipeline and the <session:getxml...> is in the xml stream flowing through
>the transformer. It's the signal for the session transformer to do
>something.

Ahh, ok, I get what you're saying.  I'll try to install 2.1 and play with 
the authentication framework a bit and then come back with some more 
questions, if I think of any (I'm sure I will ;-).

Sonny

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

_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. 
http://join.msn.com/?page=features/junkmail


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


Mime
View raw message