Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
D
Doorcode
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Guardians of the Kretschmar Elock System
Doorcode
Commits
c459b179
Commit
c459b179
authored
May 29, 2020
by
Jacob Priddy
👌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update simplesamlphp usages to 1.18.7
parent
97fd47a0
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
7 deletions
+84
-7
docker-compose.yml.example
docker-compose.yml.example
+4
-4
docker-compose.yml.prod
docker-compose.yml.prod
+2
-2
simplesamlphp-1.18.7/scoper.inc.php
simplesamlphp-1.18.7/scoper.inc.php
+77
-0
src/backend/src/Gateways/Saml/SimpleSamlPhpSamlRepository.php
...backend/src/Gateways/Saml/SimpleSamlPhpSamlRepository.php
+1
-1
No files found.
docker-compose.yml.example
View file @
c459b179
...
...
@@ -33,11 +33,11 @@ services:
- ./nginx/conf.d/app.conf:/etc/nginx/conf.d/app.conf
- ./nginx/dhparam/:/run/dhparam
# Saml config
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp
- ./simple-saml/cert:/var/simplesamlphp/cert
- ./simple-saml/config:/var/simplesamlphp/config
- ./simple-saml/metadata:/var/simplesamlphp/metadata
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp-idp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp-idp
- ./simple-saml-idp/cert:/var/simplesamlphp-idp/cert
- ./simple-saml-idp/config:/var/simplesamlphp-idp/config
- ./simple-saml-idp/metadata:/var/simplesamlphp-idp/metadata
...
...
@@ -83,11 +83,11 @@ services:
- ./src:/var/www
- ./php/dev.ini:/usr/local/etc/php/conf.d/local.ini
# Map saml files to the php-fpm server so it has access to them as well
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp
- ./simple-saml/cert:/var/simplesamlphp/cert
- ./simple-saml/config:/var/simplesamlphp/config
- ./simple-saml/metadata:/var/simplesamlphp/metadata
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp-idp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp-idp
- ./simple-saml-idp/cert:/var/simplesamlphp-idp/cert
- ./simple-saml-idp/config:/var/simplesamlphp-idp/config
- ./simple-saml-idp/metadata:/var/simplesamlphp-idp/metadata
...
...
docker-compose.yml.prod
View file @
c459b179
...
...
@@ -35,7 +35,7 @@ services:
- ./nginx/conf.d/prod.conf:/etc/nginx/conf.d/prod.conf
- ./nginx/dhparam/:/run/dhparam
# Saml config
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp
- ./simple-saml-prod/cert:/var/simplesamlphp/cert
- ./simple-saml-prod/config:/var/simplesamlphp/config
- ./simple-saml-prod/metadata:/var/simplesamlphp/metadata
...
...
@@ -78,7 +78,7 @@ services:
- ./src:/var/www
- ./php/prod.ini:/usr/local/etc/php/conf.d/local.ini
# Map saml files to the php-fpm server so it has access to them as well
- ./simplesamlphp-1.18.
5
:/var/simplesamlphp
- ./simplesamlphp-1.18.
7
:/var/simplesamlphp
- ./simple-saml-prod/cert:/var/simplesamlphp/cert
- ./simple-saml-prod/config:/var/simplesamlphp/config
- ./simple-saml-prod/metadata:/var/simplesamlphp/metadata
...
...
simplesamlphp-1.18.7/scoper.inc.php
0 → 100644
View file @
c459b179
<?php
declare
(
strict_types
=
1
);
return
[
// The prefix configuration. If a non null value will be used, a random prefix will be generated.
'prefix'
=>
'ScopedSimpleSamlPHP'
,
// By default when running php-scoper add-prefix, it will prefix all relevant code found in the current working
// directory. You can however define which files should be scoped by defining a collection of Finders in the
// following configuration key.
//
// For more see: https://github.com/humbug/php-scoper#finders-and-paths
'finders'
=>
[
\
Isolated\Symfony\Component\Finder\Finder
::
create
()
->
files
()
->
ignoreVCS
(
\
true
)
->
notName
(
'/LICENSE|.*\\.md|.*\\.dist|Makefile|composer\\.json|composer\\.lock/'
)
->
exclude
([
'cert'
,
'cache'
,
'config'
,
'config-templates'
,
'metadata'
,
'metadata-templates'
,
'vendor-bin'
,
'locales'
,
'docs'
,
'www'
,
'lib/SimpleSAML/Auth'
,
'templates'
,
])
->
in
(
'.'
),
\
Isolated\Symfony\Component\Finder\Finder
::
create
()
->
append
([
'composer.json'
])
],
// PHP-Scoper's goal is to make sure that all code for a project lies in a distinct PHP namespace. However, you
// may want to share a common API between the bundled code of your PHAR and the consumer code. For example if
// you have a PHPUnit PHAR with isolated code, you still want the PHAR to be able to understand the
// PHPUnit\Framework\TestCase class.
//
// A way to achieve this is by specifying a list of classes to not prefix with the following configuration key. Note
// that this does not work with functions or constants neither with classes belonging to the global namespace.
//
// Fore more see https://github.com/humbug/php-scoper#whitelist
'whitelist'
=>
[
// 'PHPUnit\Framework\TestCase', // A specific class
// 'PHPUnit\Framework\*', // The whole namespace
'SimpleSAML\\*'
,
'SimpleSAML*'
,
'SimpleSAML'
,
'SAML2\\*'
,
'SAML2'
,
'SimpleSamlPhp\\*'
,
'SimpleSamlPhp*'
,
'SimpleSamlPhp'
,
],
'files-whitelist'
=>
[
'vendor/simplesamlphp/saml2/src/_autoload.php'
,
'scoper.inc.php'
,
'lib/_autoload.php'
,
'lib/_autoload_modules.php'
,
'tests/_autoload_modules.php'
,
'lib/SimpleSAML/Stats.php'
,
],
// If `true` then the user defined constants belonging to the global namespace will not be prefixed.
//
// For more see https://github.com/humbug/php-scoper#constants--constants--functions-from-the-global-namespace
'whitelist-global-constants'
=>
\
true
,
// If `true` then the user defined classes belonging to the global namespace will not be prefixed.
//
// For more see https://github.com/humbug/php-scoper#constants--constants--functions-from-the-global-namespace
'whitelist-global-classes'
=>
\
true
,
// If `true` then the user defined functions belonging to the global namespace will not be prefixed.
//
// For more see https://github.com/humbug/php-scoper#constants--constants--functions-from-the-global-namespace
'whitelist-global-functions'
=>
\
true
,
];
src/backend/src/Gateways/Saml/SimpleSamlPhpSamlRepository.php
View file @
c459b179
...
...
@@ -17,7 +17,7 @@ class SimpleSamlPhpSamlRepository implements SamlRepository
protected
string
$logoutUrl
;
/**
* Found in simplesamlphp-1.18.
5
/lib/SimpleSAML/Auth/Simple.php
* Found in simplesamlphp-1.18.
7
/lib/SimpleSAML/Auth/Simple.php
*
* See https://simplesamlphp.org/docs/stable/simplesamlphp-sp-api for information on these methods
*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment