- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 207 for testUser (0.11 sec)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
TestLoginCredential expectedCredential = new TestLoginCredential("testuser", "testpass"); authenticator.setLoginCredential(expectedCredential); // Execute LoginCredential result = authenticator.getLoginCredential(); // Verify assertNotNull(result); assertEquals(expectedCredential, result); assertEquals("testuser", ((TestLoginCredential) result).getUsername());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (0)