Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,769 for user (0.1 sec)

  1. src/main/java/org/codelibs/fess/auth/chain/LdapChain.java

    import org.codelibs.fess.es.user.exentity.User;
    import org.codelibs.fess.util.ComponentUtil;
    
    public class LdapChain implements AuthenticationChain {
    
        @Override
        public void update(final User user) {
            ComponentUtil.getLdapManager().insert(user);
        }
    
        @Override
        public void delete(final User user) {
            ComponentUtil.getLdapManager().delete(user);
        }
    
        @Override
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. docs/docker/README.md

    ```
    
    ### Run MinIO Docker as a regular user
    
    Docker provides standardized mechanisms to run docker containers as non-root users.
    
    #### GNU/Linux and macOS (regular user)
    
    On Linux and macOS you can use `--user` to run the container as regular user.
    
    > NOTE: make sure --user has write permission to *${HOME}/data* prior to using `--user`.
    
    ```sh
    mkdir -p ${HOME}/data
    docker run \
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  3. docs_src/security/tutorial003_py310.py

        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: User = Depends(get_current_active_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jan 07 14:11:31 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  4. apache-maven/src/assembly/maven/conf/maven.properties

    #
    # Maven user properties
    #
    # The properties defined in this file will be made available through
    # user properties at the very beginning of Maven's boot process.
    #
    
    maven.installation.conf = ${maven.home}/conf
    maven.user.conf         = ${user.home}/.m2
    maven.project.conf      = ${session.rootDirectory}/.mvn
    
    # Comma-separated list of files to include.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 21:11:04 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. docs_src/security/tutorial003.py

        user = UserInDB(**user_dict)
        hashed_password = fake_hash_password(form_data.password)
        if not hashed_password == user.hashed_password:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
    
        return {"access_token": user.username, "token_type": "bearer"}
    
    
    @app.get("/users/me")
    async def read_users_me(current_user: User = Depends(get_current_active_user)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_header_params/test_tutorial001_py310.py

    
    @needs_py310
    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"User-Agent": "testclient"}),
            ("/items", {"X-Header": "notvalid"}, 200, {"User-Agent": "testclient"}),
            ("/items", {"User-Agent": "FastAPI test"}, 200, {"User-Agent": "FastAPI test"}),
        ],
    )
    def test(path, headers, expected_status, expected_response, client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4K bytes
    - Viewed (0)
  7. chainable_api.go

    //
    //	// Find the first user with name jinzhu
    //	db.Where("name = ?", "jinzhu").First(&user)
    //	// Find the first user with name jinzhu and age 20
    //	db.Where(&User{Name: "jinzhu", Age: 20}).First(&user)
    //	// Find the first user with name jinzhu and age not equal to 20
    //	db.Where("name = ?", "jinzhu").Where("age <> ?", "20").First(&user)
    //
    // [docs]: https://gorm.io/docs/query.html#Conditions
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  8. tests/test_security_api_key_header.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/user/ApiAdminUserAction.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web.api.admin.user;
    
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.getUser;
    import static org.codelibs.fess.app.web.admin.user.AdminUserAction.validateAttributes;
    
    import java.util.List;
    import java.util.stream.Collectors;
    
    import org.apache.logging.log4j.LogManager;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  10. tests/test_security_api_key_header_description.py

    app = FastAPI()
    
    api_key = APIKeyHeader(name="key", description="An API Key Header")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    def read_current_user(current_user: User = Depends(get_current_user)):
        return current_user
    
    
    client = TestClient(app)
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top