Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 112 for whale (0.33 sec)

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

            CIFSContext ctx = withAnonymousCredentials();
            try ( SmbFile smbFile = new SmbFile("smb://", ctx) ) {
                try ( CloseableIterator<SmbResource> it = smbFile.children() ) {
                    while ( it.hasNext() ) {
                        try ( SmbResource serv = it.next() ) {
                            System.err.println(serv.getName());
                        }
                    }
                }
            }
    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)
  2. src/main/java/jcifs/netbios/Lmhosts.java

                            b = b * 10 + c - '0';
                        }
                        ip = ( ip << 8 ) + b;
                    }
                    while ( i < data.length && Character.isWhitespace(data[ i ]) ) {
                        i++;
                    }
                    j = i;
                    while ( j < data.length && Character.isWhitespace(data[ j ]) == false ) {
                        j++;
                    }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                        }
                    }
    
                    /* No DCs found, for retieval of list by expiring it and retry.
                     */
                    dc_list_expiration = 0;
                } while (retry-- > 0);
    
                dc_list_expiration = now + 1000 * 60 * 15; /* 15 min */
    }
    
            throw new UnknownHostException(
                    "Failed to negotiate with a suitable domain controller for " + DOMAIN );
    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)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                        return false;
                    }
                    return ff.accept((SmbFile) resource);
                }
            }) ) {
    
                List<String> list = new ArrayList<>();
                while ( it.hasNext() ) {
                    try ( SmbResource n = it.next() ) {
                        list.add(n.getName());
                    }
                }
                return list.toArray(new String[list.size()]);
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                            RC4 rc4 = new RC4(ntlm2SessionKey);
                            rc4.update(masterKey, 0, 16, exchangedKey, 0);
    /* RC4 was not added to Java until 1.5u7 so let's use our own for a little while longer ...
                            try {
                                Cipher rc4 = Cipher.getInstance("RC4");
                                rc4.init(Cipher.ENCRYPT_MODE, new SecretKeySpec(ntlm2SessionKey, "RC4"));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/spnego/NegTokenTarg.java

                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                Enumeration<?> fields = sequence.getObjects();
                while ( fields.hasMoreElements() ) {
                    tagged = (ASN1TaggedObject) fields.nextElement();
                    switch ( tagged.getTagNo() ) {
                    case 0:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 04 04:18:31 GMT 2021
    - 5.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmHttpFilter.java

             */
            p.setProperty("jcifs.smb.lmCompatibility", "0");
            p.setProperty("jcifs.smb.client.useExtendedSecurity", "false");
    
            Enumeration<String> e = filterConfig.getInitParameterNames();
            while ( e.hasMoreElements() ) {
                name = e.nextElement();
                if ( name.startsWith("jcifs.") ) {
                    p.setProperty(name, filterConfig.getInitParameter(name));
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/spnego/NegTokenInit.java

                    }
                    ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                    Enumeration<ASN1Object> fields = sequence.getObjects();
                    while ( fields.hasMoreElements() ) {
                        tagged = (ASN1TaggedObject) fields.nextElement();
                        switch ( tagged.getTagNo() ) {
                        case 0:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/Handler.java

                }
                if ( handler == null ) {
                    String path = System.getProperty(HANDLER_PKGS_PROPERTY);
                    StringTokenizer tokenizer = new StringTokenizer(path, "|");
                    while ( tokenizer.hasMoreTokens() ) {
                        String provider = tokenizer.nextToken().trim();
                        if ( provider.equals("jcifs") )
                            continue;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/Type1Message.java

        }
    
        /**
         * Creates a Type-1 message using the given raw Type-1 material.
         *
         * @param material The raw Type-1 material used to construct this message.
         * @throws IOException If an error occurs while parsing the material.
         */
        public Type1Message(byte[] material) throws IOException {
            parse(material);
        }
    
        /**
         * Returns the supplied authentication domain.
         *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 8K bytes
    - Viewed (0)
Back to top