cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: [JXTemplate] Accessing authentication-fw context data
Date Fri, 07 Nov 2003 13:40:14 GMT
Paul Crabtree wrote:
> 
> Hi, 
> 
> I'm trying without success to get at the context data set as xml within
> the authentication framework while im inside a JXTemplate.
> 
> i've tried the following:
> ${context.authentication.ID}
> 
> and this just gives me the Tomcat session ID (i think):
> ${session.ID}
> 
> My authentication xml looks like this:
> <authentication>
> 	<ID>MyName</ID
> </authentication>
> 
> Is it possible to find the value of ID within a JXTemplate?
> 
No, unfortunately not. You currently have to use the session 
transformer to get the info. But of course the JXTemplate could
be extended to get those information as well.

Carsten


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


Mime
View raw message