diff --git a/ecphp/cas-bundle/3.0/config/packages/dev/cas_bundle.yaml b/ecphp/cas-bundle/3.0/config/packages/dev/cas_bundle.yaml new file mode 100644 index 000000000..5697bf901 --- /dev/null +++ b/ecphp/cas-bundle/3.0/config/packages/dev/cas_bundle.yaml @@ -0,0 +1,24 @@ +cas: + # Change the URL to your own CAS server + base_url: https://ecas.ec.europa.eu/cas + protocol: + login: + path: /login + default_parameters: + service: cas_bundle_homepage + serviceValidate: + path: /p3/serviceValidate + default_parameters: + format: JSON + #pgtUrl: cas_bundle_proxy_callback + logout: + path: /logout + default_parameters: + service: cas_bundle_homepage + proxy: + path: /proxy + proxyValidate: + path: /p3/proxyValidate + default_parameters: + format: JSON + #pgtUrl: cas_bundle_proxy_callback diff --git a/ecphp/cas-bundle/3.0/config/packages/dev/cas_security.yaml b/ecphp/cas-bundle/3.0/config/packages/dev/cas_security.yaml new file mode 100644 index 000000000..9595b42e4 --- /dev/null +++ b/ecphp/cas-bundle/3.0/config/packages/dev/cas_security.yaml @@ -0,0 +1,4 @@ +security: + providers: + cas: + id: EcPhp\CasBundle\Security\Core\User\CasUserProvider diff --git a/ecphp/cas-bundle/3.0/config/routes/cas.yaml b/ecphp/cas-bundle/3.0/config/routes/cas.yaml new file mode 100644 index 000000000..a8ec5e45a --- /dev/null +++ b/ecphp/cas-bundle/3.0/config/routes/cas.yaml @@ -0,0 +1,3 @@ +cas_bundle: + resource: "@CasBundle/Resources/config/routes/routes.php" + prefix: /cas diff --git a/ecphp/cas-bundle/3.0/manifest.json b/ecphp/cas-bundle/3.0/manifest.json new file mode 100644 index 000000000..33e525ce5 --- /dev/null +++ b/ecphp/cas-bundle/3.0/manifest.json @@ -0,0 +1,10 @@ +{ + "bundles": { + "EcPhp\\CasBundle\\CasBundle": [ + "all" + ] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +}