Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for NtlmPasswordAuthentication (0.18 sec)

  1. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

            return this.context;
        }
    
        @Override
        public NtlmPasswordAuthentication clone() {
            final NtlmPasswordAuthentication cloned = new NtlmPasswordAuthentication();
            cloneInternal(cloned, this);
            return cloned;
        }
    
        /**
         * Clone internal fields from one NtlmPasswordAuthentication to another.
         *
         * @param to the target authentication object to copy to
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NtlmSsp.java

    import jcifs.CIFSContext;
    import jcifs.ntlmssp.NtlmFlags;
    import jcifs.ntlmssp.Type1Message;
    import jcifs.ntlmssp.Type2Message;
    import jcifs.ntlmssp.Type3Message;
    import jcifs.smb.NtlmPasswordAuthentication;
    
    /**
     * This class is used internally by {@code NtlmHttpFilter},
     * {@code NtlmServlet}, and {@code NetworkExplorer} to negotiate password
     * hashes via NTLM SSP with MSIE. It might also be used directly by servlet
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java

            return buf.toString();
        }
    
        /**
         * Returns the NTLM password authentication.
         * @return The NTLM password authentication.
         */
        public NtlmPasswordAuthentication getAuthentication() {
            return new NtlmPasswordAuthentication(domain == null ? "" : domain, username, password);
        }
    
        /**
         * Returns the server address.
         * @return The server address.
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbSessionTest.java

        }
    
        @Test
        void matchesBehavior() {
            // Two distinct auth instances
            NtlmPasswordAuthentication a1 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            NtlmPasswordAuthentication a2 = new NtlmPasswordAuthentication("DOM", "user", "pwd");
            SmbSession s1 = new SmbSession(addr, 445, inet, 0, a1);
            SmbSession s2 = new SmbSession(addr, 445, inet, 0, a2);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        @Test
        void testEquals() {
            NtlmPasswordAuthentication auth1 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            NtlmPasswordAuthentication auth2 = new NtlmPasswordAuthentication("DOMAIN", "user", "password");
            NtlmPasswordAuthentication auth3 = new NtlmPasswordAuthentication("DOMAIN", "user", "different_password");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComSessionSetupAndXTest.java

    class SmbComSessionSetupAndXTest {
    
        @Mock
        private SmbSession mockSession;
        @Mock
        private SmbTransport mockTransport;
        @Mock
        private ServerMessageBlock mockAndx;
        @Mock
        private NtlmPasswordAuthentication mockAuth;
    
        private SmbComSessionSetupAndX setupAndX;
    
        @BeforeEach
        void setUp() throws Exception {
            MockitoAnnotations.openMocks(this);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbTransportPool.java

         *
         */
        boolean close() throws CIFSException;
    
        /**
         * Authenticate arbitrary credentials represented by the
         * <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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmServlet.java

    import jakarta.servlet.http.HttpServletResponse;
    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
    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/smb1/http/NtlmSsp.java

         * @param resp The response.
         * @param challenge The domain controller challenge.
         * @return the authenticated NtlmPasswordAuthentication object
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsTest.java

            }
    
            @Override
            public HashMap getTrustedDomains(NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled || auth.domain == "?")
                    return null;
                return super.getTrustedDomains(auth);
            }
    
            @Override
            public SmbTransport getDc(String domain, NtlmPasswordAuthentication auth) throws SmbAuthException {
                if (disabled)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top