Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 33 for testuser2 (0.27 sec)

  1. src/test/java/org/codelibs/fess/auth/AuthenticationManagerTest.java

        public void test_insert_noChains() {
            User user = createTestUser("testuser");
            authenticationManager.insert(user);
            // Should not throw exception even with no chains
        }
    
        // Test insert with single chain
        public void test_insert_singleChain() {
            User user = createTestUser("testuser");
            TestAuthenticationChain chain = new TestAuthenticationChain();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            testFessConfig.ldapAdminSyncPassword = false;
    
            boolean result = ldapChain.changePassword("testuser", "newpassword");
    
            assertFalse(result); // returns !changed || syncPassword = !true || false = false
            assertEquals("testuser", testLdapManager.changePasswordUsername);
            assertEquals("newpassword", testLdapManager.changePasswordPassword);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java

        public void test_constructor_withValidUsername() {
            // Test with a normal username
            String username = "testuser";
            FessUserNotFoundException exception = new FessUserNotFoundException(username);
    
            assertNotNull(exception);
            assertEquals("User is not found: testuser", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withEmptyUsername() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. src/test/java/jcifs/config/PropertyConfigurationTest.java

        @BeforeEach
        void setUp() throws CIFSException {
            Properties props = new Properties();
            // Set some default test properties
            props.setProperty("jcifs.smb.client.username", "testuser");
            props.setProperty("jcifs.smb.client.password", "testpass");
            props.setProperty("jcifs.smb.client.domain", "testdomain");
            props.setProperty("jcifs.netbios.hostname", "testhost");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

            chain.changePasswordResult = true;
    
            boolean result = chain.changePassword("testuser", "newpassword123");
    
            assertTrue(result);
            assertEquals(1, chain.changePasswordCalls.size());
            assertEquals("testuser", chain.changePasswordCalls.get(0).getKey());
            assertEquals("newpassword123", chain.changePasswordCalls.get(0).getValue());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            principalVector.add(new DERTaggedObject(0, new ASN1Integer(1))); // name-type
            ASN1EncodableVector nameVector = new ASN1EncodableVector();
            nameVector.add(new DERGeneralString("testuser"));
            principalVector.add(new DERTaggedObject(1, new DERSequence(nameVector)));
            vector.add(new DERTaggedObject(3, new DERSequence(principalVector)));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            char[] testPassword = "DomainPass321!".toCharArray();
            NtlmPasswordAuthenticator auth = new NtlmPasswordAuthenticator("DOMAIN", "testuser", testPassword);
    
            assertEquals("DOMAIN", auth.getUserDomain());
            assertEquals("testuser", auth.getUsername());
            assertEquals(new String(testPassword), auth.getPassword());
        }
    
        /**
         * Test null password handling
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            for (int i = 0; i < 100; i++) {
                NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password123");
                NtlmPasswordAuthenticator auth2 = new NtlmPasswordAuthenticator("testdomain", "testuser", "password124");
                auth1.equals(auth2);
            }
        }
    
        /**
         * Test that password comparison is constant-time by comparing execution times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpAuthenticationTest.java

        public void test_matches() throws Exception {
            FtpAuthentication auth = new FtpAuthentication();
            auth.setServer("hostname");
            auth.setPort(21);
            auth.setUsername("testuser");
            auth.setPassword("testpass");
    
            assertTrue(auth.matches("ftp://hostname:21/test/aaa.html"));
            assertTrue(auth.matches("ftp://hostname/test/aaa.html"));
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

            mockAuth.username = "testuser";
            mockAuth.domain = "TESTDOMAIN";
            mockAuth.password = "testpass";
    
            when(mockAuth.getAnsiHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getUnicodeHash(any(byte[].class))).thenReturn(new byte[24]);
            when(mockAuth.getName()).thenReturn("testuser");
            when(mockAuth.getDomain()).thenReturn("TESTDOMAIN");
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top