Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 176 for exception (0.25 sec)

  1. src/main/java/jcifs/http/Handler.java

                        }
                        catch ( Exception ex ) {
                            log.debug("Failed to initialize handler " + className, ex);
                        }
                        if ( handler != null )
                            break;
                    }
                }
                if ( handler == null ) {
                    throw new IOException("Unable to find default handler for protocol: " + protocol);
    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)
  2. src/test/java/jcifs/tests/PACTest.java

            Assert.assertEquals(expect, Hexdump.toHexString(expanded).toLowerCase(Locale.ROOT));
        }
    
    
    
        @Test
        public void testParseSPENGOToken() throws Exception {
            /*
            negTokenInit
        mechTypes: 2 items
            MechType: 1.2.840.113554.1.2.2 (KRB5 - Kerberos 5)
            MechType: 1.2.840.48018.1.2.2 (MS KRB5 - Microsoft Kerberos 5)
        Padding: 6
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SigningDigest.java

                    System.arraycopy(auth.getUnicodeHash(transport.server.encryptionKey),
                                0, macSigningKey, 16, 24);
                    break;
                }
            } catch( Exception ex ) {
                throw new SmbException( "", ex );
            }
            if( log.level >= 5 ) {
                log.println( "LM_COMPATIBILITY=" + LM_COMPATIBILITY );
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/WatchTest.java

        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            this.executor = Executors.newSingleThreadExecutor();
            this.base = createTestDirectory();
        }
    
    
        @Override
        @After
        public void tearDown () throws Exception {
            if ( this.executor != null ) {
                this.executor.shutdown();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/FileAttributesTest.java

                    }
                    catch ( Exception e ) {
                        // ignore
                    }
                    try {
                        f.delete();
                    } catch ( Exception e ) {
                        // ignore
                    }
                }
            }
        }
    
    
        @Test
        public void testGetACL () throws IOException {
            try ( SmbFile f = getDefaultShareRoot() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

     * not accepted, an <tt>SmbAuthException</tt> will be thrown. If an error
     * occurs an <tt>SmbException</tt> will be thrown. If the credentials are
     * valid, the method will return without throwing an exception. See the
     * last <a href="../../../faq.html">FAQ</a> question.
     * <p>
     * See also the <tt>jcifs.smb1.smb1.client.logonShare</tt> property.
     */
        public static void logon( UniAddress dc,
    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)
  7. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    try {
                        KerberosPrincipal entry = (KerberosPrincipal) ite.next();
                        return entry.getRealm();
                    }
                    catch ( Exception e ) {
                        continue;
                    }
                }
            }
    
            if ( this.realm != null ) {
                return this.realm;
            }
    
            return super.getUserDomain();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

        // Added by cgross to work with weblogic 6.1.
        /**
         * @param f
         */
        public void setFilterConfig ( FilterConfig f ) {
            try {
                init(f);
            }
            catch ( Exception e ) {
                e.printStackTrace();
            }
        }
    
    
        /**
         * @return filter config
         */
        public FilterConfig getFilterConfig () {
            return null;
        }
    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)
  9. src/test/java/jcifs/tests/DfsTest.java

            if ( dfsTargetServer != null ) {
                return dfsTargetServer;
            }
            return getTestServer();
        }
    
    
        @Override
        @Before
        public void setUp () throws Exception {
            super.setUp();
            Assume.assumeFalse(getContext().getConfig().isDfsDisabled());
        }
    
    
        @Test
        public void resolveDC () throws CIFSException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/SingletonContext.java

         * required to use SMB URLs with the <tt>java.net.URL</tt> class. If this
         * method is not called before attempting to create an SMB URL with the
         * URL class the following exception will occur:
         * <blockquote>
         * 
         * <pre>
         * Exception MalformedURLException: unknown protocol: smb
         *     at java.net.URL.&lt;init&gt;(URL.java:480)
         *     at java.net.URL.&lt;init&gt;(URL.java:376)
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jun 01 08:53:08 GMT 2019
    - 4.2K bytes
    - Viewed (0)
Back to top