aboutsummaryrefslogtreecommitdiff
path: root/id/server/moa-id-commons/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'id/server/moa-id-commons/src/main')
-rw-r--r--id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/ValidationHelper.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/ValidationHelper.java b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/ValidationHelper.java
index 01ae2a354..0a0c4b06d 100644
--- a/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/ValidationHelper.java
+++ b/id/server/moa-id-commons/src/main/java/at/gv/egovernment/moa/id/commons/validation/ValidationHelper.java
@@ -22,11 +22,6 @@
*******************************************************************************/
package at.gv.egovernment.moa.id.commons.validation;
-import iaik.asn1.ObjectID;
-import iaik.utils.Util;
-import iaik.x509.X509Certificate;
-import iaik.x509.X509ExtensionInitException;
-
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
@@ -45,6 +40,10 @@ import javax.net.ssl.SSLSocket;
import javax.net.ssl.SSLSocketFactory;
import at.gv.egovernment.moa.logging.Logger;
+import iaik.asn1.ObjectID;
+import iaik.utils.Util;
+import iaik.x509.X509Certificate;
+import iaik.x509.X509ExtensionInitException;
public class ValidationHelper {
@@ -322,7 +321,7 @@ public class ValidationHelper {
return "; % \" ' ` , < > \\";
}
- public static boolean containsPotentialCSSCharacter(String param, boolean commaallowed) {
+ public static boolean containsNotValidCharacter(String param, boolean commaallowed) {
if (param == null) {
return false;
@@ -340,7 +339,7 @@ public class ValidationHelper {
param.indexOf("/") != -1;
}
- public static String getPotentialCSSCharacter(boolean commaallowed) {
+ public static String getNotValidCharacter(boolean commaallowed) {
if (commaallowed)
return "; % \" ' ` < > \\ /";