Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 40 for resetuser (0.07 sec)

  1. 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)
  2. src/test/java/jcifs/audit/SecurityAuditLoggerTest.java

        }
    
        @Test
        @DisplayName("Test log authentication success")
        void testLogAuthentication() {
            logger.logAuthentication(true, "testuser", "DOMAIN", "192.168.1.1");
    
            Map<EventType, Long> stats = logger.getStatistics();
            assertEquals(Long.valueOf(1), stats.get(EventType.AUTHENTICATION_SUCCESS), "Should have 1 authentication event");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            testEnv = new Hashtable<>();
            testEnv.put("test.key", "test.value");
            ldapUser = new LdapUser(testEnv, "testuser");
    
            ComponentUtil.register(new SystemHelper(), "systemHelper");
    
            // Register a mock LdapManager to avoid NPE
            ComponentUtil.register(new LdapManager() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

        /**
         * Creates a Type-3 message using default values from the current
         * environment.
         */
        public Type3Message() {
            setFlags(getDefaultFlags());
            setDomain(getDefaultDomain());
            setUser(getDefaultUser());
            setWorkstation(getDefaultWorkstation());
        }
    
        /**
         * Creates a Type-3 message in response to the given Type-2 message
         * using default values from the current environment.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 24.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            // Given
            Type2Message type2 = createMockType2Message();
            String password = "testpassword";
            String domain = "TESTDOMAIN";
            String username = "testuser";
            String workstation = "TESTWS";
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. cmd/admin-handlers-users_test.go

    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	// 1. Create a user.
    	accessKey, secretKey := mustGenerateCredentials(c)
    	err := s.adm.SetUser(ctx, accessKey, secretKey, madmin.AccountEnabled)
    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    
    	// 2. Check new user appears in listing
    	usersMap, err := s.adm.ListUsers(ctx)
    	if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 47.4K bytes
    - Viewed (0)
Back to top