Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 135 for validity (1.54 sec)

  1. src/test/java/jcifs/smb/SmbPipeHandleImplTest.java

            verify(pipe, times(1)).ensureTreeConnected();
            verify(tree, times(2)).acquire();
        }
    
        @Test
        @DisplayName("isOpen and isStale reflect underlying handle validity")
        void testIsOpenAndIsStale() throws CIFSException {
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            assertEquals(12345, handle.getPipeType());
            assertSame(pipe, handle.getPipe());
        }
    
        @Test
        @DisplayName("isOpen/isStale reflect handle validity and lifecycle")
        void isOpen_isStale_transitions() throws Exception {
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\w");
            assertFalse(handle.isOpen(), "Initially not open");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

         * @return active tree handle
         * @throws CIFSException if connection fails
         *
         */
        synchronized SmbTreeHandleImpl ensureTreeConnected() throws CIFSException {
            // Optimization: Check connection validity more efficiently
            if (this.treeHandle != null && this.treeHandle.isConnected()) {
                // Connection is still valid - reuse it
                return this.treeHandle.acquire();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

         *
         * @param form the search form
         * @return HTML response for the index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            stopwordsPager.clear();
            return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/util/ServerResponseValidator.java

        private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0);
        private final AtomicLong integerOverflowsPrevented = new AtomicLong(0);
    
        /**
         * Validate SMB response buffer bounds
         *
         * @param buffer the buffer to validate
         * @param expectedSize expected minimum size
         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/app/web/admin/duplicatehost/AdminDuplicatehostAction.java

         * @return HTML response for the duplicate host edit form
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            duplicateHostService.getDuplicateHost(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/util/InputValidator.java

        private static final Pattern INVALID_PATH_CHARS = Pattern.compile("[\\x00-\\x1f\"*:<>?|]");
    
        /**
         * Validates buffer size to prevent overflow
         *
         * @param size the buffer size to validate
         * @param maxSize the maximum allowed size
         * @param fieldName the field name for error reporting
         * @throws IllegalArgumentException if size is invalid
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            protwordsPager.clear();
            return asHtml(path_AdminDictProtwords_AdminDictProtwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/PathValidator.java

            this.strictMode = strictMode;
            this.blacklistedPaths = new HashSet<>();
            this.whitelistedPaths = new HashSet<>();
        }
    
        /**
         * Validate and normalize a path
         *
         * @param path the path to validate
         * @return normalized safe path
         * @throws SmbException if path is invalid or dangerous
         */
        public String validatePath(String path) throws SmbException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/keymatch/AdminKeymatchAction.java

         *
         * @param form the edit form
         * @return HTML response for the edit page
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            keyMatchService.getKeyMatch(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
            }).orElse(() -> {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 13:56:35 UTC 2025
    - 16.2K bytes
    - Viewed (0)
Back to top