Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for isSecure (3.75 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.1K bytes
    - Viewed (1)
  4. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  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: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NetworkExplorer.java

                    possibleWorkgroup = false;
                }
            }
    
            msg = req.getHeader("Authorization");
            offerBasic = this.enableBasic && (this.insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
    
                if (msg.startsWith("NTLM ")) {
                    byte[] challenge;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/SearchHelper.java

                final String forwardedProto = request.getHeader("X-Forwarded-Proto");
                if ("https".equalsIgnoreCase(forwardedProto)) {
                    return true;
                }
                return request.isSecure();
            }
            return Constants.TRUE.equalsIgnoreCase(secure);
        }
    
        /**
         * Interface for rewriting search request parameters.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Dec 20 05:56:45 UTC 2025
    - 36.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                    possibleWorkgroup = false;
                }
            }
    
            msg = req.getHeader("Authorization");
            offerBasic = enableBasic && (insecureBasic || req.isSecure());
    
            if (msg != null && (msg.startsWith("NTLM ") || offerBasic && msg.startsWith("Basic "))) {
    
                if (msg.startsWith("NTLM ")) {
                    byte[] challenge;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
Back to top