aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/builder/AuthenticationBlockAssertionBuilder.java9
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>&lt;saml:Assertion&gt;</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;
}