Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for initDefaults (0.4 sec)

  1. src/test/java/jcifs/config/BaseConfigurationTest.java

            assertTrue(config.disallowCompound.contains("Command3"));
        }
    
        @Test
        @DisplayName("Test initDefaults sets all required fields")
        void testInitDefaultsSetsAllFields() throws CIFSException {
            BaseConfiguration testConfig = new BaseConfiguration(false);
            testConfig.initDefaults();
    
            // Check random and time zone
            assertNotNull(testConfig.getRandom());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/PropertyConfiguration.java

        @Override
        protected void initDefaults() throws CIFSException {
            // Set PropertyConfiguration-specific defaults before calling super.initDefaults()
            if (!this.useMultiChannelExplicitlySet) {
                this.useMultiChannel = true; // PropertyConfiguration defaults to enabled
            }
    
            // Call parent initialization for all other defaults
            super.initDefaults();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/config/BaseConfiguration.java

         *
         * @param initDefaults
         *            whether to initialize defaults based on other settings
         * @throws CIFSException if configuration initialization fails
         */
        public BaseConfiguration(final boolean initDefaults) throws CIFSException {
            if (initDefaults) {
                this.initDefaults();
            }
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

        /**
         * Anonymous credentials instance with empty domain, username, and password.
         */
        public static final NtlmPasswordAuthentication ANONYMOUS = new NtlmPasswordAuthentication("", "", "");
    
        static void initDefaults() {
            if (DEFAULT_DOMAIN != null) {
                return;
            }
            DEFAULT_DOMAIN = Config.getProperty("jcifs.smb1.smb.client.domain", "?");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    addresses = new UniAddress[1];
                    addresses[0] = UniAddress.getByName(addr.getHostAddress());
                } catch (final UnknownHostException uhe) {
                    NtlmPasswordAuthentication.initDefaults();
                    if (NtlmPasswordAuthentication.DEFAULT_DOMAIN.equals("?")) {
                        throw uhe;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top