[FLOW3-general] ACL and redirection issue

Bastian Waidelich bastian at typo3.org
Wed Oct 20 13:09:24 CEST 2010


Mario Rimann wrote:

Hi Mario,

> Is there a way to set a redirection target in the Policy if the
> requested page is not allowed to be seen?

Yes there is, the syntax is:

FLOW3:
   security:
     authentication:
       providers:
         XyzProvider:
           entryPoint:
             webRedirect:
               uri: some/redirect/uri


The complete setup taken from the BlogExample:

FLOW3:
   security:
     enable: yes
     authentication:
       providers:
         DefaultProvider:
           providerClass: PersistedUsernamePasswordProvider
           entryPoint:
             webRedirect:
               uri: login

HTH,
Bastian


More information about the FLOW3-general mailing list