Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,157 for basic (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/HeadersChallengesTest.kt

            .add("WWW-Authenticate", "Basic realm=myrealm")
            .add("WWW-Authenticate", "Basic realm=myotherrealm")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Basic", mapOf("realm" to "myrealm")),
          Challenge("Basic", mapOf("realm" to "myotherrealm")),
        )
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/toolchain/DefaultToolchainManagerTest.java

            Session sessionv4 = mock(Session.class);
            when(session.getSession()).thenReturn(sessionv4);
    
            // execute
            ToolchainPrivate[] basics = toolchainManager.getToolchainsForType("basic", session);
    
            // verify
            assertEquals(0, basics.length);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 11K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                assertEquals(2000000L, basicInfo.getLastWriteTime());
                assertEquals(0L, basicInfo.getSize()); // Basic info always returns 0 for size
            }
    
            @Test
            @DisplayName("Should generate correct toString for basic info")
            void testBasicInfoToString() {
                Trans2QueryPathInformationResponse.SmbQueryFileBasicInfo basicInfo = response.new SmbQueryFileBasicInfo();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/DataIndexHelperTest.java

        }
    
        public void test_basic_functionality() {
            // Basic functionality test without complex operations
            try {
                List<String> emptyIds = new ArrayList<>();
                dataIndexHelper.crawl("basic-test", emptyIds);
                assertTrue("Basic functionality should be fast", true);
            } catch (Exception e) {
                assertTrue("Basic functionality should handle exceptions quickly", true);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        url = server.url("/api/login?user=test_user&authentication=basic&password=confidential_password")
        val networkInterceptor =
          HttpLoggingInterceptor(networkLogs).setLevel(
            Level.BASIC,
          )
        networkInterceptor.redactQueryParams("user", "passWord")
    
        val applicationInterceptor =
          HttpLoggingInterceptor(applicationLogs).setLevel(
            Level.BASIC,
          )
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

         */
        private byte[] createLargeBufferForContexts() {
            byte[] buffer = new byte[1024]; // Large enough for contexts
    
            // Copy basic structure
            byte[] basic = createBasicNegotiateResponseBuffer();
            System.arraycopy(basic, 0, buffer, 0, basic.length);
    
            return buffer;
        }
    
        /**
         * Creates a completely valid negotiate response buffer for positive testing.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmServletTest.java

                verify(session, never()).setAttribute(anyString(), any());
            }
        }
    
        /**
         * Test the service method with a valid Basic Authorization header.
         * Simulates a successful Basic authentication.
         * @throws ServletException
         * @throws IOException
         * @throws CIFSException
         */
        @Test
        void testService_BasicAuth_Success() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/http/NtlmHttpFilterTest.java

            filter.doFilter(request, response, filterChain);
    
            // Should only offer NTLM, not Basic auth
            verify(response).setHeader("WWW-Authenticate", "NTLM");
            verify(response, never()).addHeader(eq("WWW-Authenticate"), eq("Basic realm=\"TestRealm\""));
        }
    
        @Test
        void testDoFilter_ntlmType1Message() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
     * MSIE clients using NTLM SSP. This is similar to {@code Authentication:
     * BASIC} but weakly encrypted and without requiring the user to re-supply
     * authentication credentials.
     * <p>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

         * This is a simplified test that verifies the basic flow without full NTLM protocol simulation.
         * @throws IOException
         * @throws SecurityException
         */
        @Test
        void testSuccessfulHandshake() throws IOException, SecurityException {
            // This test is simplified to verify basic handshake behavior
            // Full NTLM handshake testing would require more complex mocking
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.6K bytes
    - Viewed (0)
Back to top