- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 174 for GetConfig (0.1 sec)
-
src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java
} private FileBothDirectoryInfo createFileInfo() { if (this.expectInfoClass == Smb2QueryDirectoryRequest.FILE_BOTH_DIRECTORY_INFO) { return new FileBothDirectoryInfo(getConfig(), true); } return null; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
*/ @Override protected Smb2CloseResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CloseResponse> req) { return new Smb2CloseResponse(tc.getConfig(), this.fileId, this.fileName); } /** * Set the close flags * * @param flags * the flags to set */ public void setCloseFlags(final int flags) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DfsImplTest.java
mockConfig = mock(Configuration.class); mockCredentials = mock(Credentials.class); mockTransportPool = mock(SmbTransportPool.class); // Set up mock behaviors when(mockContext.getConfig()).thenReturn(mockConfig); when(mockContext.getCredentials()).thenReturn(mockCredentials); when(mockContext.getTransportPool()).thenReturn(mockTransportPool); when(mockConfig.getDfsTtl()).thenReturn(300L);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java
private Configuration mockConfig; private static byte[] blobCred() { return "blobdata".getBytes(StandardCharsets.UTF_8); } @BeforeEach void setup() { when(mockContext.getConfig()).thenReturn(mockConfig); when(mockNegotiate.getServerData()).thenReturn(new ServerDataStub()); } private void setupNegotiateStubs() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java
// Set system property for handle state directory System.setProperty("jcifs.smb.client.handleStateDirectory", tempDir.toString()); when(mockContext.getConfig()).thenReturn(mockConfig); manager = new PersistentHandleManager(mockContext); } @AfterEach public void tearDown() throws IOException { if (manager != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/CIFSContext.java
*/ boolean close() throws CIFSException; /** * Get the configuration object for this context * * @return the active configuration */ Configuration getConfig(); /** * Get the name service client for NetBIOS name resolution * * @return the name server client */ NameServiceClient getNameServiceClient(); /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
src/test/java/jcifs/context/AbstractCIFSContextTest.java
@Override public NameServiceClient getNameServiceClient() { return null; // Not relevant for AbstractCIFSContext tests } @Override public Configuration getConfig() { return null; // Not relevant for AbstractCIFSContext tests } @Override public SmbPipeResource getPipe(String name, int flags) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb/SimpleMemoryManagementTest.java
mockConfig = Mockito.mock(Configuration.class); mockCredentials = Mockito.mock(Credentials.class); mockCredentialsInternal = Mockito.mock(CredentialsInternal.class); Mockito.when(mockContext.getConfig()).thenReturn(mockConfig); Mockito.when(mockContext.getCredentials()).thenReturn(mockCredentials); Mockito.when(mockCredentials.unwrap(Mockito.any())).thenReturn(mockCredentialsInternal);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 5.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadRequest.java
} @Override protected Smb2ReadResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2ReadResponse> req) { return new Smb2ReadResponse(tc.getConfig(), this.outputBuffer, this.outputBufferOffset); } /** * {@inheritDoc} * * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[]) */ @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmUtil.java
final byte[] p14 = new byte[14]; final byte[] p21 = new byte[21]; final byte[] p24 = new byte[24]; final byte[] passwordBytes = Strings.getOEMBytes(password, tc.getConfig()); int passwordLength = passwordBytes.length; // Only encrypt the first 14 bytes of the password for Pre 0.12 NT LM if (passwordLength > 14) { passwordLength = 14; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 15.1K bytes - Viewed (0)