Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 87 for GetConfig (0.15 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/main/java/jcifs/smb/SmbTreeConnection.java

        }
    
    
        static SmbTreeConnection create ( CIFSContext c ) {
            if ( c.getConfig().isTraceResourceUsage() ) {
                return new SmbTreeConnectionTrace(c);
            }
            return new SmbTreeConnection(c);
        }
    
    
        static SmbTreeConnection create ( SmbTreeConnection c ) {
            if ( c.ctx.getConfig().isTraceResourceUsage() ) {
                return new SmbTreeConnectionTrace(c);
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  9. src/main/java/jcifs/ntlmssp/Type3Message.java

            if ( !tc.getConfig().isEnforceSpnegoIntegrity() && serverAvPairs == null ) {
                return null;
            }
            else if ( serverAvPairs == null ) {
                serverAvPairs = new LinkedList<>();
            }
    
            if ( getFlag(NTLMSSP_NEGOTIATE_SIGN)
                    && ( tc.getConfig().isEnforceSpnegoIntegrity() || ( haveServerTimestamp && !tc.getConfig().isDisableSpnegoIntegrity() ) ) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 30.6K bytes
    - Viewed (0)
  10. 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)
Back to top