Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 562 for validated (0.08 sec)

  1. tests/test_tutorial/test_security/test_tutorial005_an_py310.py

        response = client.get("/users/me", headers={"Authorization": "Bearer nonexistent"})
        assert response.status_code == 401, response.text
        assert response.json() == {"detail": "Could not validate credentials"}
        assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"'
    
    
    @needs_py310
    def test_incorrect_token_type(client: TestClient):
        response = client.get(
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Mar 13 19:07:10 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvoker.java

        @SuppressWarnings("MethodLength")
        @Override
        public int invoke(ForkedMavenInvokerRequest invokerRequest) throws InvokerException {
            requireNonNull(invokerRequest);
            validate(invokerRequest);
    
            ArrayList<String> cmdAndArguments = new ArrayList<>();
            cmdAndArguments.add(invokerRequest
                    .installationDirectory()
                    .resolve("bin")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/bufio/example_test.go

    		fmt.Fprintln(os.Stderr, "reading input:", err)
    	}
    	fmt.Printf("%d\n", count)
    	// Output: 15
    }
    
    // Use a Scanner with a custom split function (built by wrapping ScanWords) to validate
    // 32-bit decimal input.
    func ExampleScanner_custom() {
    	// An artificial input source.
    	const input = "1234 5678 1234567901234567890"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/login/LoginAction.java

                RenderDataUtil.register(data, "notification", fessConfig.getNotificationLogin());
                saveToken();
            });
        }
    
        @Execute
        public HtmlResponse login(final LoginForm form) {
            validate(form, messages -> {}, () -> asIndexPage(form));
            verifyToken(() -> asIndexPage(form));
            final String username = form.username;
            final String password = form.password;
            form.clearSecurityInfo();
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/crawlinginfo/AdminCrawlinginfoAction.java

                    });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse threaddump(final EditForm form) {
            verifyCrudMode(form.crudMode, CrudMode.DETAILS);
            validate(form, messages -> {}, this::asDetailsHtml);
            verifyToken(this::asDetailsHtml);
            final String id = form.id;
            crawlingInfoService.getCrawlingInfo(id).ifPresent(entity -> {
                try {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 10K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.19.md

    - Kubeadm: during join when a check is performed that a Node with the same name already exists in the cluster, make sure the NodeReady condition is properly validated ([#89602](https://github.com/kubernetes/kubernetes/pull/89602), [@kvaps](https://github.com/kvaps)) [SIG Cluster Lifecycle]
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/fileauth/AdminFileauthAction.java

                registerProtocolSchemeItems(data);
                registerFileConfigItems(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            fileAuthenticationService.getFileAuthentication(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/reqheader/AdminReqheaderAction.java

            }).renderWith(data -> {
                registerWebConfigItems(data);
            });
        }
    
        @Execute
        @Secured({ ROLE })
        public HtmlResponse edit(final EditForm form) {
            validate(form, messages -> {}, this::asListHtml);
            final String id = form.id;
            requestHeaderService.getRequestHeader(id).ifPresent(entity -> {
                copyBeanToBean(entity, form, op -> {});
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/ComparisonChainTest.java

          return toStringHelper(this)
              .add("aString", aString)
              .add("anInt", anInt)
              .add("anEnum", anEnum)
              .toString();
        }
      }
    
      /** Validates that the Comparator equivalent we document is correct. */
      @J2ktIncompatible // TODO b/315311435 - J2kt cannot emulate Comparator<C>.<U>thenComparing()
      public void testComparatorEquivalent() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 13:27:08 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Lifecycle.java

            // ======================
            // Maven defined phases
            // ======================
            String BUILD = "build";
            String INITIALIZE = "initialize";
            String VALIDATE = "validate";
            String SOURCES = "sources";
            String RESOURCES = "resources";
            String COMPILE = "compile";
            String READY = "ready";
            String PACKAGE = "package";
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Sep 24 07:54:24 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top