Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 339 for allowed (0.04 sec)

  1. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

                return userAgent;
            }
    
            /**
             * Checks if the given path is allowed according to this directive.
             * @param path the path to check
             * @return true if the path is allowed, false otherwise
             */
            public boolean allows(final String path) {
                for (final String allowedPath : allowedPaths) {
                    if (path.startsWith(allowedPath)) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10K bytes
    - Viewed (0)
  3. 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");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. 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
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  5. 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, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        /** Cache file size threshold in bytes */
        private int cacheFileSize = 1_000_000;
    
        /** Name of the extractor to use */
        private String extractorName = "tikaExtractor";
    
        /** Maximum content length allowed */
        private long maxContentLength = -1;
    
        /**
         * Constructs a new ExtractorBuilder.
         *
         * @param crawlerContainer the crawler container
         * @param in the input stream to extract data from
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  7. 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:
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 18.1K bytes
    - Viewed (1)
  8. 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
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  9. 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.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 19:39:21 UTC 2025
    - 26.8K bytes
    - Viewed (0)
  10. 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.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top