Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for checkPermission (0.09 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          }
        }
        assertThat(file).isNotNull();
        SecurityManager disallowFilesSecurityManager =
            new SecurityManager() {
              @Override
              public void checkPermission(Permission p) {
                if (readClassPathFiles.implies(p)) {
                  throw new SecurityException("Disallowed: " + p);
                }
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/reflect/ClassPathTest.java

          }
        }
        assertThat(file).isNotNull();
        SecurityManager disallowFilesSecurityManager =
            new SecurityManager() {
              @Override
              public void checkPermission(Permission p) {
                if (readClassPathFiles.implies(p)) {
                  throw new SecurityException("Disallowed: " + p);
                }
              }
            };
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  3. cmd/update.go

    	}
    	defer updateInProgress.Store(0)
    
    	transport := getUpdateTransport(30 * time.Second)
    	opts := selfupdate.Options{
    		Hash:     crypto.SHA256,
    		Checksum: sha256Sum,
    	}
    
    	if err := opts.CheckPermissions(); err != nil {
    		return AdminError{
    			Code:       AdminUpdateApplyFailure,
    			Message:    fmt.Sprintf("server update failed with: %s, do not restart the servers yet", err),
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.7K bytes
    - Viewed (0)
Back to top