Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for RuntimeException (0.19 sec)

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

        {
            if (password == null)
                throw new RuntimeException("Password parameter is required");
            try {
                MD4 md4 = new MD4();
                md4.update(password.getBytes(SmbConstants.UNI_ENCODING));
                return md4.digest();
            } catch (UnsupportedEncodingException uee) {
                throw new RuntimeException(uee.getMessage());
            }
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/ntlmssp/Type3Message.java

                                rc4.update(masterKey, 0, 16, exchangedKey, 0);
                            } catch (GeneralSecurityException gse) {
                                throw new RuntimeException("", gse);
                            }
    */
    
                            setSessionKey(exchangedKey);
                        } else {
                            masterKey = ntlm2SessionKey;
    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)
  3. src/main/java/jcifs/smb/Kerb5Context.java

            }
            catch (
                ClassNotFoundException |
                NoSuchMethodException |
                RuntimeException ex ) {
                if ( log.isDebugEnabled() ) {
                    log.debug("Failed to initalize ExtendedGSSContext initializdation for OracleJDK / OpenJDK", ex);
                }
            }
    
    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)
  4. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                        len += 2;
                        if( len > maxLen ) {
    if( log.level > 0 )
    Hexdump.hexdump( System.err, src, srcIndex, maxLen < 128 ? maxLen + 8 : 128 );
                            throw new RuntimeException( "zero termination not found" );
                        }
                    }
                    str = new String( src, srcIndex, len, UNI_ENCODING );
                } else {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 21K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                andxCommand = (byte)0xFF;
                andx = null;
            } else if( andx == null ) {
                andxCommand = (byte)0xFF;
                throw new RuntimeException( "no andx command supplied with response" );
            } else {
    
                /*
                 * Set bufferIndex according to andxOffset
                 */
    
                bufferIndex = headerStart + andxOffset;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ConcurrencyTest.java

                            }
                        }
                    }
                    this.completed = true;
                }
                catch (
                    IOException |
                    RuntimeException e ) {
                    log.error("Test case failed", e);
                }
            }
    
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SID.java

            identifier_authority = new byte[6];
            System.arraycopy(src, si, identifier_authority, 0, 6);
            si += 6;
            if (sub_authority_count > 100)
                throw new RuntimeException( "Invalid SID sub_authority_count" );
            sub_authority = new int[sub_authority_count];
            for (int i = 0; i < sub_authority_count; i++) {
                sub_authority[i] = ServerMessageBlock.readInt4( src, si );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 26.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/Config.java

            String ver, pkgs;
    
            ver = System.getProperty( "java.version" );
            if( ver.startsWith( "1.1." ) || ver.startsWith( "1.2." )) {
                 throw new RuntimeException( "jcifs.smb1-0.7.0b4+ requires Java 1.3 or above. You are running " + ver );
            }
            pkgs = System.getProperty( "java.protocol.handler.pkgs" );
            if( pkgs == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
Back to top