Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 498 for realm (0.06 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/SecuredHandlerCollection.groovy

            if (realm != null) {
                assert realm.username == username
                assert realm.password == password
                authenticationScheme.handler.addConstraint(securityHandler, path)
            } else {
                realm = new TestUserRealm(username, password)
                securityHandler = authenticationScheme.handler.createSecurityHandler(path, realm)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-embedder/src/main/java/org/apache/maven/cli/internal/BootstrapCoreExtensionManager.java

                    + extension.getVersion();
            final ClassRealm realm = classWorld.newRealm(realmId, null);
            Set<String> providedArtifacts = Collections.emptySet();
            String classLoadingStrategy = extension.getClassLoadingStrategy();
            if (STRATEGY_PARENT_FIRST.equals(classLoadingStrategy)) {
                realm.importFrom(parentRealm, "");
            } else if (STRATEGY_PLUGIN.equals(classLoadingStrategy)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jun 12 07:49:10 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. fastapi/security/http.py

            self.realm = realm
            self.auto_error = auto_error
    
        async def __call__(  # type: ignore
            self, request: Request
        ) -> Optional[HTTPBasicCredentials]:
            authorization = request.headers.get("Authorization")
            scheme, param = get_authorization_scheme_param(authorization)
            if self.realm:
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Apr 19 15:29:38 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/AuthScheme.groovy

                        if (!(auth instanceof Authentication.User)) {
                            res.setHeader(HttpHeader.WWW_AUTHENTICATE.asString(), "basic realm=\"" + _loginService.getName() + '"')
                            res.sendError(HttpServletResponse.SC_NOT_FOUND)
                            return Authentication.SEND_CONTINUE
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. pkg/bootstrap/instance_test.go

    			if err = protomarshal.Unmarshal(read, realM); err != nil {
    				t.Fatalf("invalid json %v\n%s", err, string(read))
    			}
    
    			if err = realM.Validate(); err != nil {
    				t.Fatalf("invalid generated file %s: %v", c.base, err)
    			}
    
    			checkStatsMatcher(t, realM, goldenM, c.stats)
    
    			if c.check != nil {
    				c.check(realM, t)
    			}
    
    			checkOpencensusConfig(t, realM, goldenM)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  6. internal/config/identity/openid/providercfg.go

    	}
    	var err error
    	switch vendor {
    	case keyCloakVendor:
    		adminURL := cfgGet(KeyCloakAdminURL)
    		realm := cfgGet(KeyCloakRealm)
    		p.provider, err = provider.KeyCloak(
    			provider.WithAdminURL(adminURL),
    			provider.WithOpenIDConfig(provider.DiscoveryDoc(p.DiscoveryDoc)),
    			provider.WithTransport(transport),
    			provider.WithRealm(realm),
    		)
    		return err
    	default:
    		return fmt.Errorf("Unsupported vendor %s", keyCloakVendor)
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/http/NtlmAuthenticator.groovy

                connections[HttpConnection.currentConnection] = connectionAuth
            }
    
            if (connectionAuth.failed) {
                httpResponse.setHeader(HttpHeader.WWW_AUTHENTICATE.asString(), "basic realm=\"" + _loginService.getName() + '"')
                httpResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED)
                return Authentication.SEND_CONTINUE
            } else if (connectionAuth.user != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                logger.debug("Loading mojo " + mojoDescriptor.getId() + " from plugin realm " + pluginRealm);
            }
    
            // We are forcing the use of the plugin realm for all lookups that might occur during
            // the lifecycle that is part of the lookup. Here we are specifically trying to keep
            // lookups that occur in contextualize calls in line with the right realm.
            ClassRealm oldLookupRealm = container.setLookupRealm(pluginRealm);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  9. maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java

        public void setInheritedByDefault(boolean inheritedByDefault) {
            this.inheritedByDefault = inheritedByDefault;
        }
    
        /**
         * Gets the artifacts that make up the plugin's class realm, excluding artifacts shadowed by the Maven core realm
         * like {@code maven-project}.
         *
         * @return The plugin artifacts, never {@code null}.
         */
        public List<Artifact> getArtifacts() {
            return artifacts;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sun Apr 14 17:14:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            PrintStream olderr = System.err;
    
            final Set<String> realms;
            if (classWorld != null) {
                realms = new HashSet<>();
                for (ClassRealm realm : classWorld.getRealms()) {
                    realms.add(realm.getId());
                }
            } else {
                realms = Collections.emptySet();
            }
    
            try {
                if (stdout != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 28 23:31:59 UTC 2024
    - 72.6K bytes
    - Viewed (0)
Back to top