Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 87 for setConfig (0.22 sec)

  1. src/test/java/jcifs/tests/NamingTest.java

            Assume.assumeFalse("Unicode support", getContext().getConfig().isUseUnicode());
            Assume.assumeFalse("SMB2", getContext().getConfig().getMaximumVersion().isSMB2());
            String oemEncoding = getContext().getConfig().getOemEncoding();
            String str = null;
            try {
                switch ( oemEncoding.toLowerCase(Locale.ROOT) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jun 06 10:48:05 UTC 2020
    - 7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbWatchHandleImpl.java

                    /*
                     * NtTrans Notify Change Request / Response
                     */
                    req = new NtTransNotifyChange(th.getConfig(), this.handle.getFid(), this.filter, this.recursive);
                    resp = new NtTransNotifyChangeResponse(th.getConfig());
                }
    
                if ( log.isTraceEnabled() ) {
                    log.trace("Sending NtTransNotifyChange for " + this.handle);
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 4.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(
                    new Trans2FindFirst2(
                        th.getConfig(),
                        unc,
                        this.getWildcard(),
                        this.getSearchAttributes(),
                        th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/ConcurrencyTest.java

                            create2.setOverrideTimeout(1000);
                            create2.setCreateDisposition(Smb2CreateRequest.FILE_OPEN_IF);
                            create2.setRequestedOplockLevel(Smb2CreateRequest.SMB2_OPLOCK_LEVEL_BATCH);
    
                            create2.chain(new Smb2CloseRequest(sess.getConfig(), Smb2Constants.UNSPECIFIED_FILEID));
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmContext.java

                msg2,
                this.targetName,
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(),
                this.auth.isGuest() ? null : this.auth.getUserDomain(),
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(),
                this.workstation,
                this.ntlmsspFlags,
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

            Assume.assumeTrue("Skip kerberos auth", getProperties().get("test.skip.kerberos") == null);
        }
    
    
        @Test
        public void testKRB () throws Exception {
            Assume.assumeTrue(getContext().getConfig().getResolveOrder().contains(ResolverType.RESOLVER_DNS));
            Subject s = getInitiatorSubject(getTestUser(), getTestUserPassword(), getTestUserDomainRequired(), null);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/TimeoutTest.java

                            "Timeout %d outside expected range (%f)",
                            timeout,
                            1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() )),
                        timeout < 1.5 * ( ctx.getConfig().getConnTimeout() + ctx.getConfig().getResponseTimeout() ));
    
                    Set<Thread> threadsAfter = new HashSet<>(Thread.getAllStackTraces().keySet());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbTransportImpl.java

            this.transportContext = tc;
    
            this.signingEnforced = forceSigning || this.getContext().getConfig().isSigningEnforced();
            this.sessionExpiration = System.currentTimeMillis() + tc.getConfig().getSessionTimeout();
    
            this.address = address;
            this.port = port;
            this.localAddr = localAddr;
            this.localPort = localPort;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            }
    
            if ( !selected.atLeast(getConfig().getMinimumVersion()) || !selected.atMost(getConfig().getMaximumVersion()) ) {
                log.error(
                    String.format(
                        "Server selected an disallowed dialect version %s (min: %s max: %s)",
                        selected,
                        getConfig().getMinimumVersion(),
                        getConfig().getMaximumVersion()));
                return false;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
Back to top