cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Armaz Mellati" <armaz.mell...@uninett.no>
Subject RE: is session-fw block deprecated? what is replacement
Date Fri, 02 Feb 2007 12:59:45 GMT
Hi
 
Well, within the sitemap you can still use stuff like {ID}, don't you ?
I am actually working with the same problem. I have figured out that by getting the user object,
and making my own
modules/generators I will eventually be able to get the same functionality as before. But
it will take time :(
 
Regards,
Armaz


  _____  

From: Abbas Mousavi [mailto:abbasmousavi@yahoo.com] 
Sent: Friday, February 02, 2007 1:41 PM
To: users@cocoon.apache.org
Subject: Re: is session-fw block deprecated? what is replacement


thanks, I will see them. they may solve problem in flowscripts

but what shold I do to get session info in sitemap? 

Felix Knecht <felix@otego.com> wrote: 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Abbas Mousavi schrieb:
> I use session-context module to get logged-in users session info
> but my deprecation log says that session-fw is deprecated, what is
> the replacement?
>
> I can not find anything new in documentations and cocoon samples.
>
> I know that Authentication-fw is deprecated by new auth block but
> when using new auth block how I should get the logged-in users
> session information?

I'm on the same problem (meaning I haven't solved it yet), but there
exists a util class with some static functions:

blocks/cocoon-auth/cocoon-auth-api/src/main/java/org/apache/cocoon/auth/ApplicationUtil.java

Maybe it helps you to solve your problems

Felix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFwwg/2lZVCB08qHERAuYHAJ9cg2sytItSa0YQ21lQUuccvtZyQACfWZrv
0dM/4NJjZhrHnB8/yS1tYYQ=
=ZrOD
-----END PGP SIGNATURE-----


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






  _____  

Bored  <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> stiff? Loosen up...
Download and  <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com> play hundreds
of games for free on Yahoo! Games.


Mime
View raw message