Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for SmbAuthException (0.42 sec)

  1. src/test/java/jcifs/smb/DfsImplTest.java

        @Test
        void testIsTrustedDomain_DfsDisabled() throws SmbAuthException {
            // Scenario: DFS is disabled in the configuration.
            when(mockConfig.isDfsDisabled()).thenReturn(true);
            assertFalse(dfsImpl.isTrustedDomain(mockContext, "anydomain.com"));
        }
    
        @Test
        void testIsTrustedDomain_NoUserDomain() throws SmbAuthException {
            // Scenario: The user credentials do not specify a domain.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java

        /**
         * Gets the authentication exception that triggered this request.
         * @return the authentication exception
         */
        protected final SmbAuthException getRequestingException() {
            return sae;
        }
    
        /**
         * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials.
         * @param url the URL that requires authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

                            newSessId = response.getSessionId();
    
                            if (newSessId != curSessId) {
                                throw new SmbAuthException("Server did not reauthenticate after expiration");
                            }
                        } catch (SmbAuthException sae) {
                            throw sae;
                        } catch (SmbException e) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

    package jcifs.context;
    
    import jcifs.CIFSContext;
    import jcifs.Credentials;
    import jcifs.smb.CredentialsInternal;
    import jcifs.smb.NtlmAuthenticator;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbRenewableCredentials;
    
    /**
     * Context wrapper supplying alternate credentials
     *
     * @author mbechler
     *
     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbSession.java

         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
         * not accepted, an <code>SmbAuthException</code> will be thrown. If an error
         * occurs an <code>SmbException</code> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/SmbTransportPool.java

         * <code>NtlmPasswordAuthentication</code> object against the domain controller
         * specified by the <code>UniAddress</code> parameter. If the credentials are
         * not accepted, an <code>SmbAuthException</code> will be thrown. If an error
         * occurs an <code>SmbException</code> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/DfsResolver.java

         * @param tf the CIFS context containing configuration and credentials
         * @return the final referral for the given DFS path
         * @throws CIFSException if an error occurs during resolution
         * @throws jcifs.smb.SmbAuthException if authentication fails
         */
        DfsReferralData resolve(CIFSContext tf, String domain, String root, String path) throws CIFSException;
    
        /**
         * Add a referral to the cache
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

    import jakarta.servlet.http.HttpSession;
    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NtlmServlet.java

    import jcifs.CIFSException;
    import jcifs.Config;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    
    /**
     * This servlet may be used with pre-2.3 servlet containers
     * to protect content with NTLM HTTP Authentication. Servlets that
     * extend this abstract base class may be authenticated against an SMB
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

                final SmbTreeImpl t, final DfsReferralData referral, final SmbAuthException sae) throws SmbAuthException, CIFSException {
            try (SmbSessionImpl treesess = t.getSession()) {
                if (treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest()) {
                    // refresh anonymous session or fallback to anonymous from guest login
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
Back to top