aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-10-27 10:16:58 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-10-27 10:16:58 +0100
commit9c7c8c568ba83e0730e7667e09a221bc2e79afe2 (patch)
tree861f2ac2bb966ebb77026f43b19ab326984c09cd /id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java
parent4e2b4b026d1fb70d145643f7dfb906555ddb77c6 (diff)
downloadmoa-id-spss-9c7c8c568ba83e0730e7667e09a221bc2e79afe2.tar.gz
moa-id-spss-9c7c8c568ba83e0730e7667e09a221bc2e79afe2.tar.bz2
moa-id-spss-9c7c8c568ba83e0730e7667e09a221bc2e79afe2.zip
store additional raw PVP role String
Diffstat (limited to 'id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java
index 7d4dc6eff..8915b2442 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/data/AuthenticationRoleFactory.java
@@ -40,11 +40,11 @@ public class AuthenticationRoleFactory {
if (first < 0) {
//no role paramters found
- role = new AuthenticationRole(pvprole.trim());
+ role = new AuthenticationRole(pvprole.trim(), pvprole.trim());
Logger.debug("Add authentication role with name=" + pvprole.trim());
} else {
- role = new AuthenticationRole(pvprole.substring(0, first).trim());
+ role = new AuthenticationRole(pvprole.substring(0, first).trim(), pvprole.trim());
Logger.debug("Add authentication role with name=" + pvprole.substring(0, first).trim());
String params = pvprole.substring(first + 1, pvprole.length() - 1);