- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 117 for user$name (0.21 sec)
-
tests/generics_test.go
t.Errorf("found invalid user, got %v, expect %v", u, user) } if u, err := gorm.G[User](DB).Where("name = ?", user.Name).Take(ctx); err != nil { t.Fatalf("failed to find user, got error: %v", err) } else if u.Name != user.Name || u.ID != user.ID { t.Errorf("found invalid user, got %v, expect %v", u, user) }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Sep 04 13:13:16 UTC 2025 - 28K bytes - Viewed (0) -
src/test/java/jcifs/util/InputValidatorTest.java
@DisplayName("Test valid usernames") @ValueSource(strings = { "user", "user123", "user.name", "user-name", "user_name", "******@****.***" }) void testValidUsernames(String username) { assertDoesNotThrow(() -> InputValidator.validateUsername(username)); } @ParameterizedTest @DisplayName("Test invalid usernames") @ValueSource(strings = { "user name", // space
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/Kerb5Authenticator.java
} /** * Set the user name which is used to setup <code>GSSContext</code>. If null * is set, the default user will be used which is retrieved from the first * TGT found in <code>Subject</code> . * * @param name * the user name used to setup <code>GSSContext</code> */ public void setUser(String name) { this.user = name; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 13.2K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmHttpServletRequestTest.java
void testGetRemoteUser() { // Arrange: Define the expected user name from the principal String expectedUserName = "testUser"; when(mockPrincipal.getName()).thenReturn(expectedUserName); // Act: Call the method under test String actualUserName = ntlmRequest.getRemoteUser(); // Assert: Verify that the returned user name is the expected one
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 2.7K bytes - Viewed (0) -
finisher_api.go
// // // assign an email if the record is not found // db.Where(User{Name: "non_existing"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "non_existing", Email: "******@****.***"} // // // assign email regardless of if record is found // db.Where(User{Name: "jinzhu"}).Assign(User{Email: "******@****.***"}).FirstOrInit(&user) // // user -> User{Name: "jinzhu", Age: 20, Email: "******@****.***"}
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0) -
docs/en/docs/tutorial/request-forms.md
The <abbr title="specification">spec</abbr> 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
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 2.7K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtStatus.java
/** The specified user does not exist */ int NT_STATUS_NO_SUCH_USER = 0xC0000064; /** The specified network password is not correct */ int NT_STATUS_WRONG_PASSWORD = 0xC000006a; /** Logon failure: unknown user name or bad password */ int NT_STATUS_LOGON_FAILURE = 0xC000006d; /** Logon failure: user account restriction */ int NT_STATUS_ACCOUNT_RESTRICTION = 0xC000006e;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 14.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/script/ScriptEngineTest.java
assertEquals("Hello Bob and ${other}", result); } // Test evaluate method with complex object as parameter public void test_evaluate_withComplexObject() { String template = "User: ${user.name}, Age: ${user.age}"; Map<String, Object> paramMap = new HashMap<>(); TestUser user = new TestUser("John", 30); paramMap.put("user", user);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.3K bytes - Viewed (0) -
docs/en/docs/tutorial/security/simple-oauth2.md
## Get the `username` and `password` { #get-the-username-and-password } We are going to use **FastAPI** security utilities to get the `username` and `password`. OAuth2 specifies that when using the "password flow" (that we are using) the client/user must send a `username` and `password` fields as form data. And the spec says that the fields have to be named like that. So `user-name` or `email` wouldn't work.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtStatus.java
/** The specified user does not exist */ int NT_STATUS_NO_SUCH_USER = 0xC0000064; /** The specified network password is not correct */ int NT_STATUS_WRONG_PASSWORD = 0xC000006a; /** Logon failure: unknown user name or bad password */ int NT_STATUS_LOGON_FAILURE = 0xC000006d; /** Logon failure: user account restriction */ int NT_STATUS_ACCOUNT_RESTRICTION = 0xC000006e;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 13.2K bytes - Viewed (0)