Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for isAllow (0.06 sec)

  1. src/test/java/jcifs/ACETest.java

            @DisplayName("Should define isAllow method returning boolean")
            void shouldDefineIsAllow() {
                ACE allowAce = mock(ACE.class);
                ACE denyAce = mock(ACE.class);
                when(allowAce.isAllow()).thenReturn(true);
                when(denyAce.isAllow()).thenReturn(false);
    
                assertTrue(allowAce.isAllow());
                assertFalse(denyAce.isAllow());
                verify(allowAce).isAllow();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

            testBuffer[19] = 0x00;
    
            // Test decode
            int size = ace.decode(testBuffer, 0, testBuffer.length);
    
            // Verify results
            assertEquals(32, size);
            assertTrue(ace.isAllow());
            assertEquals(0x03, ace.getFlags());
            assertEquals(0x001200A9, ace.getAccessMask());
            assertNotNull(ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with deny ACE")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dtyp/ACE.java

         * Default constructor for ACE
         */
        public ACE() {
            // Default constructor
        }
    
        boolean allow;
        int flags;
        int access;
        SID sid;
    
        @Override
        public boolean isAllow() {
            return this.allow;
        }
    
        @Override
        public boolean isInherited() {
            return (this.flags & FLAGS_INHERITED) != 0;
        }
    
        @Override
        public int getFlags() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/ACE.java

        SID sid;
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         * @return true if this is an allow ACE, false if it is a deny ACE
         */
        public boolean isAllow() {
            return allow;
        }
    
        /**
         * Returns true if this ACE is an inherited ACE and false if it is a direct ACE.
         * <p>
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ACE.java

         */
        boolean isInherited();
    
        /**
         * Returns true if this ACE is an allow ACE and false if it is a deny ACE.
         *
         * @return whether this in an allow ACE
         */
        boolean isAllow();
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.4K bytes
    - Viewed (3)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                        if (logger.isDebugEnabled()) {
                            logger.debug("ACE:{}", ace);
                        }
                        processAllowedSIDs(file, ace.getSID(), ace.isAllow() ? sidAllowSet : sidDenySet);
                    }
                    responseData.addMetaData(SMB_ALLOWED_SID_ENTRIES, sidAllowSet.toArray(new SID[sidAllowSet.size()]));
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots_wildcard.txt

    User-agent: PriorityBot
    Disallow: /store
    Allow: /store/public
    Disallow: /store/public/sale
    
    # Test Allow vs Disallow with same length (Allow wins)
    User-agent: SameLengthBot
    Disallow: /page
    Allow: /page
    
    # Test multiple wildcards
    User-agent: MultiWildcardBot
    Disallow: /*.cgi*
    Disallow: /*?*id=*
    
    # Test literal $ in middle of pattern
    User-agent: DollarBot
    Disallow: /price$info
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 14:03:41 UTC 2025
    - 910 bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("/store/public/sale", "PriorityBot")); // Most specific disallow
            assertFalse(robotsTxt.allows("/store/public/sale/item", "PriorityBot"));
    
            // Test SameLengthBot - Allow wins when same length as Disallow
            // Disallow: /page, Allow: /page
            assertTrue(robotsTxt.allows("/page", "SameLengthBot")); // Allow takes precedence
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  10. fess-crawler/src/test/resources/org/codelibs/fess/crawler/helper/robots.txt

    User-agent: FessCrawler
    Disallow:           # allows all 
    
    User-agent: BruteBot
    Disallow: /
    Allow: /foo/bar/
    Crawl-delay: 1314000
    
    # welcome!
    User-agent: Googlebot
    Crawl-delay: 1
    
    User-agent: *
    Disallow: /private/
    Disallow: /help        # disallows /help.html, /help/index.html, etc.
    Allow: /help/faq.html
    Crawl-delay: 3
    
    User-agent: Crawler
    Disallow: /aaa
    
    User-agent: Crawler/1.0
    Disallow: /bbb
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Oct 11 02:16:55 UTC 2015
    - 566 bytes
    - Viewed (0)
Back to top