aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2014-08-22 12:28:35 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2014-08-22 12:28:35 +0200
commita3fe7879ad2363d1bb37588485b6256bfe848d92 (patch)
treeafcee8e5fc7162338525ebc8ebf207a32f928b81 /id/server/idserverlib/src/main/java/at/gv
parent5df1984c62b3f214ce9ed368beb9473bce0183e5 (diff)
downloadmoa-id-spss-a3fe7879ad2363d1bb37588485b6256bfe848d92.tar.gz
moa-id-spss-a3fe7879ad2363d1bb37588485b6256bfe848d92.tar.bz2
moa-id-spss-a3fe7879ad2363d1bb37588485b6256bfe848d92.zip
saml1 target parameter update
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/auth/parser/StartAuthentificationParameterParser.java4
1 files changed, 3 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 ff5e62d96..e3f32d59d 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
@@ -133,7 +133,9 @@ public class StartAuthentificationParameterParser implements MOAIDAuthConstants{
String targetConfig = oaParam.getTarget();
String targetFriendlyNameConfig = oaParam.getTargetFriendlyName();
- if (StringUtils.isEmpty(targetConfig)) {
+ if (StringUtils.isEmpty(targetConfig)
+ || (module.equals(SAML1Protocol.PATH) &&
+ !StringUtils.isEmpty(target))) {
// no target attribut is given in OA config
// target is used from request
// check parameter