|
|
@ -29,9 +29,9 @@ import java.util.regex.Pattern; |
|
|
|
|
|
|
|
|
|
|
|
public abstract class AbstractDatasourceProcessor implements DatasourceProcessor { |
|
|
|
public abstract class AbstractDatasourceProcessor implements DatasourceProcessor { |
|
|
|
|
|
|
|
|
|
|
|
private static final Pattern IPV4_PATTERN = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.]+$"); |
|
|
|
private static final Pattern IPV4_PATTERN = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.\\,]+$"); |
|
|
|
|
|
|
|
|
|
|
|
private static final Pattern IPV6_PATTERN = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.\\:\\[\\]]+$"); |
|
|
|
private static final Pattern IPV6_PATTERN = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.\\:\\[\\]\\,]+$"); |
|
|
|
|
|
|
|
|
|
|
|
private static final Pattern DATABASE_PATTER = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.]+$"); |
|
|
|
private static final Pattern DATABASE_PATTER = Pattern.compile("^[a-zA-Z0-9\\_\\-\\.]+$"); |
|
|
|
|
|
|
|
|
|
|
|