- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 15 for ALICE (0.02 seconds)
-
tests/test_tutorial/test_security/test_tutorial004.py
alice_user_data = { "username": "alice", "full_name": "Alice Wonderson", "email": "alice@example.com", "hashed_password": mod.get_password_hash("secretalice"), "disabled": True, } with patch.dict(f"{mod.__name__}.fake_users_db", {"alice": alice_user_data}): access_token = get_access_token( username="alice", password="secretalice", client=client )Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 13.3K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDTest.java
// User in regular domain SID user = new SID(buildSidT((byte) 1, ident, 10, 20, 99), jcifs.SID.SID_TYPE_USER, "MYDOM", "alice", false); assertEquals("MYDOM", user.getDomainName()); assertEquals("alice", user.getAccountName()); assertEquals("MYDOM\\alice", user.toDisplayString()); } @Test @DisplayName("toDisplayString for BUILTIN and well-known group cases")Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java
void clone_copiesFields() { Subject subj = new Subject(); Kerb5Authenticator auth = new Kerb5Authenticator(subj, "DOM", "user", "pass"); auth.setUser("alice"); auth.setRealm("EXAMPLE.COM"); auth.setService("cifs"); auth.setUserLifeTime(123); auth.setLifeTime(456); auth.setForceFallback(true);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/SIDCacheImplTest.java
// First is a user names.names[0] = new lsarpc.LsarTranslatedName(); names.names[0].sid_type = (short) jcifs.SID.SID_TYPE_USER; names.names[0].name = new UnicodeString("alice", false); names.names[0].sid_index = 0; // Second is a domain group names.names[1] = new lsarpc.LsarTranslatedName(); names.names[1].sid_type = (short) jcifs.SID.SID_TYPE_DOM_GRP;Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14K bytes - Click Count (0) -
src/test/java/jcifs/ACETest.java
// Example from ACE interface documentation: user WNET\\alice with 0x00000003 (FILE_READ_DATA | FILE_WRITE_DATA) int aliceDesiredAccess = ACE.FILE_READ_DATA | ACE.FILE_WRITE_DATA; assertEquals(0x00000003, aliceDesiredAccess, "Alice's desired access should be 0x00000003"); // Direct ACE: Allow WNET\\alice 0x001200A9 int aliceDirectACE = 0x001200A9;
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.4K bytes - Click Count (0) -
tests/test_tutorial/test_security/test_tutorial005.py
assert response.headers["WWW-Authenticate"] == 'Bearer scope="me"' def test_token_inactive_user(mod: ModuleType): client = TestClient(mod.app) access_token = get_access_token( username="alice", password="secretalice", scope="me", client=client ) response = client.get( "/users/me", headers={"Authorization": f"Bearer {access_token}"} ) assert response.status_code == 400, response.text
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 15.8K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
* {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may * also be resolved to yield the name of the associated Windows account * such as {@code Administrators} or {@code MYDOM\alice}. * <p> * Consider the following output of {@code examples/SidLookup.java}: * * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* {@code S-1-5-21-1496946806-2192648263-3843101252-1029} but they may * also be resolved to yield the name of the associated Windows account * such as {@code Administrators} or {@code MYDOM\alice}. * <p> * Consider the following output of {@code examples/SidLookup.java}: * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Inaktiver Benutzer { #inactive-user } Versuchen Sie es nun mit einem inaktiven Benutzer und authentisieren Sie sich mit: Benutzer: `alice`. Passwort: `secret2`. Und versuchen Sie, die Operation `GET` mit dem Pfad `/users/me` zu verwenden. Sie erhalten die Fehlermeldung „Inactive user“: ```JSON { "detail": "Inactive user"Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Sep 20 15:10:09 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/es/docs/tutorial/security/simple-oauth2.md
```JSON { "detail": "Not authenticated" } ``` ### Usuario inactivo { #inactive-user } Ahora prueba con un usuario inactivo, autentícate con: Usuario: `alice` Contraseña: `secret2` Y trata de usar la operación `GET` con la path `/users/me`. Obtendrás un error de "Usuario inactivo", como: ```JSON { "detail": "Inactive user" } ```Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Tue Dec 16 16:33:45 GMT 2025 - 10.3K bytes - Click Count (0)