Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testBlacklistPriority (0.08 seconds)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not in allowed list"));
            }
        }
    
        @Test
        public void testBlacklistPriority() throws Exception {
            // Add to both blacklist and whitelist
            validator.addToBlacklist("\\share\\test");
            validator.addToWhitelist("\\share\\test");
    
            // Blacklist should take priority
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.6K bytes
    - Click Count (0)
Back to Top