Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 139 for catch (0.03 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosTicket.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            Enumeration<?> fields = sequence.getObjects();
            while ( fields.hasMoreElements() ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
                // Only set the alternate port to the port property if it was successful
                int altPort = (port == 0 || port == DEFAULT_PORT) ? 139 : DEFAULT_PORT;
                negotiate( altPort, resp );
                port = altPort;
            } catch( NoRouteToHostException nr ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosRelevantAuthData.java

            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    authSequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            this.authorizations = new ArrayList<>();
            Enumeration<?> authElements = authSequence.getObjects();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SecurityBlob.java

                for ( int i = 0; i < this.b.length; i++ ) {
                    if ( this.b[ i ] != t.b[ i ] ) {
                        return false;
                    }
                }
                return true;
            }
            catch ( Throwable e ) {
                return false;
            }
        }
    
    
        /*
         * (non-Javadoc)
         * 
         * @see java.lang.Object#hashCode()
         */
        @Override
        public int hashCode () {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/pac/kerberos/KerberosEncData.java

                stream.close();
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
            }
    
            ASN1Sequence sequence;
            try {
                sequence = ASN1Util.as(ASN1Sequence.class, derToken.getBaseObject());
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed kerberos ticket", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
        void connect0() throws SmbException {
            try {
                connect();
            } catch( UnknownHostException uhe ) {
                throw new SmbException( "Failed to connect to server", uhe );
            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/netbios/NbtAddress.java

             */
            localInetAddress = CLIENT.laddr;
            if( localInetAddress == null ) {
                try {
                    localInetAddress = InetAddress.getLocalHost();
                } catch( UnknownHostException uhe ) {
                    /* Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/HMACT64.java

            this.opad = hmac.opad;
            this.md5 = (MessageDigest) hmac.md5.clone();
        }
    
    
        @Override
        public Object clone () {
            try {
                return new HMACT64(this);
            }
            catch ( CloneNotSupportedException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected byte[] engineDigest () {
            byte[] digest = this.md5.digest();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    fd.markClosed();
                    return 0;
                }
                return resp.getAvailable();
            }
            catch ( SmbException se ) {
                throw seToIoe(se);
            }
        }
    
    
        @Override
        public void close () {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 07:12:23 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    System.arraycopy(auth.getUnicodeHash(transport.getContext(), serverEncryptionKey), 0, this.macSigningKey, 16, 24);
                    break;
                }
            }
            catch ( Exception ex ) {
                throw new SmbException("", ex);
            }
            if ( log.isTraceEnabled() ) {
                log.trace("LM_COMPATIBILITY=" + transport.getContext().getConfig().getLanManCompatibility());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 10.6K bytes
    - Viewed (0)
Back to top