cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Felix Knecht <fe...@otego.com>
Subject Re: Accessing User from cocoon-auth-block
Date Fri, 02 Feb 2007 12:51:26 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Carsten Ziegeler schrieb:
> You don't have access to the object model in flow.
>
> But you can create an instance of the application util using
> cocoon.createObject("FULL_CLASSNAME") and then use the instance
> methods.
>

It helped.

I think the comment in the class itself isn't (at least in my case)
not very clear. Escpecially what is meant with 'flow' (Flowscript /
Javaflow / other flow)?

Thanks
Felix


> HTH Carsten
>
> Felix Knecht wrote:
>> The ApplicationUtil class seems to be the right way to access
>> data in the user object set during authentication
>> (SecurityHandler). The Util class has different static functions
>> to use from flow. All of them need as parameter the current
>> objectmodel. How do I get this in flowscript?
>>
>> Regards Felix
>

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

iD8DBQFFwzPO2lZVCB08qHERAme9AKDg/3ufyMOSlmnulfao5BN8quNt/wCeK1xy
3H4u9SQbZekvAF8GpPaHynk=
=nGQf
-----END PGP SIGNATURE-----


Mime
View raw message