Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 207 for isSecure (0.38 sec)

  1. src/main/java/jcifs/smb1/http/NtlmServlet.java

        protected void service(final HttpServletRequest request, final HttpServletResponse response) throws ServletException, IOException {
            UniAddress dc;
            final boolean offerBasic = enableBasic && (insecureBasic || request.isSecure());
            final String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (loadBalance) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmServletTest.java

            ntlmServlet.init(servletConfig);
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.getSession(false)).thenReturn(null);
            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).addHeader("WWW-Authenticate", "Basic realm=\"TestRealm\"");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/api/WebApiRequestTest.java

                return null;
            }
    
            @Override
            public Enumeration<Locale> getLocales() {
                return null;
            }
    
            @Override
            public boolean isSecure() {
                return false;
            }
    
            @Override
            public RequestDispatcher getRequestDispatcher(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmServlet.java

            Address dc;
            final boolean offerBasic = this.enableBasic && (this.insecureBasic || request.isSecure());
            final String msg = request.getHeader("Authorization");
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (this.loadBalance) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  5. src/main/java/org/codelibs/fess/helper/UserInfoHelper.java

        }
    
        /**
         * Determines whether the user identification cookie should be marked as secure.
         * Checks the configured secure setting or examines request headers to detect HTTPS.
         *
         * @return true if the cookie should be secure, false otherwise
         */
        protected boolean isSecureCookie() {
            if (cookieSecure != null) {
                return cookieSecure;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/filter/CorsFilterTest.java

            @Override
            public java.util.Enumeration<java.util.Locale> getLocales() {
                return java.util.Collections.emptyEnumeration();
            }
    
            @Override
            public boolean isSecure() {
                return false;
            }
    
            @Override
            public jakarta.servlet.RequestDispatcher getRequestDispatcher(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.init(filterConfig);
    
            // Test request over insecure connection
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.isSecure()).thenReturn(false);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            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/smb1/http/NtlmHttpFilter.java

            UniAddress dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader("Authorization");
            final boolean offerBasic = enableBasic && (insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (msg.startsWith("NTLM ")) {
                    final HttpSession ssn = req.getSession();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            @Override
            public java.util.Enumeration<java.util.Locale> getLocales() {
                return java.util.Collections.emptyEnumeration();
            }
    
            @Override
            public boolean isSecure() {
                return false;
            }
    
            @Override
            public jakarta.servlet.RequestDispatcher getRequestDispatcher(String path) {
                return null;
            }
    
            @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

            Address dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader("Authorization");
            final boolean offerBasic = this.enableBasic && (this.insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
                if (msg.startsWith("NTLM ")) {
                    final HttpSession ssn = req.getSession();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
Back to top