aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id/auth/builder
diff options
context:
space:
mode:
authorharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-05-03 15:20:51 +0000
committerharald.bratko <harald.bratko@d688527b-c9ab-4aba-bd8d-4036d912da1d>2007-05-03 15:20:51 +0000
commit69a788eae0a6dd0630b18f585f82ce3cebd9ce82 (patch)
treecb49eb943d6616651ae2db43ea55e2510076625e /id.server/src/at/gv/egovernment/moa/id/auth/builder
parent8f8e6fde967e4b59ec3d67ef61f32c8778df0f01 (diff)
downloadmoa-id-spss-69a788eae0a6dd0630b18f585f82ce3cebd9ce82.tar.gz
moa-id-spss-69a788eae0a6dd0630b18f585f82ce3cebd9ce82.tar.bz2
moa-id-spss-69a788eae0a6dd0630b18f585f82ce3cebd9ce82.zip
Passing hideStammzahl to a infobox validator indicating whether "Stammzahlen" should be hidden or not.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@832 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id/auth/builder')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxValidatorParamsBuilder.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxValidatorParamsBuilder.java b/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxValidatorParamsBuilder.java
index 2d9837f9a..038e549be 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxValidatorParamsBuilder.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/builder/InfoboxValidatorParamsBuilder.java
@@ -30,13 +30,17 @@ public class InfoboxValidatorParamsBuilder {
* @param session The actual Authentication session.
* @param verifyInfoboxParameter The configuration parameters for the infobox.
* @param infoboxTokenList Contains the infobox token to be validated.
+ * @param hideStammzahl Indicates whether source pins (<code>Stammzahl</code>en)
+ * should be hidden in any SAML attributes returned by
+ * an infobox validator.
*
* @return Parameters for validating an infobox token.
*/
public static InfoboxValidatorParams buildInfoboxValidatorParams(
AuthenticationSession session,
VerifyInfoboxParameter verifyInfoboxParameter,
- List infoboxTokenList)
+ List infoboxTokenList,
+ boolean hideStammzahl)
{
InfoboxValidatorParamsImpl infoboxValidatorParams = new InfoboxValidatorParamsImpl();
IdentityLink identityLink = session.getIdentityLink();
@@ -71,7 +75,7 @@ public class InfoboxValidatorParamsBuilder {
}
infoboxValidatorParams.setIdentityLink(identityLinkElem);
}
-
+ infoboxValidatorParams.setHideStammzahl(hideStammzahl);
return infoboxValidatorParams;
}