File tree Expand file tree Collapse file tree
src/main/java/org/owasp/esapi/reference Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ public static SecurityConfiguration getInstance() {
147147 public static final String LOG_APPLICATION_NAME = "Logger.LogApplicationName" ;
148148 public static final String LOG_SERVER_IP = "Logger.LogServerIP" ;
149149 public static final String VALIDATION_PROPERTIES = "Validator.ConfigurationFile" ;
150+ public static final String ACCEPT_LENIENT_DATES = "Validator.AcceptLenientDates" ;
150151
151152
152153
@@ -1131,6 +1132,13 @@ public List<String> getAdditionalAllowedCipherModes()
11311132 List <String > empty = new ArrayList <String >(); // Default is empty list
11321133 return getESAPIProperty (ADDITIONAL_ALLOWED_CIPHER_MODES , empty );
11331134 }
1135+
1136+ /**
1137+ * {@inheritDoc}
1138+ */
1139+ public boolean getLenientDatesAccepted () {
1140+ return getESAPIProperty ( ACCEPT_LENIENT_DATES , false );
1141+ }
11341142
11351143 protected String getESAPIProperty ( String key , String def ) {
11361144 String value = properties .getProperty (key );
You can’t perform that action at this time.
0 commit comments