cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "julien bloit" <Julien.Bl...@ircam.fr>
Subject session in authentication context
Date Tue, 18 Nov 2003 12:12:04 GMT
Hi, I thought the dev list might be a better place for an insight to this problem :
  I'm using the authentication framework to get and modify authentication data from a user.
I use the sitemap structure shown in the last paragraph of this page :
  http://cocoon.apache.org/2.1/developing/webapps/authentication.html#N103AB

  It works fine when the xml file uses <session:getxml> and <session:setxml> tags.
But using the <session:mergexml> tag produces an error. I've tried upgrading to cocoon
2.1.2, but without progress.


  Looking in the code of AuthenticationContext, i found : 

  public NodeList getNodeList(String path)
  throws ProcessingException {
  throw new ProcessingException("This method is not supported by the authenticaton session
context.");
  }


  Does this mean that merging won't be implemented in the session context? Or is this just
a temporary state?


  Thank you.

  ___________ STACK TRACE :

  org.apache.cocoon.ProcessingException: This method is not supported by the authenticaton
session context.

  at org.apache.cocoon.webapps.authentication.context.AuthenticationContext.getSingleNode(AuthenticationContext.java:393)

  at org.apache.cocoon.webapps.session.components.DefaultSessionManager.mergeContextFragment(DefaultSessionManager.java:399)

  at org.apache.cocoon.webapps.session.transformation.SessionPostTransformer.endTransformingElement(SessionPostTransformer.java:279)

  at org.apache.cocoon.transformation.AbstractSAXTransformer.endElement(AbstractSAXTransformer.java:358)

  at org.apache.cocoon.webapps.session.transformation.SessionPreTransformer.endElement(SessionPreTransformer.java:127)

  at org.apache.cocoon.components.sax.XMLTeePipe.endElement(XMLTeePipe.java:124)

  at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)

  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)

  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)

  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)

  at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)

  at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source)

  at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)

  at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)

  at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:318)

  at org.apache.excalibur.xml.impl.JaxpParser.parse(JaxpParser.java:337)

  at org.apache.cocoon.components.source.SourceUtil.parse(SourceUtil.java:229)

  at org.apache.cocoon.generation.FileGenerator.generate(FileGenerator.java:141)

  at org.apache.cocoon.components.pipeline.impl.AbstractCachingProcessingPipeline.processXMLPipeline(AbstractCachingProcessingPipeline.java:272)

  at org.apache.cocoon.components.pipeline.AbstractProcessingPipeline.process(AbstractProcessingPipeline.java:492)

  at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(SerializeNode.java:147)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:176)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

  at org.apache.cocoon.components.treeprocessor.sitemap.ActTypeNode.invoke(ActTypeNode.java:176)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)

  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

  at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:130)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:84)

  at org.apache.cocoon.components.treeprocessor.sitemap.PreparableMatchNode.invoke(PreparableMatchNode.java:164)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

  at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:163)

  at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:108)

  at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:161)

  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:351)

  at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:304)

  at org.apache.cocoon.Cocoon.process(Cocoon.java:640)

  at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1104)

  at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

  at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)

  at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)

  at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:260)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

  at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

  at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)

  at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

  at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

  at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)

  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

  at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)

  at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)

  at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)

  at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)

  at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)

  at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)

  at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)

  at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)

  at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)

  at java.lang.Thread.run(Thread.java:536)

Mime
View raw message