Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 81 for challenges (0.09 seconds)

  1. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupResponse.java

    import jcifs.internal.smb2.ServerMessageBlock2Response;
    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtStatus;
    
    /**
     * SMB2 Session Setup response message. This response contains the server's authentication
     * challenge or confirms successful session establishment.
     *
     * @author mbechler
     *
     */
    public class Smb2SessionSetupResponse extends ServerMessageBlock2Response {
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.8K bytes
    - Click Count (1)
  2. src/main/java/org/codelibs/fess/app/web/sso/SsoAction.java

         *
         * This method handles the primary SSO authentication flow. It checks if a user
         * is already logged in, attempts SSO authentication, and handles various
         * authentication scenarios including success, failure, and challenge responses.
         *
         * @return ActionResponse directing to the appropriate page based on authentication result
         */
        @Execute
        public ActionResponse index() {
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            verify(pooledSpy).disconnect(false, false);
            verify(nonPooledSpy).disconnect(false, false);
        }
    
        @Test
        @DisplayName("Should get challenge from server")
        void testGetChallenge() throws Exception {
            // Given: Mock transport with server key
            byte[] expectedKey = { 1, 2, 3, 4 };
    
            SmbTransportPoolImpl poolSpy = spy(pool);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 19.2K bytes
    - Click Count (0)
  4. src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java

            // This simplified test just verifies the initial handshake detection
        }
    
        /**
         * Test handshake failure when the server does not return an NTLM challenge.
         * @throws IOException
         */
        @Test
        void testHandshakeFails_NoNtlmChallenge() throws IOException {
            // Arrange
            mockResponse(HTTP_UNAUTHORIZED, "Unauthorized",
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *
       *  * A stale connection. The request was made on a reused connection and that reused connection
       *    has since been closed by the server.
       *  * A client timeout (HTTP 408).
       *  * A authorization challenge (HTTP 401 and 407) that is satisfied by the [Authenticator].
       *  * A retryable server failure (HTTP 503 with a `Retry-After: 0` response header).
       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            final long expiration = System.currentTimeMillis() + Dfs.TTL * 1000;
    
            int di = 0;
            for (;;) {
                /* NTLM HTTP Authentication must be re-negotiated
                 * with challenge from 'server' to access DFS vol. */
                dr.resolveHashes = auth.hashesExternal;
                dr.ttl = resp.referrals[di].ttl;
                dr.expiration = expiration;
                if (path.equals("")) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 31.8K bytes
    - Click Count (0)
  7. docs/changelogs/upgrading_to_okhttp_4.md

     * **Cache**: directory
     * **CacheControl**: immutable, maxAgeSeconds, maxStaleSeconds, minFreshSeconds, mustRevalidate,
       noCache, noStore, noTransform, onlyIfCached, sMaxAgeSeconds
     * **Challenge**: authParams, charset, realm, scheme
     * **CipherSuite**: javaName
     * **ConnectionSpec**: cipherSuites, supportsTlsExtensions, tlsVersions
     * **Cookie**: domain, expiresAt, hostOnly, httpOnly, name, path, persistent, value
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Click Count (0)
  8. fastapi/security/api_key.py

            include a WWW-Authenticate header.
    
            Ref: https://datatracker.ietf.org/doc/html/rfc9110#name-401-unauthorized
    
            For this, this method sends a custom challenge `APIKey`.
            """
            return HTTPException(
                status_code=HTTP_401_UNAUTHORIZED,
                detail="Not authenticated",
                headers={"WWW-Authenticate": "APIKey"},
            )
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 9.6K bytes
    - Click Count (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

              call: Call,
              response: Response,
            ) {
              responses.offer(response.body.string())
            }
          }
    
        // Make the first request waiting until we get our auth challenge.
        val request = Request(server.url("/"))
        blockingAuthClient.newCall(request).enqueue(callback)
        val response1 = responses.take()
        assertThat(response1).isEqualTo("")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Sat Nov 01 12:18:11 GMT 2025
    - 67.4K bytes
    - Click Count (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .code(responseCode)
            .body("ABCDE")
            .addHeader("WWW-Authenticate: challenge")
        when (responseCode) {
          HttpURLConnection.HTTP_PROXY_AUTH -> {
            builder.addHeader("Proxy-Authenticate: Basic realm=\"protected area\"")
          }
    
          HttpURLConnection.HTTP_UNAUTHORIZED -> {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
Back to Top