aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2015-05-19 14:33:15 +0200
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2015-05-19 14:33:15 +0200
commit2319e2712bc5a82c86222202792b7806625fb651 (patch)
tree170fc75ad3fa1a627450e2e838978e9f5e892a8c /id/server/idserverlib/src/main/java/at
parent1d577f0587f7d77b1c54a3ebc22bf20c5cb9aa13 (diff)
downloadmoa-id-spss-2319e2712bc5a82c86222202792b7806625fb651.tar.gz
moa-id-spss-2319e2712bc5a82c86222202792b7806625fb651.tar.bz2
moa-id-spss-2319e2712bc5a82c86222202792b7806625fb651.zip
enable usage of http locally when proxied on the same machine; hidden option, LU specific
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java
index a0584e1e9..f538d2d12 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java
@@ -212,7 +212,7 @@ public class StartAuthentificationParameterParser implements MOAIDAuthConstants{
authURL = authURL.concat(":" + req.getServerPort());
}
authURL = authURL.concat(req.getContextPath() + "/");
- boolean auth = AuthConfigurationProvider.getInstance().isHTTPAuthAllowed();
+
if (!authURL.startsWith("https:") && !AuthConfigurationProvider.getInstance().isHTTPAuthAllowed())
throw new AuthenticationException("auth.07",
new Object[] { authURL + "*" });