summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-11-09 11:34:16 +0100
committerAleš Smodiš <aless@guru.si>2015-11-09 11:34:16 +0100
commit15b7e07218fffe571e68efe755983b246a1ab8b1 (patch)
tree4b995bec5142cb05deeebe0755e2a401cd6ac419
parent81a761ae7e8bb95567c9ad47a20bfcf1b3073593 (diff)
Change all remaining "Shibboleth.sso" paths to "saml".
-rw-r--r--saml/saml.js12
-rw-r--r--web/main.js2
2 files changed, 7 insertions, 7 deletions
diff --git a/saml/saml.js b/saml/saml.js
index 59b16fc..1336624 100644
--- a/saml/saml.js
+++ b/saml/saml.js
@@ -465,8 +465,8 @@ var handleLogoutRequest = function (xml, form, res) {
// SAML web request handlers
// ================================================================================
-// redirect to login at IdP, https://codeq.si/Shibboleth.sso/Login
-http_app.get('/Shibboleth.sso/Login', function (req, res) {
+// redirect to login at IdP, https://codeq.si/saml/Login
+http_app.get('/saml/Login', function (req, res) {
var sid = req.query.sid,
responded = false, // don't respond if we already responded (and failed)
waiter, requestId, request;
@@ -529,8 +529,8 @@ http_app.get('/Shibboleth.sso/Login', function (req, res) {
}
});
-// redirect to logout at IdP, https://codeq.si/Shibboleth.sso/Logout
-http_app.get('/Shibboleth.sso/Logout', function (req, res) {
+// redirect to logout at IdP, https://codeq.si/saml/Logout
+http_app.get('/saml/Logout', function (req, res) {
var sid = req.query.sid,
responded = false,
waiter, requestId, request;
@@ -771,7 +771,7 @@ http_app.get('/saml/slo', function (req, res) {
// Web API handlers
// ================================================================================
-http_app.get('/Shibboleth.sso/WaitLogin', function (req, res) {
+http_app.get('/saml/WaitLogin', function (req, res) {
var sid = req.query.sid,
waiter;
if (!sid) {
@@ -790,7 +790,7 @@ http_app.get('/Shibboleth.sso/WaitLogin', function (req, res) {
}).done();
});
-http_app.get('/Shibboleth.sso/WaitLogout', function (req, res) {
+http_app.get('/saml/WaitLogout', function (req, res) {
var sid = req.query.sid,
saml = req.query.saml,
waiter, samlData;
diff --git a/web/main.js b/web/main.js
index c0896b8..799ba3d 100644
--- a/web/main.js
+++ b/web/main.js
@@ -10,7 +10,7 @@ var engine = require('engine.io'), // web sockets communication handler, sitting
express = require('express'), // library providing the Express web framework
http_app = express(); // web framework engine, sitting on the low-level HTTP handler
-var SAML_SERVICE_URL = process.env.CODEQ_SAML_SERVICE_URL || 'https://codeq.si/Shibboleth.sso/';
+var SAML_SERVICE_URL = process.env.CODEQ_SAML_SERVICE_URL || 'https://codeq.si/saml/';
var samlUrlParsed = url.parse(SAML_SERVICE_URL),
samlIsHttps = samlUrlParsed.protocol === 'https:';