Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 426 for filter (0.03 sec)

  1. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlFilterService.java

        /**
         * Field name for filter type.
         */
        private static final String FILTER_TYPE = "filterType";
    
        /**
         * Filter type for include filters.
         */
        private static final String INCLUDE = "include";
    
        /**
         * Filter type for exclude filters.
         */
        private static final String EXCLUDE = "exclude";
    
        /**
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

     */
    
    /**
     * An HTTP servlet filter that provides NTLM authentication support for SMB1 protocol.
     * This filter allows web applications to authenticate users via NTLM/Windows authentication.
     */
    public class NtlmHttpFilter implements Filter {
    
        /**
         * Default constructor.
         */
        public NtlmHttpFilter() {
            // Default constructor
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.doFilter(request, response, filterChain);
    
            verify(filterChain).doFilter(any(NtlmHttpServletRequest.class), eq(response));
            verify(response, never()).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
        }
    
        @Test
        void testDoFilter_basicAuthInsecureNotAllowed() throws Exception {
            // Initialize filter with insecure basic auth disabled
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

        /**
         * Sets the filter configuration for WebLogic compatibility.
         * @param f the filter configuration to set
         */
        public void setFilterConfig(final FilterConfig f) {
            try {
                init(f);
            } catch (final Exception e) {
                log.error("Error setting filter config", e);
            }
        }
    
        /**
         * Gets the filter configuration.
         * @return filter config
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/ShareEnumIterator.java

        private final Iterator<FileEntry> delegate;
        private final ResourceFilter filter;
        private final SmbResource parent;
        private SmbResource next;
    
        /**
         * @param parent
         * @param delegate
         * @param filter
         *
         */
        public ShareEnumIterator(final SmbResource parent, final Iterator<FileEntry> delegate, final ResourceFilter filter) {
            this.parent = parent;
            this.delegate = delegate;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbFileFilterTest.java

        void accept_returnsTrueForDirectory_andVerifiesInteraction() throws Exception {
            // Arrange: filter that accepts directories only
            SmbFileFilter filter = f -> f.isDirectory();
            when(smbFile.isDirectory()).thenReturn(true);
    
            // Act
            boolean result = filter.accept(smbFile);
    
            // Assert
            assertTrue(result, "Directory should be accepted");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

        // In the process we made one successful connection attempt.
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectStart::class }).hasSize(2)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectFailed::class }).hasSize(1)
        assertThat(eventRecorder.recordedEventTypes().filter { it == ConnectEnd::class }).hasSize(1)
      }
    
      @Test
      fun reachesIpv6WhenIpv4IsDown() {
        serverIpv4.close()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

    package jcifs.smb1.smb1;
    
    /**
     * DOS-style file filter implementation for SMB1 protocol.
     * Filters files based on wildcard patterns and DOS file attributes.
     */
    public class DosFileFilter implements SmbFileFilter {
    
        /**
         * The wildcard pattern for filtering file names.
         */
        protected String wildcard;
    
        /**
         * The DOS file attributes to filter on.
         */
        protected int attributes;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

        private final SmbFileHandleImpl handle;
        private final int filter;
        private final boolean recursive;
    
        /**
         * @param fh
         * @param filter
         * @param recursive
         *
         */
        public SmbWatchHandleImpl(final SmbFileHandleImpl fh, final int filter, final boolean recursive) {
            this.handle = fh;
            this.filter = filter;
            this.recursive = recursive;
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

            // Verify iteration
            assertTrue(iterator.hasNext());
            assertSame(resource, iterator.next());
            assertFalse(iterator.hasNext());
    
            // With filter, resource should be closed due to try-with-resources
            verify(filter).accept(resource);
            verify(resource).close();
        }
    
        @Test
        @DisplayName("Iterator with rejecting filter - finds next acceptable")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top