cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philippe Guillard <pguill...@citycita.net>
Subject [Auth-FW] Edit authentication/data nodes
Date Mon, 04 Apr 2005 16:47:27 GMT
Hi,

I use Portal, so i use Auth-Fw, and want to change the data part for a 
user without asking him to sign-in again.

Lest's say i put nickname in the data section,
<authentication>
    <ID>foo_id</ID>
    <data>foo_nickname</data>
</authentication>
and i want to afford the possibility for the user to change it's Nickname.

Is there a simple way?  Today i can get the nickname from Sitemap 
(InputModule), Flow, Java, XspSessionFw logicsheet, but i don't know a 
simple way to use the set functions.
AuthenticationFw/ SessionContext seems to be there to make session 
attributes manipulation easier, so i think i lack some understanding on it.

For the moment i just use the "normal" Session object doing this after 
the <autentication> node made in XSP:
<authentication>
    <ID>foo_id</ID>
    <data></data>
</authentication>
<xsp:logic>
    session.setAttribute("nickname", "foo_nickname"); 
</xsp:logic>
(i'm sad to mix these 2 things and i do not use the framework provided...)

Regards,

Phil

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


Mime
View raw message