aboutsummaryrefslogtreecommitdiff
path: root/id/server
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2017-11-27 12:09:21 +0100
committerThomas Lenz <tlenz@iaik.tugraz.at>2017-11-27 15:45:03 +0100
commitc635f245db55dbab616db3835087fbf33be832d0 (patch)
tree824398b472e9b30e41d63b64dcac3423acad39bd /id/server
parent7523477ce0884b45a992748a12ea824fa85ea14d (diff)
downloadmoa-id-spss-c635f245db55dbab616db3835087fbf33be832d0.tar.gz
moa-id-spss-c635f245db55dbab616db3835087fbf33be832d0.tar.bz2
moa-id-spss-c635f245db55dbab616db3835087fbf33be832d0.zip
refactoring: rename method
Diffstat (limited to 'id/server')
-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 "; % \" ' ` < > \\ /";