Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for SmbAuthException (0.22 sec)

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

    package jcifs.smb1.smb1;
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        SmbAuthException( int errcode ) {
            super( errcode, null );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 1.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbAuthException.java

     */
    
    package jcifs.smb;
    
    
    /**
     * The <code>SmbAuthException</code> encapsulates the variety of
     * authentication related error codes returned by an SMB server.
     * <p>
     * See <a href="../../../authhandler.html">jCIFS Exceptions and NtlmAuthenticator</a> for more information about
     * <code>SmbAuthException</code>.
     */
    
    public class SmbAuthException extends SmbException {
    
        /**
         * 
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                    throw (SmbAuthException) ioe;
                }
            }
            return null;
        }
    
    
        protected DfsReferralDataInternal getReferral ( CIFSContext tf, SmbTransportInternal trans, String target, String targetDomain, String targetHost,
                String root, String path ) throws SmbAuthException {
            if ( tf.getConfig().isDfsDisabled() )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

            return url;
        }
        protected final SmbAuthException getRequestingException() {
            return sae;
        }
    
    /**
    Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
     */
    
        public static NtlmPasswordAuthentication
                    requestNtlmPasswordAuthentication( String url, SmbAuthException sae ) {
            if( auth == null ) {
                return null;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmAuthenticator.java

        }
    
    
        protected final String getRequestingURL () {
            return this.url;
        }
    
    
        protected final SmbAuthException getRequestingException () {
            return this.sae;
        }
    
    
        /**
         * Used internally by jCIFS when an <tt>SmbAuthException</tt> is trapped to retrieve new user credentials.
         * 
         * @param url
         * @param sae
         * @return credentials returned by prompt
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/DfsResolver.java

         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
        boolean isTrustedDomain ( CIFSContext tf, String domain ) throws CIFSException;
    
    
        /**
         * Get a connection to the domain controller for a given domain
         * 
         * @param domain
         * @param tf
         * @return connection
         * @throws CIFSException
         * @throws jcifs.smb.SmbAuthException
         */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/SessionTest.java

            try ( SmbResource f = new SmbFile(getTestShareGuestURL(), ctx) ) {
                checkConnection(f);
            }
            catch ( SmbAuthException e ) {
                ignoreAuthFailure(e);
            }
        }
    
    
        protected void ignoreAuthFailure ( SmbAuthException e ) throws SmbAuthException {
            if ( e.getCause() != null && e.getCause() instanceof SmbException
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Dfs.java

                    ioe.printStackTrace(log);
                if (strictView && ioe instanceof SmbAuthException) {
                    throw (SmbAuthException)ioe;
                }
            }
            return null;
        }
        public boolean isTrustedDomain(String domain,
                        NtlmPasswordAuthentication auth) throws SmbAuthException
        {
            HashMap domains = getTrustedDomains(auth);
            if (domains == null)
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbSession.java

     * <tt>NtlmPasswordAuthentication</tt> object against the domain controller
     * specified by the <tt>UniAddress</tt> parameter. If the credentials are
     * 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
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 18.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

            if ( auth != null ) {
                NtlmPasswordAuthenticator newAuth = NtlmAuthenticator
                        .requestNtlmPasswordAuthentication(auth, locationHint, ( error instanceof SmbAuthException ) ? (SmbAuthException) error : null);
                if ( newAuth != null ) {
                    this.creds = newAuth;
                    return true;
                }
            }
            return false;
        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Aug 02 08:32:29 GMT 2018
    - 2.7K bytes
    - Viewed (0)
Back to top