- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for setServer (0.17 sec)
-
src/main/java/org/codelibs/fess/opensearch/config/exentity/FileConfig.java
} paramMap.put(Param.Client.FTP_AUTHENTICATIONS, ftpAuthList.toArray(new FtpAuthentication[ftpAuthList.size()])); if (logger.isDebugEnabled()) { ftpAuthList.forEach(ftpAuth -> logger
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Apr 03 09:24:53 UTC 2025 - 10.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/DataConfig.java
} final SmbAuthentication smbAuth = new SmbAuthentication(); smbAuth.setDomain(domain == null ? StringUtil.EMPTY : domain); smbAuth.setServer(hostname); if (StringUtil.isNotBlank(port)) { try { smbAuth.setPort(Integer.parseInt(port));
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
} @Test @DisplayName("Test getServer returns correct server name") void testGetServer() { // Test with mock String expectedServer = "server.example.com"; when(requestWithPath.getServer()).thenReturn(expectedServer); assertEquals(expectedServer, requestWithPath.getServer()); verify(requestWithPath, times(1)).getServer(); // Test with implementation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
} @Test @DisplayName("Should not fixup domain for qualified name") void testFixupDomainWithQualifiedName() { setupReferralWithServer("server.example.com"); referralData.fixupDomain("otherdomain.com"); assertEquals("server.example.com", referralData.getServer()); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
*/ @Override public boolean equals(final Object obj) { if (!(obj instanceof final DfsReferralData other)) { return false; } return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare()) && Objects.equals(getPath(), other.getPath()) && Objects.equals(getPathConsumed(), other.getPathConsumed()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbResourceLocatorImpl.java
public String getServerWithDfs() { if (this.dfsReferral != null) { return this.dfsReferral.getServer(); } return getServer(); } /** * {@inheritDoc} * * @see jcifs.SmbResourceLocator#getServer() */ @Override public String getServer() { final String str = this.url.getHost(); if (str.length() == 0) { return null;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 23.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
// Test with mock when(mockReferralData.getServer()).thenReturn(server); assertEquals(server, mockReferralData.getServer()); verify(mockReferralData, times(1)).getServer(); // Test with concrete implementation String concreteServer = concreteImplementation.getServer(); // Should be SERVER based on our initialization
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 28.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java
SmbResourceLocatorImpl a = locator("smb://server:444/share"); assertEquals("server", a.getServer()); assertEquals(444, a.getPort()); assertEquals(smbUrl("smb://server:444/share"), a.getURL()); SmbResourceLocatorImpl b = locator("smb:///share"); assertNull(b.getServer()); } @Test @DisplayName("shouldForceSigning depends on config, creds, and IPC")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
void testGetServer() throws Exception { DcerpcPipeHandle handle = createMockedDcerpcPipeHandle(); when(mockSmbResourceLocator.getServer()).thenReturn("testServer"); assertEquals("testServer", handle.getServer()); } @Test @DisplayName("Should return correct server name with DFS") void testGetServerWithDfs() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
final String savedPath = rpath != null ? rpath.getPath() : null; final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null; final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath(); final int maxRetries = this.ctx.getConfig().getMaxRequestRetries(); for (int retries = 1; retries <= maxRetries; retries++) { if (rpath != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 30.4K bytes - Viewed (0)