Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for Challenge (0.06 sec)

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

        @Mock
        private HttpServletRequest mockRequest;
    
        @Mock
        private HttpServletResponse mockResponse;
    
        private NtlmSsp ntlmSsp;
    
        // A sample challenge array
        private final byte[] challenge = new byte[] { 0x01, 0x23, 0x45, 0x67, (byte) 0x89, (byte) 0xab, (byte) 0xcd, (byte) 0xef };
    
        // Base64 encoded Type 1 message: NTLMSSP, Type 1, flags=0x00088207
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

        private Type2Message createMockType2Message() {
            // Create a basic Type 2 message with challenge
            byte[] challenge = new byte[8];
            new SecureRandom().nextBytes(challenge);
    
            int flags = NtlmFlags.NTLMSSP_NEGOTIATE_UNICODE | NtlmFlags.NTLMSSP_NEGOTIATE_NTLM;
    
            return new Type2Message(createMockContext(), flags, challenge, "TARGET");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. 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)
  4. src/main/java/jcifs/http/NtlmHttpFilter.java

                        }
                        dc = chal.dc;
                        challenge = chal.challenge;
                    } else {
                        dc = getTransportContext().getNameServiceClient().getByName(this.domainController, true);
                        challenge = getTransportContext().getTransportPool().getChallenge(getTransportContext(), dc);
                    }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/ntlm/SmbjEngine.java

         * @param workstation The workstation.
         * @param challenge The Type 2 challenge message.
         * @return The Type 3 message.
         * @throws NTLMEngineException if an NTLM engine error occurs.
         */
        @Override
        public String generateType3Msg(final String username, final String password, final String domain, final String workstation,
                final String challenge) throws NTLMEngineException {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt

       * auth param in the challenge at key null. Invalid headers and challenges are ignored.
       * No semantic validation is done, for example that `Basic` auth must have a `realm`
       * auth param, this is up to the caller that interprets these challenges.
       */
      fun challenges(): List<Challenge> {
        return headers.parseChallenges(
          when (code) {
            HTTP_UNAUTHORIZED -> "WWW-Authenticate"
            HTTP_PROXY_AUTH -> "Proxy-Authenticate"
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 14:39:28 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/SmbTransportPoolTest.java

            }
    
            @Test
            @DisplayName("Should handle exception when getting challenge")
            void testGetChallengeException() throws CIFSException {
                // Given
                when(transportPool.getChallenge(context, address)).thenThrow(new CIFSException("Failed to get challenge"));
    
                // When & Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/AuthenticationProvider.java

         * Authenticates using the provided context
         *
         * @param context the CIFS context
         * @param challenge the server challenge (may be null for some auth types)
         * @return authentication response data
         * @throws CIFSException if authentication fails
         */
        byte[] authenticate(CIFSContext context, byte[] challenge) throws CIFSException;
    
        /**
         * Gets the session key after successful authentication
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  9. docs/features/calls.md

    If the response issues an authorization challenge, OkHttp will ask the [`Authenticator`](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-authenticator/) (if one is configured) to satisfy the challenge. If the authenticator supplies a credential, the request is retried with that credential included.
    
    ## Retrying Requests
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/SmbTransportPool.java

         */
        @Deprecated
        void logon(CIFSContext tc, Address dc, int port) throws CIFSException;
    
        /**
         * Get NTLM challenge from a server
         *
         * @param dc the domain controller address
         * @param tc the CIFS context containing credentials
         * @return NTLM challenge
         * @throws CIFSException if an error occurs during authentication
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
Back to top