diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-02-04 09:58:38 +0100 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2014-02-04 09:58:38 +0100 |
commit | 9ef2e8fc5a59abcadc71714da371605bc1fdafa5 (patch) | |
tree | d7af53a4bfc34819a62e7fd8dd62d606f700b3f3 /id/oa/src/main/java/at/gv/egovernment | |
parent | 85fb1aa44b7b3d744d3dc210669f0569b49b2b64 (diff) | |
download | moa-id-spss-9ef2e8fc5a59abcadc71714da371605bc1fdafa5.tar.gz moa-id-spss-9ef2e8fc5a59abcadc71714da371605bc1fdafa5.tar.bz2 moa-id-spss-9ef2e8fc5a59abcadc71714da371605bc1fdafa5.zip |
add STORK attribut builder
Diffstat (limited to 'id/oa/src/main/java/at/gv/egovernment')
-rw-r--r-- | id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/BuildMetadata.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/BuildMetadata.java b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/BuildMetadata.java index 72a253694..4e13a34df 100644 --- a/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/BuildMetadata.java +++ b/id/oa/src/main/java/at/gv/egovernment/moa/id/demoOA/servlet/pvp2/BuildMetadata.java @@ -170,8 +170,10 @@ public class BuildMetadata extends HttpServlet { config.getPVP2KeystoreAuthRequestKeyPassword().toCharArray()); KeyDescriptor signKeyDescriptor = SAML2Utils .createSAMLObject(KeyDescriptor.class); + signKeyDescriptor.setUse(UsageType.SIGNING); - signKeyDescriptor.setKeyInfo(keyInfoGenerator.generate(authcredential)); + signKeyDescriptor.setKeyInfo(keyInfoGenerator.generate(authcredential)); + spSSODescriptor.getKeyDescriptors().add(signKeyDescriptor); |