Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Measure (0.19 sec)

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

                // before following deeper ones. Otherwise e.g. samba will return a broken
                // referral.
                synchronized ( trans ) {
                    try {
                        // ensure connected
                        trans.ensureConnected();
                        refServerName = trans.getRemoteHostName();
                    }
                    catch ( IOException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileInputStream.java

            if ( len <= 0 ) {
                return 0;
            }
            long start = this.fp;
    
            if ( this.tmp == null ) {
                throw new IOException("Bad file descriptor");
            }
            // ensure file is open
            try ( SmbFileHandleImpl fd = ensureOpen();
                  SmbTreeHandleImpl th = fd.getTree() ) {
    
                /*
                 * Read AndX Request / Response
                 */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

            // only do this if a WINS server is enabled
            getRequiredProperty("jcifs.netbios.wins");
    
            CIFSContext bctx = withAnonymousCredentials();
    
            // ensure that the domain name gets resolved through WINS so that
            // it gets the workgroup type.
            CIFSContext ctx = withConfig(bctx, new DelegatingConfiguration(bctx.getConfig()) {
    
                @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/Kerb5Context.java

    import org.ietf.jgss.Oid;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.spnego.NegTokenInit;
    
    
    /**
     * This class used to provide Kerberos feature when setup GSSContext.
     * 
     * @author Shun
     */
    class Kerb5Context implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(Kerb5Context.class);
    
    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)
  5. src/main/java/jcifs/smb/SmbRandomAccessFile.java

            }
        }
    
    
        /**
         * @return
         * @throws SmbException
         */
        synchronized SmbFileHandleImpl ensureOpen () throws CIFSException {
            // ensure file is open
            if ( this.handle == null || !this.handle.isValid() ) {
                // one extra acquire to keep this open till the stream is released
    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)
  6. src/main/java/jcifs/http/NetworkExplorer.java

                    }
                    else {
                        dc = nameServiceClient.getByName(server, possibleWorkgroup);
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 21.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        dc = UniAddress.getByName( mb );
                    } else {
                        dc = UniAddress.getByName( server, possibleWorkgroup );
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
                    challenge = SmbSession.getChallenge( dc );
                    if(( ntlm = NtlmSsp.authenticate( req, resp, challenge )) == null ) {
                        return;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 22 03:57:31 GMT 2020
    - 19.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            return read( b, 0, b.length );
        }
        public int read( byte b[], int off, int len ) throws SmbException {
            if( len <= 0 ) {
                return 0;
            }
            long start = fp;
    
            // ensure file is open
            if( file.isOpen() == false ) {
                file.open( openFlags, 0, SmbFile.ATTR_NORMAL, options );
            }
    
            int r, n;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SpnegoContext.java

    import jcifs.spnego.NegTokenTarg;
    import jcifs.spnego.SpnegoException;
    import jcifs.spnego.SpnegoToken;
    import jcifs.util.Hexdump;
    
    
    /**
     * This class used to wrap a {@link SSPContext} to provide SPNEGO feature.
     * 
     * @author Shun
     *
     */
    class SpnegoContext implements SSPContext {
    
        private static final Logger log = LoggerFactory.getLogger(SpnegoContext.class);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 14.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                /* Yes, there is the potential to drop packets
                 * because we might close the socket during a
                 * request. However the chances are slim and the
                 * retry code should ensure the overall request
                 * is serviced. The alternative complicates things
                 * more than I think is worth it.
                 */
    
                if( socket != null ) {
                    socket.close();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
Back to top