Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for getDomain (0.1 sec)

  1. src/main/java/jcifs/ntlmssp/Type3Message.java

         *
         * @return A <code>String</code> containing the domain for the user.
         */
        public String getDomain() {
            return this.domain;
        }
    
        /**
         * Sets the domain for this message.
         *
         * @param domain
         *            The domain.
         */
        public void setDomain(final String domain) {
            this.domain = domain;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 32.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NtlmSsp.java

                    byte[] ntResponse = type3.getNTResponse();
                    if (ntResponse == null) {
                        ntResponse = new byte[0];
                    }
                    return new NtlmPasswordAuthentication(type3.getDomain(), type3.getUser(), challenge, lmResponse, ntResponse);
                }
            } else {
                resp.setHeader("WWW-Authenticate", "NTLM");
            }
            resp.setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/DfsTest.java

            Dfs.CacheEntry expiredEntry = new Dfs.CacheEntry(-1); // Expired
            testDfs._domains = expiredEntry;
            testDfs.setDisabled(true); // Set disabled to avoid NullPointerException
    
            when(auth.getDomain()).thenReturn("domain.com");
    
            assertNull(testDfs.getTrustedDomains(auth));
        }
    
        @Test
        void testGetTrustedDomains_Success() throws IOException, SmbAuthException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmServlet.java

                    return;
                }
                final HttpSession ssn = request.getSession();
                ssn.setAttribute("NtlmHttpAuth", ntlm);
                ssn.setAttribute("ntlmdomain", ntlm.getDomain());
                ssn.setAttribute("ntlmuser", ntlm.getUsername());
            } else {
                final HttpSession ssn = request.getSession(false);
                if (ssn == null || ssn.getAttribute("NtlmHttpAuth") == null) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

                    // restores almost everything that was modified, except the path.
                    rpath.setPath(savedPath);
                    rpath.setFullUNCPath(rpath.getDomain(), rpath.getServer(), savedFullPath);
                }
                if (response != null) {
                    response.reset();
                }
    
                try (SmbTreeHandle th = connectWrapException(loc)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/SearchHelperTest.java

            Cookie[] cookies = getMockResponse().getCookies();
            assertTrue(cookies.length > 0);
            assertTrue(cookies[0].getSecure());
            assertEquals("example.com", cookies[0].getDomain());
        }
    
        public void test_storeSearchParameters_withForwardedProto() {
            getMockRequest().addHeader("X-Forwarded-Proto", "https");
            getMockRequest().setParameter("q", "test");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

                }
                throw new SmbException(resp.getErrorCode(), null);
            }
    
            if (req.getDomain() != null && getContext().getConfig().isDfsConvertToFQDN() && dr instanceof DfsReferralDataImpl) {
                ((DfsReferralDataImpl) dr).fixupDomain(req.getDomain());
            }
            if (log.isDebugEnabled()) {
                log.debug("Got referral " + dr);
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

        @Override
        public String getFullUNCPath() {
            return this.fullPath;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getDomain()
         */
        @Override
        public String getDomain() {
            return this.domain;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.RequestWithPath#getServer()
         */
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

            void testFullUNCPathProperties() {
                testBlock.setFullUNCPath("DOMAIN", "SERVER", "\\\\server\\share\\path");
    
                assertEquals("DOMAIN", testBlock.getDomain());
                assertEquals("SERVER", testBlock.getServer());
                assertEquals("\\\\server\\share\\path", testBlock.getFullUNCPath());
            }
    
            @Test
            @DisplayName("Test TID property")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                                        cookie.getName(), encoded.length(), cookie.getMaxAge(), cookie.getPath(), cookie.getDomain(),
                                        cookie.getSecure(), cookie.isHttpOnly(), fessConfig.getCookieSearchParameterSameSite());
                            }
                        });
                    } catch (final Exception e) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 35.8K bytes
    - Viewed (0)
Back to top