[FLOW3-general] Session (autostart=false)
"Christian Müller (Kitsunet)"
christian.mueller at typo3.org
Sun Oct 23 11:20:13 CEST 2011
Hi Peter,
>> On 22.10.11 22:41, Peter Russ wrote:
>>> Interesting Aspect: FLOW3 uses annotations to add aspects for
>>> domain driven design. But due to that I have to rewrite?
I don't get this in respect to your problem?
>
> Here the question:
> <---->
> Can anyone please show me how to disable session auto-start e.g.
> \TYPO3\FLOW3\Security\Authentication\AuthenticationProvider->authenticate
>
> As we have stateless server/server communication we don't need sessions.
> <--->
>
> Is there a way to disable auto-starting sessions using yaml e.g in
> Objects.yaml or is this a missing feature?
>
> As mentioned: for 08/15 applications it might be helpful to auto-start
> session. But using FLOW3 for enterprise level middle-ware applications
> it doesn't make sense not being able to adjust that.
>
> Could I provide enough information?
>
So let me rephrase this: You want to build some server to server
communication with authentication, but this should not create a session
but only authenticate for a single request?
I think I answered that already. Look for scope session annotation and
override the respective objects with your own implementation to avoid
scope session. Or add an aspect that drops the session at the end of the
request, should work too.
Maybe Karsten has more ideas. :)
Best Regards,
Christian
More information about the FLOW3-general
mailing list