aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java
diff options
context:
space:
mode:
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java56
1 files changed, 39 insertions, 17 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java b/id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java
index 123d57157..e524ff5f5 100644
--- a/id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java
+++ b/id.server/src/at/gv/egovernment/moa/id/auth/data/InfoboxValidatorParamsImpl.java
@@ -21,76 +21,80 @@ public class InfoboxValidatorParamsImpl implements InfoboxValidatorParams {
* The first token in this list is the one to be validated. Each further token
* maybe needed to validate this first token.
*/
- private List infoboxTokenList_;
+ protected List infoboxTokenList_;
/**
* The ID of the trust profile used for validating certificates.
*/
- private String trustProfileID_;
+ protected String trustProfileID_;
/**
* The locations of schemas that maybe needed for validating infobox tokens.
*/
- private List schemaLocations_;
+ protected List schemaLocations_;
/**
* The URL of the BKU.
*/
- private String bkuURL_;
+ protected String bkuURL_;
/**
* Specifies whether the current online application is a business or a public application.
*/
- private boolean businessApplication_;
+ protected boolean businessApplication_;
/**
* The target parameter.
*/
- private String target_;
+ protected String target_;
/**
* The family name from the identity link.
*/
- private String familyName_;
+ protected String familyName_;
/**
* The given name from the identity link.
*/
- private String givenName_;
+ protected String givenName_;
/**
* The date of birth from the identity link.
*/
- private String dateOfBirth_;
+ protected String dateOfBirth_;
/**
* The date of identification value.
*/
- private String identificationValue_;
+ protected String identificationValue_;
/**
* The identification type.
*/
- private String identificationType_;
+ protected String identificationType_;
/**
* The public keys from the identity link.
*/
- private PublicKey[] publicKeys_;
+ protected PublicKey[] publicKeys_;
/**
* The identity link.
*/
- private Element identityLink_;
+ protected Element identityLink_;
+ /**
+ * Indicates if the infobox validator has to run in the so called <code>compatibility mode</code>.
+ */
+ protected boolean compMode_;
/**
* Indicates whether source pins (<code>Stammzahl</code>en) must be hidden or not.
*/
- private boolean hideStammzahl_;
+ protected boolean hideStammzahl_;
/**
* Application specific parameters.
*/
- private Element applicationSpecificParams_;
+ protected Element applicationSpecificParams_;
/**
* Empty constructor.
@@ -190,6 +194,13 @@ public class InfoboxValidatorParamsImpl implements InfoboxValidatorParams {
}
/**
+ * @see at.gv.egovernment.moa.id.auth.data.InfoboxValidatorParams#getCompMode()
+ */
+ public boolean getCompMode() {
+ return compMode_;
+ }
+
+ /**
* @see at.gv.egovernment.moa.id.auth.data.InfoboxValidatorParams#getHideStammzahl()
*/
public boolean getHideStammzahl() {
@@ -332,16 +343,27 @@ public class InfoboxValidatorParamsImpl implements InfoboxValidatorParams {
public void setTrustProfileID(String trustProfileID) {
trustProfileID_ = trustProfileID;
}
+
+ /**
+ * Sets the {@link #compMode_} parameter. Indicates whether the infobox
+ * validator has to run in the so called <code>compatibility mode</code>.
+ *
+ * @param compMode <code>True</code> if the infobox validator has to run in the so
+ * called <code>compatibility mode</code>, otherwise <code>false</code>.
+ */
+ public void setCompMode(boolean compMode) {
+ compMode_ = compMode;
+ }
/**
- * Sets the hideStammzahl_ parameter. This indicates whether source pins
+ * Sets the {@link #hideStammzahl_} parameter. This indicates whether source pins
* (<code>Stammzahl</code>en) must be hidden or not.
*
* @param hideStammzahl <code>True</code> if source pins (<code>Stammzahl</code>en) should
* be hidden, otherwise <code>false</code>.
*/
public void setHideStammzahl(boolean hideStammzahl) {
- this.hideStammzahl_ = hideStammzahl;
+ hideStammzahl_ = hideStammzahl;
}
}