Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for acquire (0.21 sec)

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

            throw new ClassCastException();
        }
    
    
        /**
         * @return session increased usage count
         */
        public SmbSessionImpl acquire () {
            long usage = this.usageCount.incrementAndGet();
            if ( log.isTraceEnabled() ) {
                log.trace("Acquire session " + usage + " " + this);
            }
    
            if ( usage == 1 ) {
                synchronized ( this ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

         * Program will use this name to require service ticket from KDC.
         *
         * @param name
         *            the service name used to require service ticket from KDC.
         */
        public void setService ( String name ) {
            this.service = name;
        }
    
    
        /**
         * Get the service name.
         *
         * @return the service name used to require service ticket from KDC
         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

                    this.negotiatedFlags2 |= SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
                }
            }
            else {
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_SIGNATURES;
                this.negotiatedFlags2 &= 0xFFFF ^ SmbConstants.FLAGS2_SECURITY_REQUIRE_SIGNATURES;
            }
    
            if ( log.isDebugEnabled() ) {
                log.debug(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 15.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

                SmbComTreeConnectAndX tcax = (SmbComTreeConnectAndX)request;
                if (netbiosName != null && tcax.path.endsWith("\\IPC$")) {
                    /* Some pipes may require that the hostname in the tree connect
                     * be the netbios name. So if we have the netbios server name
                     * from the NTLMSSP type 2 message, and the share is IPC$, we
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbConstants.java

        static final int FLAGS2_LONG_FILENAMES = 0x0001;
        static final int FLAGS2_EXTENDED_ATTRIBUTES = 0x0002;
        static final int FLAGS2_SECURITY_SIGNATURES = 0x0004;
        static final int FLAGS2_SECURITY_REQUIRE_SIGNATURES = 0x0010;
        static final int FLAGS2_EXTENDED_SECURITY_NEGOTIATION = 0x0800;
        static final int FLAGS2_RESOLVE_PATHS_IN_DFS = 0x1000;
        static final int FLAGS2_PERMIT_READ_IF_EXECUTE_PERM = 0x2000;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                        continue;
                    }
    
                    if ( log.isTraceEnabled() ) {
                        log.trace("Reusing transport connection " + conn);
                    }
                    return conn.acquire();
                }
            }
    
            return null;
        }
    
    
        @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Dec 20 14:09:34 GMT 2020
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            if ( this.handle == null || !this.handle.isValid() ) {
                // one extra acquire to keep this open till the stream is released
                this.handle = this.file.openUnshared(this.openFlags, this.access, this.sharing, SmbConstants.ATTR_NORMAL, this.options).acquire();
                return this.handle;
            }
            return this.handle.acquire();
        }
    
    
        /**
         * Ensures that the file descriptor is openend
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 12:01:33 GMT 2020
    - 18.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

            return this.transportContext;
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.util.transport.Transport#acquire()
         */
        @Override
        public SmbTransportImpl acquire () {
            return (SmbTransportImpl) super.acquire();
        }
    
    
        /**
         * @return the server's encryption key
         */
        @Override
        public byte[] getServerEncryptionKey () {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/DirFileEntryEnumIteratorBase.java

                throws CIFSException {
            this.parent = parent;
            this.wildcard = wildcard;
            this.nameFilter = filter;
            this.searchAttributes = searchAttributes;
    
            this.treeHandle = th.acquire();
            try {
                this.next = open();
                if ( this.next == null ) {
                    doClose();
                }
            }
            catch ( Exception e ) {
                doClose();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/Kerb5Context.java

                    }
                }
            }
            EXT_GSS_CONTEXT_CLASS = extendedGSSContextClassPrep;
            INQUIRE_SEC_CONTEXT = inquireSecContextPrep;
            INQUIRE_TYPE_SESSION_KEY = inquireTypeSessionKeyPrep;
    
            if ( EXT_GSS_CONTEXT_CLASS != null && INQUIRE_SEC_CONTEXT != null && INQUIRE_TYPE_SESSION_KEY != null ) {
                if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
Back to top