Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 61 for NtlmPasswordAuthentication (0.34 seconds)

  1. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        }
    
        @SuppressWarnings("deprecation")
        private static boolean isExternalAuth(final NtlmPasswordAuthenticator pwAuth) {
            return pwAuth instanceof jcifs.smb.NtlmPasswordAuthentication
                    && !((jcifs.smb.NtlmPasswordAuthentication) pwAuth).areHashesExternal() && pwAuth.getPassword().isEmpty();
        }
    
        @Override
        protected int writeBytesWireFormat(final byte[] dst, int dstIndex) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                if (auth.hashesExternal && NtlmPasswordAuthentication.DEFAULT_PASSWORD != NtlmPasswordAuthentication.BLANK) {
                                    /* preauthentication
                                     */
                                    transport.getSmbSession(NtlmPasswordAuthentication.DEFAULT)
                                            .getSmbTree(LOGON_SHARE, null)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 20.7K bytes
    - Click Count (0)
  3. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  4. 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)
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.5K bytes
    - Click Count (0)
  6. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            return (capabilities & cap) == cap;
        }
    
        boolean isSignatureSetupRequired(final NtlmPasswordAuthentication auth) {
            return (flags2 & SmbConstants.FLAGS2_SECURITY_SIGNATURES) != 0 && digest == null && auth != NtlmPasswordAuthentication.NULL
                    && !NtlmPasswordAuthentication.NULL.equals(auth);
        }
    
        void ssn139() throws IOException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  8. src/test/java/jcifs/http/NtlmSspTest.java

         * @throws IOException
         */
        @Test
        public void testAuthenticate_Type3Message() throws IOException {
            // Setup: "Authorization" header with a Type 3 message
            when(mockRequest.getHeader("Authorization")).thenReturn("NTLM " + type3MessageBase64);
    
            // Execute
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  9. src/test/java/jcifs/http/NtlmServletTest.java

            ntlmServlet.service(request, response);
    
            ArgumentCaptor<NtlmPasswordAuthentication> authCaptor = ArgumentCaptor.forClass(NtlmPasswordAuthentication.class);
            verify(session).setAttribute(eq("NtlmHttpAuth"), authCaptor.capture());
    
            NtlmPasswordAuthentication capturedAuth = authCaptor.getValue();
            assertEquals("user", capturedAuth.getUsername());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         * @throws ServletException if a servlet error occurs
         */
        protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp,
                final boolean skipAuthentication) throws IOException, ServletException {
            UniAddress dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader("Authorization");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 11.3K bytes
    - Click Count (0)
Back to Top