- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for FQDN (0.02 seconds)
-
src/test/java/jcifs/internal/dfs/DfsReferralDataInternalTest.java
@DisplayName("Should handle null and empty FQDN in fixupHost") void testFixupHostWithNullAndEmpty(String fqdn) { // Test with mock doNothing().when(mockReferralData).fixupHost(fqdn); assertDoesNotThrow(() -> mockReferralData.fixupHost(fqdn)); // Test with concrete implementation - fixupHost doesn't handle null fqdn if (fqdn == null) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 28.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java
* * @author mbechler */ public interface DfsReferralDataInternal extends DfsReferralData { /** * Replaces the host with the given FQDN if it is currently unqualified * * @param fqdn the fully qualified domain name to use */ void fixupHost(String fqdn); /** * Possibly appends the given domain name to the host name if it is currently unqualified *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 11.7K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
// Build a token with an arbitrary non-kerberos mechanism OID ASN1ObjectIdentifier unsupported = new ASN1ObjectIdentifier("1.2.3.4.5"); byte[] init = spnegoInitWithMechs(unsupported); // Host is a FQDN to pass the short-name check SmbUnsupportedOperationException ex = assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "server.example.com", init, false));Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
@JvmField @RegisterExtension val clientTestRule = OkHttpClientTestRule().apply { recordFrames = true // recordSslDebug = true } // https://tools.ietf.org/html/rfc6066#page-6 specifies a FQDN is required. val hostname = "local.host" private val handshakeCertificates = run { // Generate a self-signed cert for the server to serve and the client to trust. val heldCertificate =Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java
@DisplayName("Should fixup host for matching FQDN") void testFixupHostWithMatchingFQDN() { setupReferralWithServer("SERVER"); referralData.fixupHost("server.example.com"); assertEquals("server.example.com", referralData.getServer()); } @Test @DisplayName("Should not fixup host for non-matching FQDN") void testFixupHostWithNonMatchingFQDN() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 30.6K bytes - Click Count (0) -
src/test/java/jcifs/internal/RequestWithPathTest.java
assertEquals(ipUNC, testImplementation.getFullUNCPath()); assertEquals("192.168.1.100", testImplementation.getServer()); // UNC path with FQDN String fqdnUNC = "\\\\server.example.com\\share\\folder\\file.txt"; testImplementation.setFullUNCPath("EXAMPLE", "server.example.com", fqdnUNC); assertEquals(fqdnUNC, testImplementation.getFullUNCPath());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
// While we could look up the domain controller/KDC we cannot really make the java kerberos implementation // use a KDC of our choice. // A potential workaround would be to try to get the server FQDN by reverse lookup, but this might have // security implications and also is not how Microsoft does it.Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 13.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
* SID and therefore cannot possibly resolve it automatically. In this case, * this method will be necessary. * * @param authorityServerName * The FQDN of the server that is an authority for the SID. * @param tc * Context to use * @throws IOException if there is an error resolving the SID */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* SID and therefore cannot possibly resolve it automatically. In this case, * this method will be necessary. * * @param authorityServerName The FQDN of the server that is an authority for the SID. * @param auth Credentials suitable for accessing the SID's information. */ /** * Resolves this SID to obtain its account and domain names. *Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0)