- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 575 for allowed (0.05 seconds)
-
src/test/java/jcifs/util/PathValidatorTest.java
assertTrue(e.getMessage().contains("not allowed")); } // Should allow other paths String allowed = validator.validatePath("\\share\\allowed\\file.txt"); assertEquals("\\share\\allowed\\file.txt", allowed); } @Test public void testWhitelist() throws Exception { validator.addToWhitelist("\\share\\allowed"); // Should allow whitelisted path
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.6K bytes - Click Count (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
// Normal authentication should be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed"); // Record success rateLimiter.recordSuccess("user1", "192.168.1.1"); // Should still be allowed assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 15.8K bytes - Click Count (0) -
build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/test/rest/YamlRestCompatTestPluginFuncTest.groovy
task.addWarning("one", "warning1", "warning2") task.addWarningRegex("two", "regex warning here .* [a-z]") task.addAllowedWarning("added allowed warning") task.addAllowedWarningRegex("added allowed warning regex .* [0-9]") task.removeWarning("one", "warning to remove") task.replaceIsTrue("value_to_replace", "replaced_value")
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 30 16:30:48 GMT 2021 - 16.4K bytes - Click Count (0) -
cmd/auth-handler.go
if s3Err != ErrNone { return cred, s3Err } if globalIAMSys.IsAllowed(policy.Args{ AccountName: cred.AccessKey, Groups: cred.Groups, Action: policy.Action(action), ConditionValues: getConditionValues(r, "", cred), IsOwner: owner, Claims: cred.Claims, }) { // Request is allowed return the appropriate access key. return cred, ErrNone }Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 25.4K bytes - Click Count (0) -
src/test/java/jcifs/util/ServerResponseValidatorTest.java
validator.validatePath("\\share\\folder\\file.txt"); validator.validatePath("C:\\Windows\\System32"); validator.validatePath(null); // Null should be allowed validator.validatePath(""); // Empty should be allowed } @Test public void testPathTooLong() throws Exception { String longPath = "\\share" + "\\folder".repeat(5000); assertThrows(SmbException.class, () -> {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 14.2K bytes - Click Count (0) -
docs/config/README.md
├─ CAs ├─ private.key └─ public.crt ``` You can provide a custom certs directory using `--certs-dir` command line option. #### Credentials On MinIO admin credentials or root credentials are only allowed to be changed using ENVs namely `MINIO_ROOT_USER` and `MINIO_ROOT_PASSWORD`. ```sh export MINIO_ROOT_USER=minio export MINIO_ROOT_PASSWORD=minio13 minio server /data ``` #### Site ``` KEY:
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Aug 12 18:20:36 GMT 2025 - 18.1K bytes - Click Count (1) -
src/main/java/org/codelibs/fess/query/QueryFieldConfig.java
/** * Sets the fields that are allowed in API responses. * * @param fields array of field names that are allowed in API responses */ public void setApiResponseFields(final String[] fields) { apiResponseFieldSet = new HashSet<>(); Collections.addAll(apiResponseFieldSet, fields); } /** * Checks if the specified field is allowed in API responses. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 21.9K bytes - Click Count (0) -
src/test/java/org/codelibs/core/io/FileUtilTest.java
public void testIsPathSafe_SafePath() throws Exception { final Path baseDir = tempFolder.getRoot().toPath(); final Path safePath = baseDir.resolve("subdir/file.txt"); assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir)); } /** * Test isPathSafe with path traversal attempt * * @throws Exception */ @Test
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 10.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/ArrayTable.java
* @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than * or equal to the number of allowed row keys, or {@code columnIndex} is greater than or equal * to the number of allowed column keys */ public @Nullable V at(int rowIndex, int columnIndex) { // In GWT array access never throws IndexOutOfBoundsException.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 26.9K bytes - Click Count (0) -
src/main/java/jcifs/util/ServerResponseValidator.java
* @param maxLength maximum allowed length * @param fieldName field name for error messages * @throws SmbException if string is invalid */ public void validateString(String str, int maxLength, String fieldName) throws SmbException { totalValidations.incrementAndGet(); if (str == null) { return; // Null strings are allowed }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 16.6K bytes - Click Count (0)