Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IA2
RAP
Commits
dea1fb34
Commit
dea1fb34
authored
7 years ago
by
Sonia Zorba
Browse files
Options
Downloads
Patches
Plain Diff
Deleted config
parent
74340097
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
config.php
+0
-90
0 additions, 90 deletions
config.php
with
1 addition
and
90 deletions
.gitignore
+
1
−
0
View file @
dea1fb34
...
...
@@ -2,3 +2,4 @@ vendor
composer.lock
nbproject
logs
config.php
This diff is collapsed.
Click to expand it.
config.php
deleted
100644 → 0
+
0
−
90
View file @
74340097
<?php
/* ----------------------------------------------------------------------------
* INAF - National Institute for Astrophysics
* IRA - Radioastronomical Institute - Bologna
* OATS - Astronomical Observatory - Trieste
* ----------------------------------------------------------------------------
*
* Copyright (C) 2016 Istituto Nazionale di Astrofisica
*
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License Version 3 as published by the
* Free Software Foundation.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
* details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 51
* Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
$CONTEXT_ROOT
=
"/rap-ia2"
;
$VERSION
=
"1.0.1"
;
$PROTOCOL
=
stripos
(
$_SERVER
[
'SERVER_PROTOCOL'
],
'https'
)
?
'https://'
:
'http://'
;
$BASE_PATH
=
$PROTOCOL
.
$_SERVER
[
'HTTP_HOST'
]
.
$CONTEXT_ROOT
;
$LOG_PATH
=
ROOT
.
"/logs/rap-service.log"
;
$LOG_LEVEL
=
Monolog\Logger
::
DEBUG
;
$CALLBACKS
=
[
array
(
'url'
=>
'http://localhost:8087/grouper'
,
'title'
=>
'Login to Grouper'
,
'logo'
=>
'grouper.png'
),
array
(
'url'
=>
'http://localhost/rap-ia2/'
,
'title'
=>
'Account Management'
,
'logo'
=>
'account-manager.png'
)
];
$DATABASE
=
array
(
'dbtype'
=>
'MySQL'
,
'hostname'
=>
'localhost'
,
'port'
=>
3306
,
'username'
=>
'rap'
,
'password'
=>
'***REMOVED***'
,
'dbname'
=>
'rap'
);
$AUTHENTICATION_METHODS
=
array
(
'eduGAIN'
=>
array
(),
'Google'
=>
array
(
'id'
=>
"***REMOVED***.apps.googleusercontent.com"
,
'secret'
=>
"***REMOVED***"
,
'callback'
=>
$BASE_PATH
.
"/auth/oauth2/google_token.php"
),
'Facebook'
=>
array
(
'id'
=>
"***REMOVED***"
,
'secret'
=>
"***REMOVED***"
,
'version'
=>
"v2.2"
,
'callback'
=>
$BASE_PATH
.
"/auth/oauth2/facebook_token.php"
),
'LinkedIn'
=>
array
(
'id'
=>
'***REMOVED***'
,
'secret'
=>
'***REMOVED***'
,
'callback'
=>
$BASE_PATH
.
'/auth/oauth2/linkedin_token.php'
),
'X.509'
=>
array
(),
'DirectIdP'
=>
array
(
'url'
=>
'https://sso.ia2.inaf.it/Shibboleth.sso/Login?entityID=https://sso.ia2.inaf.it/idp/shibboleth&target=https://sso.ia2.inaf.it/rap-ia2/auth/saml2/aai.php'
,
'logo'
=>
'img/ia2-logo-60x60.png'
,
'logo_alt'
=>
'IA2 logo'
,
'description'
=>
'Use the IA2 Logo to Login if you have an account provided by IA2 or self registered'
)
);
$GROUPER
=
array
(
'wsURL'
=>
'http://localhost:8087/grouper-ws/'
,
'user'
=>
'GrouperSystem'
,
'password'
=>
'***REMOVED***'
);
/*$GROUPER = array(
'wsURL' => 'https://sso.ia2.inaf.it/grouper-ws/',
'user' => 'GrouperSystem',
'password' => '***REMOVED***321'
);*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment