- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for get_username (0.06 sec)
-
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthentication.java
} /** * Returns the username. * @return The username. */ public String getUsername() { return username; } /** * Sets the username. * @param username The username. */ public void setUsername(final String username) { this.username = username; } /** * Returns the password.Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Sep 18 09:30:45 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/client/ftp/FtpClientTest.java
server = startFtpServer(FTP_PORT, username, password); Map<String, Object> params = new HashMap<String, Object>(); FtpAuthentication auth = new FtpAuthentication(); auth.setUsername(username); auth.setPassword(password); params.put(FtpClient.FTP_AUTHENTICATIONS_PROPERTY, new FtpAuthentication[] { auth }); ftpClient.setInitParameterMap(params);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 18K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
NtlmPasswordAuthenticator cloned = original.clone(); // Verify cloned values assertEquals(original.getUserDomain(), cloned.getUserDomain()); assertEquals(original.getUsername(), cloned.getUsername()); assertEquals(original.getPassword(), cloned.getPassword()); // Verify password arrays are independent original.secureWipePassword(); assertNull(original.getPassword());Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 23.3K bytes - Viewed (0) -
src/test/java/jcifs/smb/JAASAuthenticatorTest.java
// Clone and verify basic fields copied JAASAuthenticator copy = (JAASAuthenticator) orig.clone(); assertEquals(orig.getUsername(), copy.getUsername()); assertEquals(orig.getUserDomain(), copy.getUserDomain()); assertEquals(orig.getPassword(), copy.getPassword()); // Test the cloning behavior with both null and non-null cached subjectsRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
String domB = this.getUserDomain() != null ? this.getUserDomain().toUpperCase() : null; return ntlm.type == this.type && Objects.equals(domA, domB) && ntlm.getUsername().equalsIgnoreCase(this.getUsername()) && constantTimeEquals(getPasswordAsCharArray(), ntlm.getPasswordAsCharArray()); } return false; } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/sso/SsoAuthenticatorTest.java
public TestLoginCredential(String username, String password) { this.username = username; this.password = password; } public String getUsername() { return username; } public String getPassword() { return password; } } // Test getLoginCredential methodRegistered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11K bytes - Viewed (1) -
src/main/java/jcifs/smb/JAASAuthenticator.java
} if (cb instanceof NameCallback nc) { String userDomain = this.getSpecifiedUserDomain(); if (this.getUsername() != null && userDomain != null) { nc.setName(this.getUsername() + "@" + userDomain); } } else if (cb instanceof PasswordCallback pc) { char[] passwordChars = this.getPasswordAsCharArray();Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.3K bytes - Viewed (1) -
src/main/java/jcifs/smb/AuthenticationProvider.java
this.timestamp = System.currentTimeMillis(); this.clientAddress = clientAddress; this.serverAddress = serverAddress; } public String getUsername() { return username; } public String getDomain() { return domain; } public AuthType getAuthType() { return authType;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 3.9K bytes - Viewed (1) -
src/main/java/jcifs/smb/NtlmContext.java
if (this.auth instanceof NtlmNtHashAuthenticator) { return new Type3Message(this.transportContext, msg2, this.targetName, this.auth.getNTHash(), this.auth.getUserDomain(), this.auth.getUsername(), this.workstation, this.ntlmsspFlags); } // Use secure password handling String passwordString = null; if (this.auth.isGuest()) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 17.3K bytes - Viewed (0) -
docs/en/docs/release-notes.md
} class OwnerError(Exception): pass def get_username(): try: yield "Rick" except OwnerError as e: raise HTTPException(status_code=400, detail=f"Owner error: {e}") @app.get("/items/{item_id}") def get_item(item_id: str, username: Annotated[str, Depends(get_username)]): if item_id not in data:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Fri Sep 05 12:48:45 UTC 2025 - 544.1K bytes - Viewed (0)