Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 252 for authenticate (0.09 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      @ArgumentsSource(ProtocolParamProvider::class)
      fun authenticate(
        protocol: Protocol,
        mockWebServer: MockWebServer,
      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse(
            code = HttpURLConnection.HTTP_UNAUTHORIZED,
            headers = headersOf("www-authenticate", "Basic realm=\"protected area\""),
            body = "Please authenticate.",
          ),
        )
        server.enqueue(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  2. docs/sts/keycloak.md

    ### Enable Keycloak Admin REST API support
    
    Before being able to authenticate against the Admin REST API using a client_id and a client_secret you need to make sure the client is configured as it follows:
    
    - `account` client_id is a confidential client that belongs to the realm `{realm}`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  3. docs/security/README.md

    - [EK](#ek): An external secret key - either the SSE-C client-provided key or a secret key generated by the KMS.
    
    #### Content Encryption
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Feb 12 00:51:25 UTC 2022
    - 13.8K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/conf/settings.xml

         |
        <server>
          <id>deploymentRepo</id>
          <username>repouser</username>
          <password>repopwd</password>
        </server>
        -->
    
        <!-- Another sample, using keys to authenticate.
        <server>
          <id>siteServer</id>
          <privateKey>/path/to/private/key</privateKey>
          <passphrase>optional; leave empty if not used.</passphrase>
        </server>
        -->
      </servers>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 24 15:53:41 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        val heldCertificate: HeldCertificate = builder.build()
      }
    
      @Test
      fun javaNetAuthenticator() {
        val authenticator = JavaNetAuthenticator()
        val response = Response.Builder().build()
        var request: Request? = authenticator.authenticate(factory.newRoute(), response)
        request = authenticator.authenticate(null, response)
      }
    
      @Test
      fun javaNetCookieJar() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/HcHttpClient.java

                }
            }
    
            formSchemeList.forEach(p -> {
                final FormScheme scheme = p.getFirst();
                final Credentials credentials = p.getSecond();
                scheme.authenticate(credentials, (request, consumer) -> {
    
                    // request header
                    for (final Header header : requestHeaderList) {
                        request.addHeader(header);
                    }
    
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 09 09:29:26 UTC 2024
    - 41K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    throws SmbException, UnknownHostException {
            SmbTransport trans = SmbTransport.getSmbTransport( dc, port );
            trans.connect();
            return trans.server.encryptionKey;
        }
    /**
     * Authenticate arbitrary credentials represented by the
     * <tt>NtlmPasswordAuthentication</tt> object against the domain controller
     * specified by the <tt>UniAddress</tt> parameter. If the credentials are
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x7d) // == Literal indexed ==
        // Indexed name (idx = 60) -> "www-authenticate"
        bytesIn.writeByte(0x05) // Literal value (len = 5)
        bytesIn.writeUtf8("Basic")
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.getAndResetHeaderList())
          .containsExactly(Header("www-authenticate", "Basic"))
      }
    
      @Test
      fun readLiteralHeaderWithIncrementalIndexingDynamicName() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

            .authenticator(authenticator)
            .build()
        executeSynchronously("/")
          .assertCode(401)
        assertThat(authenticator.onlyRoute()).isNotNull()
      }
    
      @Test
      fun delete() {
        server.enqueue(MockResponse(body = "abc"))
        val request =
          Request.Builder()
            .url(server.url("/"))
            .delete()
            .build()
        executeSynchronously(request)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  10. docs/zh/docs/advanced/security/oauth2-scopes.md

    (类 `SecurityScopes` 的)`security_scopes` 对象还提供了单字符串类型的属性 `scope_str`,该属性是(要在本例中使用的)用空格分割的作用域。
    
    此处还创建了后续代码中要复用(`raise`)的 `HTTPException` 。
    
    该异常包含了作用域所需的(如有),以空格分割的字符串(使用 `scope_str`)。该字符串要放到包含作用域的 `WWW-Authenticate` 请求头中(这也是规范的要求)。
    
    ```Python hl_lines="105  107-115"
    {!../../docs_src/security/tutorial005.py!}
    ```
    
    ## 校验 `username` 与数据形状
    
    我们可以校验是否获取了 `username`,并抽取作用域。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top