Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for SmbAuthException (0.11 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 );
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 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 {
    
        /**
         * 
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  3. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.4K bytes
    - Viewed (0)
  4. 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
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2K bytes
    - Viewed (0)
  5. 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() )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  6. 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)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  7. 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;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  8. 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
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. 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;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:32:29 UTC 2018
    - 2.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbSessionImpl.java

                            if ( newSessId != curSessId ) {
                                throw new SmbAuthException("Server did not reauthenticate after expiration");
                            }
                        }
                        catch ( SmbAuthException sae ) {
                            throw sae;
                        }
                        catch ( SmbException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
Back to top