Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 455 for validates (0.04 sec)

  1. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            copyBeanToBean(entity, body, copyOp -> {
                copyOp.excludeNull();
            });
            return body;
        }
    
        /**
         * Validates if the given web configuration ID exists.
         *
         * @param webconfigId the web configuration ID to validate
         * @return true if the web configuration exists, false otherwise
         */
        protected Boolean isValidWebConfigId(final String webconfigId) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/documents/ApiAdminDocumentsAction.java

        // ===================================================================================
        // Search Execute
        //
    
        /**
         * Performs bulk document operations (index multiple documents).
         * Validates document fields and adds default values where necessary.
         *
         * @param body the bulk request body containing documents to process
         * @return JSON response with bulk operation results
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

         */
        protected void write(final String path, final byte[] data) {
            validateFilePath(path);
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Validates the file path.
         *
         * @param path the file path to validate
         */
        protected void validateFilePath(final String path) {
            if (StringUtil.isBlank(path)) {
                throw new IllegalArgumentException("File path cannot be empty");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 27 07:01:25 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java

            // This test validates integration patterns without requiring real cluster
    
            // Simulate witness service discovery
            InetAddress mockWitnessAddress = InetAddress.getByName("127.0.0.1");
    
            // Test witness client initialization patterns
            assertDoesNotThrow(() -> {
                // Validate that witness client configuration is properly set up
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertEquals(SmbComTransaction.TRANS2_FIND_NEXT2, dst[0], "First byte must be subCommand");
            assertEquals((byte) 0x00, dst[1], "Second byte must be 0");
        }
    
        /**
         * Validates writeParametersWireFormat encodes values in the correct order and endianness.
         */
        @Test
        void testWriteParametersWireFormat() {
            // Given
            int sid = 0x1234;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/PathValidatorTest.java

            validator.addToBlacklist("\\share\\blocked");
            validator.clearBlacklist();
    
            // Should allow previously blacklisted path
            String allowed = validator.validatePath("\\share\\blocked\\file.txt");
            assertEquals("\\share\\blocked\\file.txt", allowed);
        }
    
        @Test
        public void testClearWhitelist() throws Exception {
            validator.addToWhitelist("\\share\\allowed");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/util/IpAddressUtil.java

         */
        private IpAddressUtil() {
            // Utility class - no instances allowed
        }
    
        /**
         * Determines if the given address string represents an IPv6 address.
         * This method validates the address using InetAddress to ensure it's a valid IPv6 address.
         *
         * @param address the IP address string to check
         * @return true if the address is a valid IPv6 address, false otherwise
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 06 08:31:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/group/AdminGroupAction.java

        //                                                                        ============
    
        /**
         * Validates group attributes using LDAP manager.
         *
         * @param attributes the attributes to validate
         * @param throwError the error handler
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/PreauthIntegrityService.java

            } catch (Exception e) {
                context.invalidate();
                throw new CIFSException("Failed to update preauth integrity hash for session " + sessionId, e);
            }
        }
    
        /**
         * Validates the preauth integrity for completed negotiation.
         *
         * @param sessionId the session identifier
         * @param expectedHash the expected final hash
         * @return true if validation passes
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/SecurityBlobTest.java

            assertEquals("deadbeef", blob.toString(), "toString() should reflect underlying content");
            assertEquals(data.hashCode(), blob.hashCode(), "hashCode should equal the array's hashCode");
        }
    
        // Validates equals() returns true for same-sized, equal-content blobs
        @Test
        @DisplayName("equals: identical content and size -> true")
        void equals_identicalContent_true() {
            // Arrange
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top