Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for FQDN (0.27 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 13.2K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16K bytes
    - Viewed (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

        /** DFS cache time-to-live in seconds */
        protected long dfsTTL = 300;
        /** Whether to use strict DFS path resolution */
        protected boolean dfsStrictView = false;
        /** Whether to convert DFS paths to FQDN */
        protected boolean dfsConvertToFqdn;
        /** Default logon share */
        protected String logonShare;
        /** Default domain for authentication */
        protected String defaultDomain;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  10. 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.
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
Back to top