aboutsummaryrefslogtreecommitdiff
path: root/id/server/idserverlib/src
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2014-11-04 10:03:08 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2014-11-04 10:03:08 +0100
commit6f70c39d276b3758da06e3121208e2f1ed0009a3 (patch)
treec88860e1ae7a7c8ae68da169663ca1b2c58702df /id/server/idserverlib/src
parenta3e59e5011e16271dab6cc8299a1d1241b4a7fb2 (diff)
downloadmoa-id-spss-6f70c39d276b3758da06e3121208e2f1ed0009a3.tar.gz
moa-id-spss-6f70c39d276b3758da06e3121208e2f1ed0009a3.tar.bz2
moa-id-spss-6f70c39d276b3758da06e3121208e2f1ed0009a3.zip
remove subject->nameID from AuthnRequest
Diffstat (limited to 'id/server/idserverlib/src')
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java8
1 files changed, 1 insertions, 7 deletions
diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
index a4d63b144..dab89b7c3 100644
--- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
+++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/moduls/AuthenticationManager.java
@@ -422,16 +422,10 @@ public class AuthenticationManager extends AuthServlet {
authReq.setAssertionConsumerServiceIndex(0);
authReq.setIssueInstant(new DateTime());
- Subject subject = SAML2Utils.createSAMLObject(Subject.class);
- NameID name = SAML2Utils.createSAMLObject(NameID.class);
- Issuer issuer = SAML2Utils.createSAMLObject(Issuer.class);
-
+ Issuer issuer = SAML2Utils.createSAMLObject(Issuer.class);
String serviceURL = PVPConfiguration.getInstance().getIDPPublicPath();
- name.setValue(serviceURL);
issuer.setValue(serviceURL);
- subject.setNameID(name);
- authReq.setSubject(subject);
issuer.setFormat(NameIDType.ENTITY);
authReq.setIssuer(issuer);
NameIDPolicy policy = SAML2Utils