[Flow] two authentication Provider
Robin Lehrmann
role at vkf-renzel.de
Fri Sep 27 08:45:14 CEST 2013
Hello mailing list,
I want to have two authentication Provider in my application. The
controller "VKF\Search\Controller\DumpConfigController" isn't added to
my Policy-config.
If I access to my dumpConfigController the DefaultProvider match and I
get a redirect. The UploadProvider should match and the HttpBasic
entryPoint but I dont get it.
is my config wrong?
VKF:
Auth:
security:
enable: TRUE
authentication:
authenticationStrategy: oneToken
providers:
UploadProvider:
provider: FileBasedSimpleKeyProvider
providerOptions:
keyName: adminKey
entryPoint: 'HttpBasic'
entryPointOptions:
realm: 'Restricted'
requestPatterns:
controllerObjectName:
VKF\Search\Controller\DumpConfigController
DefaultProvider:
provider: PersistedUsernamePasswordProvider
entryPoint: 'WebRedirect'
entryPointOptions:
routeValues:
'@package': 'VKF.Auth'
'@controller': 'Auth'
'@action': 'login'
regards,
Robin
More information about the Flow
mailing list