Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for NtlmPasswordAuthentication (0.32 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. 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)
  3. 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());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

                    resp.setContentType("text/html");
                }
            };
    
            networkExplorer.init(servletConfig);
    
            // Setup authentication
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), "DOMAIN", "user", "pass");
            when(session.getAttribute("npa-workgroup")).thenReturn(auth);
            when(request.getPathInfo()).thenReturn("/workgroup/server/share/");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  6. 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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (1)
  7. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            Properties props = new Properties();
            props.setProperty("jcifs.smb.client.domain", "TEST_DOMAIN");
            CIFSContext context = new BaseContext(new PropertyConfiguration(props));
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(context, "TEST_DOMAIN", "user", "pass");
    
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(auth);
    
            filter.doFilter(request, response, filterChain);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/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 {
            Address dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader("Authorization");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

                } catch (final UnknownHostException uhe) {
                    NtlmPasswordAuthentication.initDefaults();
                    if (NtlmPasswordAuthentication.DEFAULT_DOMAIN.equals("?")) {
                        throw uhe;
                    }
                    addresses = UniAddress.getAllByName(NtlmPasswordAuthentication.DEFAULT_DOMAIN, true);
                }
            } else if (path.length() == 0 || path.equals("/")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return d ? this.domain + "\\" + this.username : this.username;
        }
    
        /**
         * Compares two <code>NtlmPasswordAuthentication</code> objects for equality.
         *
         * Two <code>NtlmPasswordAuthentication</code> objects are equal if their caseless domain and username fields are equal
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
Back to top