diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-03-05 09:57:56 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-03-05 09:57:56 +0100 |
commit | aa6bb4186317b8f4c9a2c6bdb71d774ee69173c5 (patch) | |
tree | 079e6384c48b263f265c6c565144d9acbbf2660c /id/oa/src/main/java/at | |
parent | d7d939b10139a30e36bf1d36f896518731443670 (diff) | |
download | moa-id-spss-aa6bb4186317b8f4c9a2c6bdb71d774ee69173c5.tar.gz moa-id-spss-aa6bb4186317b8f4c9a2c6bdb71d774ee69173c5.tar.bz2 moa-id-spss-aa6bb4186317b8f4c9a2c6bdb71d774ee69173c5.zip |
update demo-OA
Diffstat (limited to 'id/oa/src/main/java/at')
-rw-r--r-- | id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/Authenticate.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/Authenticate.java b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/Authenticate.java index 00d82296c..4bce49465 100644 --- a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/Authenticate.java +++ b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/Authenticate.java @@ -115,18 +115,18 @@ public class Authenticate extends HttpServlet { authReq.setAttributeConsumingServiceIndex(0); authReq.setIssueInstant(new DateTime()); - Subject subject = SAML2Utils.createSAMLObject(Subject.class); - NameID name = SAML2Utils.createSAMLObject(NameID.class); +// Subject subject = SAML2Utils.createSAMLObject(Subject.class); +// NameID name = SAML2Utils.createSAMLObject(NameID.class); Issuer issuer = SAML2Utils.createSAMLObject(Issuer.class); String serviceURL = config.getPublicUrlPreFix(request); if (!serviceURL.endsWith("/")) serviceURL = serviceURL + "/"; - name.setValue(serviceURL); + //name.setValue(serviceURL); issuer.setValue(serviceURL); - subject.setNameID(name); - authReq.setSubject(subject); +// subject.setNameID(name); +// authReq.setSubject(subject); issuer.setFormat(NameIDType.ENTITY); authReq.setIssuer(issuer); |