diff options
author | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-04-26 13:16:31 +0000 |
---|---|---|
committer | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2004-04-26 13:16:31 +0000 |
commit | 323e63b71ac0095f1d809c24ecf7b20ffa2bab24 (patch) | |
tree | df92bec930c7a1e43a1c4d5201bc86cef552d7cf | |
parent | 6776cf4fb494e6aa43ea10f7c1af4dd9f8cb565b (diff) | |
download | moa-id-spss-323e63b71ac0095f1d809c24ecf7b20ffa2bab24.tar.gz moa-id-spss-323e63b71ac0095f1d809c24ecf7b20ffa2bab24.tar.bz2 moa-id-spss-323e63b71ac0095f1d809c24ecf7b20ffa2bab24.zip |
Änderung von Geschäeftsbereich in Geschaeftsbereich (wg. A1-Signatur); hinzufügen eines Attributs Geburtsdatum (RSCH)
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@109 d688527b-c9ab-4aba-bd8d-4036d912da1d
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java index 4babf948c..41f439d04 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java @@ -21,12 +21,15 @@ public class AuthenticationBlockAssertionBuilder implements Constants { " <saml:Subject>" + nl + " <saml:NameIdentifier>{2}</saml:NameIdentifier>" + nl + " </saml:Subject>" + nl + - " <saml:Attribute AttributeName=''Geschäftsbereich'' AttributeNamespace=''" + MOA_NS_URI + "''>" + nl + + " <saml:Attribute AttributeName=''Geschaeftsbereich'' AttributeNamespace=''" + MOA_NS_URI + "''>" + nl + " <saml:AttributeValue>{3}</saml:AttributeValue>" + nl + " </saml:Attribute>" + nl + " <saml:Attribute AttributeName=''OA'' AttributeNamespace=''" + MOA_NS_URI + "''>" + nl + " <saml:AttributeValue>{4}</saml:AttributeValue>" + nl + " </saml:Attribute>" + nl + + " <saml:Attribute AttributeName=''Geburtsdatum'' AttributeNamespace=''" + MOA_NS_URI + "''>" + nl + + " <saml:AttributeValue>{5}</saml:AttributeValue>" + nl + + " </saml:Attribute>" + nl + " </saml:AttributeStatement>" + nl + "</saml:Assertion>"; @@ -47,9 +50,9 @@ public class AuthenticationBlockAssertionBuilder implements Constants { * @return String representation of authentication block * <code><saml:Assertion></code> built */ - public String build(String issuer, String issueInstant, String authURL, String target, String oaURL) { + public String build(String issuer, String issueInstant, String authURL, String target, String oaURL, String GebDat) { String assertion = MessageFormat.format( - AUTH_BLOCK, new Object[] { issuer, issueInstant, authURL, target, oaURL }); + AUTH_BLOCK, new Object[] { issuer, issueInstant, authURL, target, oaURL, GebDat}); return assertion; } |