Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for FQDN (0.02 sec)

  1. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

                final String fqdn = s + "." + dom;
                if (log.isDebugEnabled()) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
        @Override
        public void fixupHost(final String fqdn) {
            final String s = getServer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. cmd/api-response_test.go

    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    				Host: "s3.mybucket.org",
    				Header: map[string][]string{
    					"X-Forwarded-Scheme": {httpScheme},
    				},
    			},
    			bucket:           "mybucket",
    			object:           "test/1.txt",
    			expectedLocation: "http://s3.mybucket.org/mybucket/test/1.txt",
    		},
    		// Server binding to fqdn.
    		{
    			request: &http.Request{
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  4. 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
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  5. 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));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. 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 =
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 8K bytes
    - Viewed (0)
  7. 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() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  9. 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.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  10. 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
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top