Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for useExtendedSecurity (0.26 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

            this.oemEncoding = p.getProperty("jcifs.encoding", SmbConstants.DEFAULT_OEM_ENCODING);
    
            this.useNtStatus = Config.getBoolean(p, "jcifs.smb.client.useNtStatus", true);
            this.useExtendedSecurity = Config.getBoolean(p, "jcifs.smb.client.useExtendedSecurity", true);
            this.forceExtendedSecurity = Config.getBoolean(p, "jcifs.smb.client.forceExtendedSecurity", false);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/config/BaseConfiguration.java

        protected boolean signingEnforced = false;
        protected boolean ipcSigningEnforced = true;
        protected boolean encryptionEnabled = false;
        protected boolean useNtStatus = true;
        protected boolean useExtendedSecurity = true;
        protected boolean forceExtendedSecurity = false;
        protected boolean smb2OnlyNegotiation = false;
        protected boolean port139FailoverEnabled = false;
        protected boolean useNTSmbs = true;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 20.4K bytes
    - Viewed (1)
  3. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        @Test
        public void logonUserHash () throws IOException {
            Assume.assumeTrue(Boolean.parseBoolean(getProperties().getOrDefault("jcifs.smb.client.useExtendedSecurity", "true")));
            byte[] hash = NtlmUtil.getNTHash(getTestUserPassword());
            CIFSContext ctx = getContext().withCredentials(new NtlmNtHashAuthenticator(getTestUserDomain(), getTestUser(), hash));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

             * because it requires a lot of extra crypto not used by CIFS.
             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
            p.setProperty("jcifs.smb.client.useExtendedSecurity", "false");
    
            Enumeration<String> e = filterConfig.getInitParameterNames();
            while ( e.hasMoreElements() ) {
                name = e.nextElement();
                if ( name.startsWith("jcifs.") ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty( "jcifs.smb1.smb.lmCompatibility", "0" );
            Config.setProperty( "jcifs.smb1.smb.client.useExtendedSecurity", "false" );
    
            Enumeration e = filterConfig.getInitParameterNames();
            while( e.hasMoreElements() ) {
                name = (String)e.nextElement();
                if( name.startsWith( "jcifs.smb1." )) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbConstants.java

        static final boolean USE_NTSMBS = Config.getBoolean( "jcifs.smb1.smb.client.useNTSmbs", true );
        static final boolean USE_EXTSEC = Config.getBoolean( "jcifs.smb1.smb.client.useExtendedSecurity", true );
    
        static final String NETBIOS_HOSTNAME = Config.getProperty( "jcifs.smb1.netbios.hostname", null );
        static final int LM_COMPATIBILITY = Config.getInt( "jcifs.smb1.smb.lmCompatibility", 3);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 8.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

                 * all be cleaned up an normalized in JCIFS 2.x.
                 */
                throw new SmbException(
                    "NTLMv2 requires extended security (jcifs.smb.client.useExtendedSecurity must be true if jcifs.smb.lmCompatibility >= 3)");
            }
            return null;
        }
    
    
        /**
         * Returns the effective user session key.
         * 
         * @param tc
         * @param chlng
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/AllTests.java

                    cfg.put("jcifs.smb.client.maxVersion", "SMB1");
                    cfg.put("jcifs.smb.lmCompatibility", "2");
                    cfg.put("jcifs.smb.client.useExtendedSecurity", "false");
                    cfg.put("jcifs.smb.client.forceExtendedSecurity", "false");
                    return cfg;
                }
            });
    
            MUTATIONS.put("forceSpnegoIntegrity", new TestMutation() {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 14.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                     * all be cleaned up an normalized in JCIFS 2.x.
                     */
                    throw new SmbException("NTLMv2 requires extended security (jcifs.smb1.smb1.client.useExtendedSecurity must be true if jcifs.smb1.smb1.lmCompatibility >= 3)");
            }
            return null;
        }
    
        /**
         * Returns the effective user session key.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
Back to top