- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 189 for get_config (0.07 sec)
-
src/main/java/jcifs/smb/NtlmContext.java
} else { this.ntlmsspFlags |= NtlmFlags.NTLMSSP_NEGOTIATE_ANONYMOUS; } this.requireKeyExchange = doSigning; this.workstation = tc.getConfig().getNetbiosHostname(); } /** * {@inheritDoc} * * @see jcifs.smb.SSPContext#getSupportedMechs() */ @Override public ASN1ObjectIdentifier[] getSupportedMechs() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/smb3-features/04-directory-leasing-design.md
if (!isDirectory() || !context.getConfig().isUseDirectoryLeasing()) { return; } if (!tree.getSession().supports(SMB3_0)) { return; // Directory leasing requires SMB3 } directoryLeaseManager = tree.getSession().getDirectoryLeaseManager(); if (directoryLeaseManager != null) { DirectoryCacheScope scope = context.getConfig().getDirectoryCacheScope();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 36.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
@Test @DisplayName("getPreNTLMResponse: uses OEM bytes, truncates to 14, verifies interactions") void testGetPreNTLMResponse_basicAndInteractions() throws Exception { // Arrange when(cifsContext.getConfig()).thenReturn(configuration); when(configuration.getOemEncoding()).thenReturn("Cp850"); String password14 = "ABCDEFGHIJKLMN"; // 14 chars String password15 = "ABCDEFGHIJKLMNO"; // 15 chars, same first 14Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
return this.treeConnection.isConnected(); } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#getConfig() */ @Override public Configuration getConfig() { return this.treeConnection.getConfig(); } /** * @return the currently connected tree id */ public long getTreeId() { return this.treeConnection.getTreeId();
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
NameServiceClient mockNameServiceClient = mock(NameServiceClient.class); NetbiosAddress mockHost = mock(NetbiosAddress.class); when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getNameServiceClient()).thenReturn(mockNameServiceClient); when(mockNameServiceClient.getLocalHost()).thenReturn(mockHost);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java
void testCreateResponse() { // Given Configuration mockConfig = mock(Configuration.class); CIFSContext mockContext = mock(CIFSContext.class); when(mockContext.getConfig()).thenReturn(mockConfig); Smb2TreeDisconnectRequest request = new Smb2TreeDisconnectRequest(mockConfig); // When Smb2TreeDisconnectResponse response = request.createResponse(mockContext, request);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
when(handle.isValid()).thenReturn(true); when(handle.getTree()).thenReturn(tree); when(tree.isSMB2()).thenReturn(true); when(tree.getConfig()).thenReturn(mock(Configuration.class)); when(handle.getFileId()).thenReturn(fileId); when(tree.send(any(CommonServerMessageBlockRequest.class), any(), any(), any())).thenReturn(resp); }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/jcifs/context/CIFSContextWrapper.java
* @return the wrapped context */ protected CIFSContext wrap(final CIFSContext newContext) { return newContext; } @Override public Configuration getConfig() { return this.delegate.getConfig(); } @Override public DfsResolver getDfs() { return this.delegate.getDfs(); } @Override public Credentials getCredentials() {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java
*/ public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid, final byte[] token) { super(context.getConfig(), SMB2_SESSION_SETUP); this.securityMode = securityMode; this.capabilities = capabilities; this.previousSessionId = previousSessionid; this.token = token; } @OverrideRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.8K bytes - Viewed (0) -
src/main/java/jcifs/context/BaseContext.java
public SmbTransportPool getTransportPool() { return this.transportPool; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getConfig() */ @Override public Configuration getConfig() { return this.config; } /** * {@inheritDoc} * * @see jcifs.CIFSContext#getDfs() */ @Override
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)