Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 85 for reqheader (1.39 sec)

  1. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            when(request.getHeader("Authorization")).thenReturn(null);
            when(httpSession.getAttribute("NtlmHttpAuth")).thenReturn(null);
    
            filter.doFilter(request, response, filterChain);
    
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            verify(response).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/http/NtlmSspTest.java

            // Setup: No "Authorization" header
            when(mockRequest.getHeader("Authorization")).thenReturn(null);
    
            // Execute
            NtlmPasswordAuthentication result = NtlmSsp.authenticate(mockCifsContext, mockRequest, mockResponse, challenge);
    
            // Verify
            assertNull(result, "Authentication result should be null");
            verify(mockResponse).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NtlmSsp.java

        public static NtlmPasswordAuthentication authenticate(final CIFSContext tc, final HttpServletRequest req,
                final HttpServletResponse resp, final byte[] challenge) throws IOException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  4. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

          name = "test",
          tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
          tag = 16L,
        ) {
          derWriter.write(
            name = "test",
            tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
            tag = 21L,
          ) {
            derWriter.writeOctetString("Smith".encodeUtf8())
          }
    
          derWriter.write(
            name = "test",
            tagClass = DerHeader.TAG_CLASS_UNIVERSAL,
            tag = 1L,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 31.7K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

       *  * The stream is exhausted.
       *  * We've read all of the bytes of an object whose length is known.
       *  * We've reached the [DerHeader.TAG_END_OF_CONTENTS] of an object whose length is unknown.
       */
      fun peekHeader(): DerHeader? {
        var result = peekedHeader
    
        if (result == null) {
          result = readHeader()
          peekedHeader = result
        }
    
        if (result.isEndOfData) return null
    
        return result
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NetworkExplorerTest.java

            initializeNetworkExplorer(false, "jCIFS");
    
            when(request.getHeader("Authorization")).thenReturn(null);
    
            networkExplorer.doGet(request, response);
    
            verify(response).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response).flushBuffer();
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  8. mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/KotlinSourceModernTest.kt

        mockResponse = mockResponse.addHeader("")
        mockResponse = mockResponse.addHeader("", "")
        mockResponse = mockResponse.addHeaderLenient("", Any())
        mockResponse = mockResponse.setHeader("", Any())
        mockResponse.headers = headersOf()
        mockResponse.trailers = headersOf()
        mockResponse = mockResponse.removeHeader("")
        var body: Buffer? = mockResponse.getBody()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmSsp.java

         */
        public static NtlmPasswordAuthentication authenticate(final HttpServletRequest req, final HttpServletResponse resp,
                final byte[] challenge) throws IOException, ServletException {
            String msg = req.getHeader("Authorization");
            if (msg != null && msg.startsWith("NTLM ")) {
                final byte[] src = Base64.decode(msg.substring(5));
                if (src[8] == 1) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/api/WebApiManagerTest.java

            TestFilterChain chain = new TestFilterChain();
    
            manager.process(request, response, chain);
    
            assertEquals("application/json", response.getHeader("Content-Type"));
            assertEquals("no-cache", response.getHeader("Cache-Control"));
        }
    
        public void test_matches_withPatternMatching() throws IOException, ServletException {
            // Test regex pattern matching
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 26.6K bytes
    - Viewed (0)
Back to top