Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 139 for catch (0.06 sec)

  1. src/main/java/jcifs/pac/kerberos/KerberosApRequest.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);
            }
            return sequence;
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Oct 02 12:02:06 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

                    if ( dirents[ i ].getType() == SmbConstants.TYPE_NAMED_PIPE ) {
                        continue;
                    }
                }
                catch ( SmbAuthException sae ) {
                    log.warn("Auth failed", sae);
                }
                catch ( SmbException se ) {
                    log.warn("Connection failed", se);
                    if ( se.getNtStatus() != NtStatus.NT_STATUS_UNSUCCESSFUL ) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 21.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/spnego/NegTokenInit.java

                der.writeObject(derApplicationSpecific);
                return collector.toByteArray();
            }
            catch ( IOException ex ) {
                throw new IllegalStateException(ex.getMessage());
            }
        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags = openFlags;
            this.access = (openFlags >>> 16) & 0xFFFF;
            if( append ) {
                try {
                    fp = file.length();
                } catch( SmbAuthException sae ) {
                    throw sae;
                } catch( SmbException se ) {
                    fp = 0L;
                }
            }
            if( file instanceof SmbNamedPipe && file.unc.startsWith( "\\pipe\\" )) {
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 9.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    }
                }
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e1 ) {
                log.debug("Ignoring invalid initial token", e1);
            }
    
            try {
                return createContext(tc, targetDomain, host);
            }
            catch ( GSSException e ) {
                throw new SmbException("Context setup failed", e);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                    break;
                } else if (id == id0) {
                    try {
                        return new String(type2token, ri, len, SmbConstants.UNI_ENCODING);
                    } catch (java.io.UnsupportedEncodingException uee) {
                        break;
                    }
                }
                ri += len;
            }
    
            return null;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/pac/PacMac.java

                    return calculateMacHMACAES(usage, key, data);
                }
                else {
                    throw new PACDecodingException("Invalid MAC algorithm");
                }
            }
            catch ( GeneralSecurityException e ) {
                throw new PACDecodingException("Failed to calculate MAC", e);
            }
        }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                LogStream.setLevel( level );
            }
            if( log.level > 2 ) {
                try {
                    Config.store( log, "JCIFS PROPERTIES" );
                } catch( IOException ioe ) {
                }
            }
        }
    
        public void destroy() {
        }
    
        /**
         * This method simply calls <tt>negotiate( req, resp, false )</tt>
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

            int result = -1;
    
            synchronized( lock ) {
                try {
                    while( used == 0 ) {
                        lock.wait();
                    }
                } catch( InterruptedException ie ) {
                    throw new IOException( ie.getMessage() );
                }
                result = pipe_buf[beg_idx] & 0xFF;
                beg_idx = ( beg_idx + 1 ) % pipe_buf.length;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

         * 4 = SMB_COM_DELETE_DIRECTORY
         * 5 = SMB_COM_OPEN_ANDX
         * 6 = SMB_COM_RENAME
         * 7 = SMB_COM_TRANSACTION
         * 8 = SMB_COM_QUERY_INFORMATION
         */
    
        /* All batch limits are single batch only until further notice
         */
    
        private static byte[] batchLimits = {
            1, 1, 1, 1, 1, 1, 1, 1, 0
        };
    
        static {
            String s;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
Back to top