Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for realm (0.05 sec)

  1. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Basic realm = \"myrealm\",Basic realm=myotherrealm")
            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Basic", mapOf("realm" to "myrealm")),
          Challenge("Basic", mapOf("realm" to "myotherrealm")),
        )
      }
    
      @Test fun separatorsBeforeFirstAuthParam() {
        val headers =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Challenge.kt

    ) {
      /**
       * Returns the auth params, including [realm] and [charset] if present, but as
       * strings. The map's keys are lowercase and should be treated case-insensitively.
       */
      @get:JvmName("authParams")
      val authParams: Map<String?, String>
    
      /** Returns the protection space. */
      @get:JvmName("realm")
      val realm: String?
        get() = authParams["realm"]
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java

        /**
         * Creates a new class realm with the specified parent and imports.
         *
         * @param baseRealmId The base id to use for the new realm, must not be {@code null}.
         * @param type The type of the class realm, must not be {@code null}.
         * @param parent The parent realm for the new realm, may be {@code null}.
         * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         * @param plugin The plugin for which to create a realm, must not be {@code null}.
         * @param parent The parent realm for the new realm, may be {@code null}.
         * @param parentImports The packages/types to import from the parent realm, may be {@code null}.
         * @param foreignImports The packages/types to import from foreign realms, may be {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

            /**
             * A class realm for a build extension.
             */
            Extension,
    
            /**
             * A class realm for a plugin.
             */
            Plugin,
        }
    
        /**
         * Gets the type of the class realm.
         *
         * @return The type of the class realm, never {@code null}.
         */
        RealmType getType();
    
        /**
         * Gets the parent class realm (if any).
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                    ClassRealm realm = entry.getClassRealm();
                    for (String exportedPackage : exportedPackages) {
                        extRealm.importFrom(realm, exportedPackage);
                    }
                    if (exportedPackages.isEmpty()) {
                        // sisu uses realm imports to establish component visibility
                        extRealm.importFrom(realm, realm.getId());
                    }
                }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  7. docs/sts/keycloak.md

      "http://localhost:8080/auth/realms/{realm}/protocol/openid-connect/token"
    ```
    
    The result will be a JSON document. To invoke the API you need to extract the value of the access_token property. You can then invoke the API by including the value in the Authorization header of requests to the API.
    
    The following example shows how to get the details of the user with `{userid}` from `{realm}` realm:
    
    ```
    curl \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  8. internal/config/identity/openid/provider/keycloak.go

    func WithAdminURL(url string) Option {
    	return func(p *KeycloakProvider) {
    		p.adminURL = url
    	}
    }
    
    // WithRealm provide realm configuration for Keycloak
    func WithRealm(realm string) Option {
    	return func(p *KeycloakProvider) {
    		p.realm = realm
    	}
    }
    
    // KeyCloak initializes a new keycloak provider
    func KeyCloak(opts ...Option) (Provider, error) {
    	p := &KeycloakProvider{}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Jul 14 18:12:07 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/http/NtlmServlet.java

            insecureBasic = Boolean.valueOf(
                    Config.getProperty("jcifs.smb1.http.insecureBasic")).booleanValue();
            realm = Config.getProperty("jcifs.smb1.http.basicRealm");
            if (realm == null) realm = "jCIFS";
        }
    
        protected void service(HttpServletRequest request,
                HttpServletResponse response) throws ServletException, IOException {
            UniAddress dc;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 6.8K bytes
    - Viewed (0)
  10. tests/test_security_http_basic_realm_description.py

        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    
    
    def test_security_http_basic_invalid_credentials():
        response = client.get(
            "/users/me", headers={"Authorization": "Basic notabase64token"}
        )
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == 'Basic realm="simple"'
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top