[FLOW3-general] How to secure a controller?

Qbus | Axel Wüstemann awu at qbus.de
Tue Jan 15 15:37:28 CET 2013


It seems to me, that there is a little misunderstandig. The rule I'm 
searching for is: "All controllers, but not the Login controller" should 
be secured. This was the point in the first steps of this thread.

I want a simple login to an application, which functions are completely 
behind the login.

So there is no "FooController" and no "BarController" (this of course I 
understood ;=)

This was your Proposal:

'method(VENDOR\PACKAGE\Controller\(?!Login)Controller->.*Action())'

but this did not work. Later came this into play

'method(Your\Package\Controller\(Foo|Bar)Controller->(?<!initialize).*Action())'

I could not get, how this is related to the first, and it sees to me, 
that the foo or bar has nothing to do with my goal, but maybe the 
"(?<!initialize)" Expression...

Axel



More information about the Flow mailing list