- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for testuser1 (0.04 sec)
-
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/helper/CurlHelperTest.java
SSLSocketFactory sslSocketFactory = getSSLSocketFactory(curlHelper); assertNull(sslSocketFactory); } public void test_request_withBasicAuth() { setupMockConfig("localhost:9200", "testuser", "testpass"); curlHelper.init(); CurlRequest request = new CurlRequest(Curl.Method.GET, "http://localhost:9200/test"); CurlRequest processedRequest = callProtectedRequest(curlHelper, request);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoManagerTest.java
} public void test_getLoginCredential_withValidAuthenticator() { currentSsoType = "test"; final LoginCredential expectedCredential = new TestLoginCredential("testuser"); testAuthenticator.setLoginCredential(expectedCredential); ssoManager = new SsoManager() { @Override protected String getSsoType() { return currentSsoType;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.9K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
* Verifies that the method returns the name of the principal. */ @Test void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/NtlmContextTest.java
@ExtendWith(MockitoExtension.class) class NtlmContextTest { @Mock private NtlmPasswordAuthentication mockAuth; private final String domain = "TEST_DOMAIN"; private final String username = "testUser"; private final String password = "testPassword"; private final String workstation = "TEST_WORKSTATION"; @BeforeEach void setUp() { // MockitoExtension handles mock initialization
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
src/test/java/jcifs/config/DelegatingConfigurationTest.java
when(mockDelegate.getNetbiosHostname()).thenReturn("TESTHOST"); when(mockDelegate.getDefaultDomain()).thenReturn("WORKGROUP"); when(mockDelegate.getDefaultUsername()).thenReturn("testuser"); when(mockDelegate.getDefaultPassword()).thenReturn("testpass"); when(mockDelegate.getNativeLanman()).thenReturn("jCIFS"); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
exception.withContext("path", "/share/file.txt").withContext("user", "testuser"); // Then Map<String, Object> context = exception.getContext(); assertEquals("server.example.com", context.get("host")); assertEquals(445, context.get("port")); assertEquals("/share/file.txt", context.get("path")); assertEquals("testuser", context.get("user")); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException SmbTransport.ServerData serverData = transport.new ServerData();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/AuthenticationRateLimiterTest.java
assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed"); } @Test public void testAccountLockout() throws Exception { String username = "testuser"; String ip = "192.168.1.2"; // First attempts should be allowed assertTrue(rateLimiter.checkAttempt(username, ip)); rateLimiter.recordFailure(username, ip);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
* Tests the parsing and data extraction from PAC Logon Info structures. */ class PacLogonInfoTest { private static final long TEST_FILETIME = 130640000000000000L; private static final String TEST_USERNAME = "testuser"; private static final String TEST_DOMAIN = "TESTDOMAIN"; private static final String TEST_SERVER = "SERVER01"; private SID domainSid; private SID userSid; @BeforeEach
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0)