Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 337 for surname (0.1 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java

            excludedDirs = new HashSet<>();
            int numIndices = 5000;
            for (int i = 0; i < numIndices; i++) {
                String dirName = "dir" + i;
                Files.createDirectory(nodePath.indicesPath.resolve(dirName));
                excludedDirs.add(dirName);
            }
            if (nodeEnv.availableIndexFoldersForPath(nodePath).size() != numIndices) {
                throw new IllegalStateException("bad size");
            }
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Apr 27 15:29:12 GMT 2021
    - 3K bytes
    - Click Count (0)
  2. docs/zh/docs/tutorial/security/first-steps.md

    OAuth2 的设计目标是让后端或 API 与负责用户认证的服务器解耦。
    
    但在这个例子中,**FastAPI** 应用同时处理 API 和认证。
    
    从这个简化的角度来看看流程:
    
    * 用户在前端输入 `username` 和 `password`,然后按下 `Enter`。
    * 前端(运行在用户浏览器中)把 `username` 和 `password` 发送到我们 API 中的特定 URL(使用 `tokenUrl="token"` 声明)。
    * API 校验 `username` 和 `password`,并返回一个“令牌”(这些我们尚未实现)。
        * “令牌”只是一个字符串,包含一些内容,之后可用来验证该用户。
        * 通常,令牌会在一段时间后过期。
            * 因此,用户过一段时间需要重新登录。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial008c_py310.py

            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: str = Depends(get_username)):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 660 bytes
    - Click Count (0)
  4. docs/ru/docs/tutorial/security/first-steps.md

    Итак, рассмотрим это с упрощенной точки зрения:
    
    * Пользователь вводит на фронтенде `username` и `password` и нажимает `Enter`.
    * Фронтенд (работающий в браузере пользователя) отправляет эти `username` и `password` на конкретный URL в нашем API (объявленный с `tokenUrl="token"`).
    * API проверяет этот `username` и `password` и отвечает «токеном» (мы еще ничего из этого не реализовали).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 14K bytes
    - Click Count (0)
  5. docs_src/dependencies/tutorial008c_an_py310.py

            print("Oops, we didn't raise again, Britney 😱")
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
        if item_id == "portal-gun":
            raise InternalError(
                f"The portal gun is too dangerous to be owned by {username}"
            )
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 700 bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/bridge/MavenRepositorySystem.java

                        AuthenticationContext authCtx = AuthenticationContext.forRepository(session, repo);
                        Authentication result = new Authentication(
                                authCtx.get(AuthenticationContext.USERNAME), authCtx.get(AuthenticationContext.PASSWORD));
                        result.setPrivateKey(authCtx.get(AuthenticationContext.PRIVATE_KEY_PATH));
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 33.5K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/request-forms.md

    The <dfn title="specification">spec</dfn> requires the fields to be exactly named `username` and `password`, and to be sent as form fields, not JSON.
    
    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/LabelTypeDbm.java

                    "includedPaths");
            setupEpg(_epgMap, et -> ((LabelType) et).getName(), (et, vl) -> ((LabelType) et).setName(DfTypeUtil.toString(vl)), "name");
            setupEpg(_epgMap, et -> ((LabelType) et).getPermissions(), (et, vl) -> ((LabelType) et).setPermissions((String[]) vl),
                    "permissions");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 27 07:01:25 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/CredentialsInternalTest.java

    @ExtendWith(MockitoExtension.class)
    class CredentialsInternalTest {
    
        @Mock
        CIFSContext mockContext;
    
        /**
         * Simple in-test implementation of CredentialsInternal to exercise the API surface.
         * It validates inputs, records calls, and delegates some behavior to collaborators
         * so we can verify interactions.
         */
        static class TestCredentials implements CredentialsInternal {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

         *
         * @param form the form containing the web authentication data
         * @param username the username of the current user
         * @param currentTime the current timestamp
         * @return an optional WebAuthentication entity
         */
        public static OptionalEntity<WebAuthentication> getEntity(final CreateForm form, final String username, final long currentTime) {
            switch (form.crudMode) {
            case CrudMode.CREATE:
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top