diff options
author | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-02-17 17:07:34 +0000 |
---|---|---|
committer | harald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2006-02-17 17:07:34 +0000 |
commit | 76e941d36ff3e884adecae5ccfb8bd26e16dbf13 (patch) | |
tree | 9a095fc98612cdc1038b439394b1c07282c0319f /id.server/src/at | |
parent | 96a70c49c6920d0fa915acfbb78957c73229eb4a (diff) | |
download | moa-id-spss-76e941d36ff3e884adecae5ccfb8bd26e16dbf13.tar.gz moa-id-spss-76e941d36ff3e884adecae5ccfb8bd26e16dbf13.tar.bz2 moa-id-spss-76e941d36ff3e884adecae5ccfb8bd26e16dbf13.zip |
BugFix: wenn Option "provideStammzahl" auf "false" gesetzt
ist, muss die Stammzahl auch in der Personenbindung
ausgeblendet sein.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@623 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java b/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java index f25982c63..8c566683f 100644 --- a/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java +++ b/id.server/src/at/gv/egovernment/moa/id/auth/AuthenticationServer.java @@ -66,6 +66,7 @@ import at.gv.egovernment.moa.util.DOMUtils; import at.gv.egovernment.moa.util.DateTimeUtils; import at.gv.egovernment.moa.util.FileUtils; import at.gv.egovernment.moa.util.OutputXML2File; +import at.gv.egovernment.moa.util.StringUtils; /** * API for MOA ID Authentication Service.<br> @@ -609,6 +610,9 @@ public class AuthenticationServer implements MOAIDAuthConstants { oaParam.getProvideIdentityLink() ? identityLink.getSerializedSamlAssertion() : ""; + if (!oaParam.getProvideStammzahl()) { + ilAssertion = StringUtils.replaceAll(ilAssertion, identityLink.getIdentificationValue(), ""); + } String authBlock = oaParam.getProvideAuthBlock() ? session.getAuthBlock() : ""; String samlAssertion = new AuthenticationDataAssertionBuilder().build(authData, |