[Flow] InitializeAction called before reauthentication
Christian Loock
chl at vkf-renzel.de
Thu Apr 3 14:37:01 CEST 2014
So yeah, this still won't work. No Security Context is available in my
initializeAction. However, I need to do some stuff before every action
of my controller to set some user related variables for the layout and
stuff like that. I dont see how I can do this somewhere else...
On 03.04.2014 11:47, Christian Loock wrote:
> What exactly do you mean by service?
>
>
> On 03.04.2014 09:09, Adrian Föder wrote:
>> Hi Christian,
>>
>> well, that's simply correct.
>> The initialize actions are rather meant for property mapping
>> corrections etc., if you need more sophisticated handling, put it in
>> the actual controller action method itself or in a service.
>>
>> Best,
>> Adrian
>>
>> Am 02.04.2014 15:15, schrieb Christian Loock:
>>> Hi,
>>>
>>> i wonder if it is on purpose, that my controller's initalizeAction
>>> method gets called, before the security context is initialized. This
>>> way, i cant do anything that is Userrelated in this methods, which does
>>> not seem right to me. Can anybody enlighten me about this?
>>>
>>> --
>>> Cheers,
>>>
>>> Christian
>>>
>>
>> _______________________________________________
>> Flow mailing list
>> Flow at lists.typo3.org
>> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
>
--
Cheers,
Christian
More information about the Flow
mailing list