Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 22 for isUseUnicode (0.11 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/net/TestSmbComTransactionResponseReader.java

                super(true);
            }
    
            @Override
            public boolean isUseUnicode() {
                return false;
            }
        }
    
        @Test
        public void testUnicodeConfiguration() throws Exception {
            // Test Unicode configuration is enabled by default
            assertTrue(cfg.isUseUnicode(), "Unicode should be enabled by default");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            lenient().when(mockLocalHost.getHostName()).thenReturn("localhost");
            lenient().when(mockConfig.getDefaultDomain()).thenReturn("WORKGROUP");
            lenient().when(mockConfig.isUseUnicode()).thenReturn(true);
        }
    
        @Test
        @DisplayName("Should create Type 1 message with default flags")
        void testType1MessageCreation() {
            // When
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
  3. src/main/java/jcifs/ntlmssp/Type1Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the supplied authentication domain.
         *
         * @return A <code>String</code> containing the supplied domain.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  4. src/main/java/jcifs/config/DelegatingConfiguration.java

            return this.delegate.isForceUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseUnicode()
         */
        @Override
        public boolean isUseUnicode() {
            return this.delegate.isUseUnicode();
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.Configuration#isUseBatching()
         */
        @Override
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 24.1K bytes
    - Click Count (0)
  5. src/main/java/jcifs/ntlmssp/Type2Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the default flags for a Type-2 message created in response
         * to the given Type-1 message in the current environment.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  6. src/main/java/jcifs/Configuration.java

        /**
         *
         * Property {@code jcifs.smb.client.useUnicode} (boolean, default true)
         *
         * @return whether to announce support for unicode
         */
        boolean isUseUnicode();
    
        /**
         *
         * Property {@code jcifs.smb.client.forceUnicode} (boolean, default false)
         *
         * @return whether to use unicode, even if the server does not announce it
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 25.4K bytes
    - Click Count (0)
  7. src/main/java/jcifs/ntlmssp/Type3Message.java

         */
        public static int getDefaultFlags(final CIFSContext tc) {
            return NTLMSSP_NEGOTIATE_NTLM | NTLMSSP_NEGOTIATE_VERSION
                    | (tc.getConfig().isUseUnicode() ? NTLMSSP_NEGOTIATE_UNICODE : NTLMSSP_NEGOTIATE_OEM);
        }
    
        /**
         * Returns the default flags for a Type-3 message created in response
         * to the given Type-2 message in the current environment.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 32.7K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                        this.capabilities &= ~SmbConstants.CAP_EXTENDED_SECURITY;
                        if (a.isGuest()) {
                            this.accountName = a.getUsername();
                            if (this.isUseUnicode()) {
                                this.accountName = this.accountName.toUpperCase();
                            }
                            this.primaryDomain = a.getUserDomain() != null ? a.getUserDomain().toUpperCase() : "?";
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/config/BaseConfiguration.java

            return this.port139FailoverEnabled;
        }
    
        @Override
        public boolean isUseBatching() {
            return this.useBatching;
        }
    
        @Override
        public boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        @Override
        public boolean isForceUnicode() {
            return this.forceUnicode;
        }
    
        @Override
        public boolean isDfsDisabled() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

            this.extendedSecurity = extendedSecurity;
        }
    
        /**
         * Checks if Unicode encoding is enabled for this message
         * @return the useUnicode
         */
        public final boolean isUseUnicode() {
            return this.useUnicode;
        }
    
        /**
         * Sets whether to use Unicode encoding for this message
         * @param useUnicode
         *            the useUnicode to set
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 38.9K bytes
    - Click Count (0)
Back to Top