Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 28 for GetPolicy (0.19 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

          return;
        }
        Policy oldPolicy = Policy.getPolicy();
        SecurityManager oldSecurityManager = System.getSecurityManager();
        try {
          Policy.setPolicy(new PermissivePolicy());
          System.setSecurityManager(new SecurityManager());
          doTestUnloadable();
        } finally {
          System.setSecurityManager(oldSecurityManager);
          Policy.setPolicy(oldPolicy);
        }
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/RepositoryMetadata.java

         *
         * @param repository The repository for which to determine the policy, must not be {@code null}.
         * @return The policy, never {@code null}.
         */
        ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            return buffer.toString();
        }
    
        public int getNature() {
            return RELEASE;
        }
    
        public ArtifactRepositoryPolicy getPolicy(ArtifactRepository repository) {
            int nature = getNature();
            if ((nature & RepositoryMetadata.RELEASE_OR_SNAPSHOT) == RepositoryMetadata.RELEASE_OR_SNAPSHOT) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7K bytes
    - Viewed (0)
  4. docs/multi-user/admin/README.md

    - admin:RemoveUserFromGroup
    - admin:GetGroup
    - admin:ListGroups
    - admin:EnableGroup
    - admin:DisableGroup
    
    #### Policy management permissions
    
    - admin:CreatePolicy
    - admin:DeletePolicy
    - admin:GetPolicy
    - admin:AttachUserOrGroupPolicy
    - admin:ListUserPolicies
    
    #### Heal management permissions
    
    - admin:Heal
    
    #### Service account management permissions
    
    - admin:CreateServiceAccount
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 21 06:38:06 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

            // meta-versions like RELEASE and LATEST to resolve, and also to allow retrieval of the range of valid, released
            // artifacts available.
            ArtifactRepositoryPolicy policy = metadata.getPolicy(repository);
    
            if (!policy.isEnabled()) {
                if (getLogger().isDebugEnabled()) {
                    getLogger()
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  6. cmd/iam-store.go

    		}
    	}
    
    	delete(cache.iamPolicyDocsMap, policy)
    	cache.updatedAt = time.Now()
    
    	return nil
    }
    
    // GetPolicy - gets the policy definition. Allows specifying multiple comma
    // separated policies - returns a combined policy.
    func (store *IAMStoreSys) GetPolicy(name string) (policy.Policy, error) {
    	if name == "" {
    		return policy.Policy{}, errInvalidArgument
    	}
    
    	cache := store.rlock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Apr 27 10:04:10 GMT 2024
    - 75.2K bytes
    - Viewed (2)
  7. cmd/kms-handlers.go

    		return
    	}
    	manager, ok := GlobalKMS.(kms.PolicyManager)
    	if !ok {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrNotImplemented), r.URL)
    		return
    	}
    	policy, err := manager.GetPolicy(ctx, r.Form.Get("policy"))
    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	if p, err := json.Marshal(policy); err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 20.7K bytes
    - Viewed (0)
  8. cmd/iam.go

    	}
    
    	return sys.store.ListPolicyDocs(ctx, bucketName)
    }
    
    // SetPolicy - sets a new named policy.
    func (sys *IAMSys) SetPolicy(ctx context.Context, policyName string, p policy.Policy) (time.Time, error) {
    	if !sys.Initialized() {
    		return time.Time{}, errServerNotInitialized
    	}
    
    	updatedAt, err := sys.store.SetPolicy(ctx, policyName, p)
    	if err != nil {
    		return updatedAt, err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  9. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

        forceConnectionsToExpire(pool, expireSooner)
        assertThat(pool.connectionCount()).isEqualTo(1)
      }
    
      private fun setPolicy(
        pool: RealConnectionPool,
        address: Address,
        policy: ConnectionPool.AddressPolicy,
      ) {
        pool.setPolicy(address, policy)
        taskFaker.runTasks()
      }
    
      private fun evictAllConnections(pool: RealConnectionPool) {
        pool.evictAll()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

      }
    
      /**
       * Sets a policy that applies to [address].
       * Overwrites any existing policy for that address.
       */
      @ExperimentalOkHttpApi
      fun setPolicy(
        address: Address,
        policy: AddressPolicy,
      ) {
        delegate.setPolicy(address, policy)
      }
    
      /**
       * A policy for how the pool should treat a specific address.
       */
      class AddressPolicy(
        /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
Back to top