Thanks Carsten after thinking about that all the afternoon and half of the night fighting with the 2 pipelines (curently 1:00 a.m here). I comes to the same place .( I need a logicsheet since I am working with XSP. I am trying to working on this logicsheet since 9:00 p.m.
BTW, I think many people using XSP (like me) need this logicshhet. I thinked about to write it and (if you want) built-in into Cocoon like an standard logicsheet that will do the same work as the well knowed <session:getxml>. What about that? My main problem is how to get the SessionContext from Java in a xsl from scratch. I am reading and reading the Cocoon API. Now I know the packages are the: org.apache.cocoon.webapps.authentication org.apache.cocoon.webapps.authentication.acting org.apache.cocoon.webapps.authentication.components org.apache.cocoon.webapps.authentication.context org.apache.cocoon.webapps.authentication.generation org.apache.cocoon.webapps.authentication.selection and maybe more, who knows.... I am also going into and trying to understand the Cocoon Java code and trying to write it. But I dont know how. Anyway I am a very hardhead ;) I will try until I will get this, because I need it to check the permission of the user for more than 120 pages. Its a database application in Cocoon. Also it can help me to change password, etc. Maybe this can be my mastering in Cocoon! Who knows :) I know you are very busy, but can you help me a little more just some tips, please. Thanks in advance, Antonio Gallardo El Miércoles, 25 de Septiembre de 2002 00:50, Carsten Ziegeler escribió: > Hi, > > you can put the session transformer in your pipeline behind > your serverpages generator - but then you don't have access > to the authentication information in your xsp. > > If you need this, you have to write your own logicsheet > for the authentication framework. In this logicsheet you > can embed any java. What you have to do then is to > lookup a session manager component and can invoke > according methods to get the information. > > HTH > Carsten > > > -----Original Message----- > > From: Antonio Gallardo Rivera [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, September 24, 2002 7:11 PM > > To: [EMAIL PROTECTED] > > Subject: [Auth-Framework] Using xsp-session and session namespaces > > > > > > Hi folks! > > > > Please, can someone help me with this. Is possible to use > > auth-framework with > > xsp? I am trying to make the interface to let user changes his > > own password. > > The problem is that I cannot use xsp to retrieve data using: > > > > <session:getxml context="authentication" path="/authentication/ID"/> > > > > or > > > > <xsp-session:getxml context="authentication" path="/authentication/ID"/> > > > > How I can do? > > > > > > Thanks, in advance. > > Antonio Gallardo. > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>