Skip to content

Commit

Permalink
ecphp/cas-bundle: add recipe for version 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
drupol committed Oct 9, 2024
1 parent 295c0b7 commit 70b34fb
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ecphp/cas-bundle/3.0/config/packages/dev/cas_bundle.yaml
Original file line number Diff line number Diff line change
@@ -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
4 changes: 4 additions & 0 deletions ecphp/cas-bundle/3.0/config/packages/dev/cas_security.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
security:
providers:
cas:
id: EcPhp\CasBundle\Security\Core\User\CasUserProvider
3 changes: 3 additions & 0 deletions ecphp/cas-bundle/3.0/config/routes/cas.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
cas_bundle:
resource: "@CasBundle/Resources/config/routes/routes.php"
prefix: /cas
10 changes: 10 additions & 0 deletions ecphp/cas-bundle/3.0/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"bundles": {
"EcPhp\\CasBundle\\CasBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
}
}

0 comments on commit 70b34fb

Please sign in to comment.