Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for challenge (0.14 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

     */
    fun Headers.parseChallenges(headerName: String): List<Challenge> {
      val result = mutableListOf<Challenge>()
      for (h in 0 until size) {
        if (headerName.equals(name(h), ignoreCase = true)) {
          val header = Buffer().writeUtf8(value(h))
          try {
            header.readChallengeHeader(result)
          } catch (e: EOFException) {
            Platform.get().log("Unable to parse challenge", Platform.WARN, e)
          }
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/NtlmPasswordAuthenticationTest.java

        void testGetPreNTLMResponse() {
            byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
            byte[] response = NtlmPasswordAuthentication.getPreNTLMResponse("password", challenge);
            assertNotNull(response);
            assertEquals(24, response.length);
        }
    
        // Test getNTLMResponse
        @Test
        void testGetNTLMResponse() {
            byte[] challenge = { 1, 2, 3, 4, 5, 6, 7, 8 };
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java

            void testConstructorSetsFields() {
                byte[] challenge = new byte[] { 1, 2, 3 };
                UniAddress dc = mock(UniAddress.class);
    
                NtlmChallenge nc = new NtlmChallenge(challenge, dc);
    
                assertSame(challenge, nc.challenge);
                assertSame(dc, nc.dc);
            }
    
            @Test
            @DisplayName("Constructor accepts null challenge")
            void testConstructorAcceptsNullChallenge() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmSsp.java

         * @param resp The response.
         * @param challenge The domain controller challenge.
         * @return the authenticated NtlmPasswordAuthentication object
         * @throws IOException If an IO error occurs.
         * @throws ServletException If an error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge)
                throws IOException, ServletException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Authenticator.kt

     * challenge. The proxy authenticator may return either an authenticated request, or null to
     * connect without authentication.
     *
     * ```java
     * for (Challenge challenge : response.challenges()) {
     *   // If this is preemptive auth, use a preemptive credential.
     *   if (challenge.scheme().equalsIgnoreCase("OkHttp-Preemptive")) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return NtlmContext.NTLMSSP_OID.equals(mechanism);
        }
    
        /**
         * Computes the 24 byte ANSI password hash given the 8 byte server challenge.
         *
         * @param tc the CIFS context
         * @param chlng the server challenge
         * @return the hash for the given challenge
         * @throws GeneralSecurityException if a security error occurs
         * @deprecated NTLMv1 is insecure. Use NTLMv2 (LM compatibility level 3 or higher)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/http/NtlmSsp.java

         *            The response.
         * @param challenge
         *            The domain controller challenge.
         * @return credentials passed in the servlet request
         * @throws IOException
         *             If an IO error occurs.
         */
        public NtlmPasswordAuthentication doAuthentication(final CIFSContext tc, final HttpServletRequest req, final HttpServletResponse resp,
                final byte[] challenge) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

                        }
                        dc = chal.dc;
                        challenge = chal.challenge;
                    } else {
                        dc = UniAddress.getByName(domainController, true);
                        challenge = SmbSession.getChallenge(dc);
                    }
    
                    ntlm = NtlmSsp.authenticate(req, resp, challenge);
                    if (ntlm == null) {
                        return null;
    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. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/JcifsEngine.java

         * Generates a Type 3 NTLM message.
         *
         * @param username the username
         * @param password the password
         * @param domain the domain
         * @param workstation the workstation
         * @param challenge the Type 2 challenge message
         * @return the Base64-encoded Type 3 message
         * @throws NTLMEngineException if an NTLM engine error occurs
         * @throws CrawlingAccessException if an error occurs during message generation
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun challenge() {
        var challenge = Challenge("", mapOf("" to ""))
        challenge = Challenge("", "")
        val scheme: String = challenge.scheme
        val authParams: Map<String?, String> = challenge.authParams
        val realm: String? = challenge.realm
        val charset: Charset = challenge.charset
        val utf8: Challenge = challenge.withCharset(Charsets.UTF_8)
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 46.5K bytes
    - Viewed (0)
Back to top