- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 201 for acceptPK (1.12 sec)
-
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
} @Test @DisplayName("Should accept null dialect during construction") void testNullDialect() { // When/Then assertDoesNotThrow(() -> { Smb2EncryptionContext context = new Smb2EncryptionContext(1, null, testEncryptionKey, testDecryptionKey); assertNull(context.getDialect(), "Dialect should be null"); }, "Should accept null dialect during construction"); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 44.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
return SingletonContext.getInstance(); } @Nested @DisplayName("Constructor behavior") class ConstructorTests { @ParameterizedTest @DisplayName("Accepts IPC$ URLs (happy path)") @ValueSource(strings = { "smb://server/IPC$/foo", "smb://server/IPC$/PIPE/foo" }) void constructsWithIpcShare(String url) throws Exception { // Arrange & Act
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/ldap/LdapManager.java
* An interface for consuming search results. */ interface SearchConsumer { /** * Accepts a list of search results. * * @param t The list of search results. * @throws NamingException If a naming exception occurs. */ void accept(List<SearchResult> t) throws NamingException; } /** * Gets the directory context. *Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Fri Nov 28 16:29:12 UTC 2025 - 86.3K bytes - Viewed (0) -
src/main/java/jcifs/smb/ShareEnumIterator.java
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/ResourceFilter.java
* * @param resource the SMB resource to test * @return whether the given resource should be included * @throws CIFSException if an error occurs while accessing the resource */ boolean accept(SmbResource resource) throws CIFSException;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosErrorTest.java
if (nt != -1) { consumer.accept(dos, nt); } } // Assert: consumer called exactly for the 3 known codes, with the right arguments ArgumentCaptor<Integer> dosCaptor = ArgumentCaptor.forClass(Integer.class); ArgumentCaptor<Integer> ntCaptor = ArgumentCaptor.forClass(Integer.class); verify(consumer, times(3)).accept(dosCaptor.capture(), ntCaptor.capture());
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Assert - verify interaction with dependency verify(tree, times(1)).connectLogon(context); verify(tree, never()).close(); } @Test @DisplayName("connectLogon accepts null context but still invokes") void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null); // Assert - even null should be passed through to implementationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/FormScheme.java
} buf.append(tokenReqParams); } httpRequest = new HttpGet(buf.toString()); } executor.accept(httpRequest, (response, entity) -> { final int httpStatusCode = response.getStatusLine().getStatusCode(); if (httpStatusCode < 400 || httpStatusCode == 401) {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14.3K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/NtlmContext.java
/** For initiating NTLM authentication (including NTLMv2). If you want to add NTLMv2 authentication support to something this is what you want to use. See the code for details. Note that JCIFS does not implement the acceptor side of NTLM authentication. */ public class NtlmContext { NtlmPasswordAuthentication auth; int ntlmsspFlags; String workstation; boolean isEstablished = false;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
Map<String, List<String>> properties = new HashMap<>(); properties.put("Accept", Collections.singletonList("application/json")); when(mockConnection.getRequestProperties()).thenReturn(properties); // Need to mock getRequestProperty as well since it delegates to wrapped connection when(mockConnection.getRequestProperty("Accept")).thenReturn("application/json"); // ActRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 12.6K bytes - Viewed (0)