- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 3,177 for user (0.02 sec)
-
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
} @Test @DisplayName("handle: empty user/domain edge yields '@' and null password") void testHandleWithEmptyUserAndDomainEdge() throws Exception { // Default constructor results in empty strings for user and domain, null for password JAASAuthenticator auth = new JAASAuthenticator(); NameCallback nc = new NameCallback("user:"); PasswordCallback pc = new PasswordCallback("pass:", false);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/UserAgentHelper.java
} /** The HTTP header name for User-Agent */ protected static final String USER_AGENT = "user-agent"; /** The request attribute key for storing cached user agent type */ protected static final String USER_AGENT_TYPE = "ViewHelper.UserAgent"; /** * Determines the user agent type from the current HTTP request. * The method analyzes the User-Agent header to categorize the browser typeRegistered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.5K bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial004_py39.py
tax: Union[float, None] = None class User(BaseModel): username: str full_name: Union[str, None] = None @app.put("/items/{item_id}") async def update_item( *, item_id: int, item: Item, user: User, importance: int = Body(gt=0), q: Union[str, None] = None, ): results = {"item_id": item_id, "item": item, "user": user, "importance": importance} if q:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 653 bytes - Viewed (0) -
docs_src/security/tutorial002_an_py39.py
user = fake_decode_token(token) return user @app.get("/users/me") async def read_users_me(current_user: Annotated[User, Depends(get_current_user)]):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 786 bytes - Viewed (0) -
tests/helper_test.go
} } func CheckUserUnscoped(t *testing.T, user User, expect User) { doCheckUser(t, user, expect, true) } func CheckUser(t *testing.T, user User, expect User) { doCheckUser(t, user, expect, false) } func doCheckUser(t *testing.T, user User, expect User, unscoped bool) { if user.ID != 0 { var newUser User if err := db(unscoped).Where("id = ?", user.ID).First(&newUser).Error; err != nil {
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/user/EditForm.java
*/ package org.codelibs.fess.app.web.admin.user; import org.lastaflute.web.validation.Required; import org.lastaflute.web.validation.theme.conversion.ValidateTypeFailure; import jakarta.validation.constraints.Size; /** * Form class for editing users in the admin interface. * This form extends CreateForm to include fields necessary for updating existing user entries, * including tracking information for optimistic locking.
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 1.7K bytes - Viewed (0) -
tests/test_tutorial/test_header_params/test_tutorial001.py
@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 Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/AdminAction.java
/** * Get the admin action class. * @param user The user. * @return The admin action class. */ public static Class<? extends FessAdminAction> getAdminActionClass(final FessUserBean user) { if (user.hasRoles(getActionRoles(AdminDashboardAction.ROLE))) { return AdminDashboardAction.class; } if (user.hasRoles(getActionRoles(AdminWizardAction.ROLE))) {Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19K bytes - Viewed (0) -
helm-releases/minio-3.1.8.tgz
active return 0 } # checkUserExists ($username) # Check if the user exists, by using the exit code of `mc admin user info` checkUserExists() { USER=$1 CMD=$(${MC} admin user info myminio $USER > /dev/null 2>&1) return $? } # createUser ($username, $password, $policy) createUser() { USER=$1 PASS=$2 POLICY=$3 # Create the user if it does not exist if ! checkUserExists $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy...
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Thu Oct 07 05:03:47 UTC 2021 - 14.6K bytes - Viewed (0) -
docs_src/security/tutorial004_an_py310.py
raise credentials_exception user = get_user(fake_users_db, username=token_data.username) if user is None: raise credentials_exception return user async def get_current_active_user( current_user: Annotated[User, Depends(get_current_user)], ): if current_user.disabled: raise HTTPException(status_code=400, detail="Inactive user") return current_userRegistered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 02:57:38 UTC 2025 - 4.1K bytes - Viewed (0)