Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 118 for Basic2 (0.03 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x05) // Literal value (len = 5)
        bytesIn.writeUtf8("Basic")
        bytesIn.writeByte(0x7e)
        bytesIn.writeByte(0x06) // Literal value (len = 6)
        bytesIn.writeUtf8("Basic2")
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.getAndResetHeaderList()).containsExactly(
          Header("custom-foo", "Basic"),
          Header("custom-foo", "Basic2"),
        )
      }
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  2. 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 Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 16.8K 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

        /** Configuration key for allowing unsecure basic authentication. */
        protected static final String SPNEGO_ALLOW_UNSECURE_BASIC = "spnego.allow.unsecure.basic";
    
        /** Configuration key for allowing basic authentication. */
        protected static final String SPNEGO_ALLOW_BASIC = "spnego.allow.basic";
    
        /** Configuration key for pre-authentication password. */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 17.8K bytes
    - Viewed (3)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/http/NetworkExplorer.java

        private String style;
        /** Flag indicating if credentials were supplied */
        private boolean credentialsSupplied;
        /** Flag to enable basic authentication */
        private boolean enableBasic;
        /** Flag to allow insecure basic authentication */
        private boolean insecureBasic;
        /** The authentication realm */
        private String realm;
        /** The default domain for authentication */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/http/NetworkExplorerTest.java

        }
    
        /**
         * Test Basic authentication when enabled
         */
        @Test
        void testDoGet_BasicAuth() throws Exception {
            // Initialize with Basic auth enabled
            initializeNetworkExplorer(true, "TestRealm");
    
            // Test with no auth - should request Basic
            when(request.getHeader("Authorization")).thenReturn(null);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
Back to top