Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 102 for getConfig (0.11 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        public NtlmPasswordAuthentication ( CIFSContext tc, String userInfo ) {
            super(
                userInfo,
                tc.getConfig().getDefaultDomain(),
                tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbSessionImpl.java

        }
    
    
        /**
         * @return the configuration used by this session
         */
        @Override
        public final Configuration getConfig () {
            return this.transportContext.getConfig();
        }
    
    
        /**
         * @return the targetDomain
         */
        public final String getTargetDomain () {
            return this.targetDomain;
        }
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbRandomAccessFile.java

                        RequestParam.NO_RETRY);
                }
                else {
                    // this is the original, COM_WRITE allows truncation but no 64 bit offsets
                    SmbComWriteResponse rsp = new SmbComWriteResponse(th.getConfig());
                    th.send(
                        new SmbComWrite(th.getConfig(), fh.getFid(), (int) ( newLength & 0xFFFFFFFFL ), 0, this.tmp, 0, 0),
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                    else {
                        th.send(new SmbComDeleteDirectory(th.getConfig(), fileName), new SmbComBlankResponse(th.getConfig()));
                    }
                }
                else {
    
                    if ( th.isSMB2() ) {
                        Smb2CreateRequest req = new Smb2CreateRequest(th.getConfig(), fileName.substring(1));
                        req.setDesiredAccess(0x10000); // delete
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            }
    
            return new SpnegoContext(tc.getConfig(), setupTargetName(tc, host, new NtlmContext(tc, this, doSigning)));
        }
    
    
        private static SSPContext setupTargetName ( CIFSContext tc, String host, NtlmContext ntlmContext ) {
            if ( host != null && tc.getConfig().isSendNTLMTargetName() ) {
                ntlmContext.setTargetName(String.format("cifs/%s", host));
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 18.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            Smb2CreateRequest create = new Smb2CreateRequest(th.getConfig(), uncPath);
            create.setCreateOptions(Smb2CreateRequest.FILE_DIRECTORY_FILE);
            create.setDesiredAccess(SmbConstants.FILE_READ_DATA | SmbConstants.FILE_READ_ATTRIBUTES);
            Smb2QueryDirectoryRequest query = new Smb2QueryDirectoryRequest(th.getConfig());
            query.setFileName(getWildcard());
            create.chain(query);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Request.java

         */
        @Override
        public boolean allowChain ( CommonServerMessageBlockRequest next ) {
            return getConfig().isAllowCompound(getClass().getSimpleName()) && getConfig().isAllowCompound(next.getClass().getSimpleName());
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.CommonServerMessageBlockRequest#createCancel()
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.2K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. src/test/java/jcifs/tests/KerberosTest.java

            return getConfigs("smb1", "smb2", "smb30", "smb31", "forceSpnegoIntegrity");
        }
    
    
        @Before
        public void setup () {
            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));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
Back to top