- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toCharArray (0.36 sec)
-
src/test/java/jcifs/util/SecureCredentialStorageTest.java
private SecureCredentialStorage storage; private char[] masterPassword; @BeforeEach public void setUp() throws Exception { masterPassword = "MasterPassword123!@#".toCharArray(); storage = new SecureCredentialStorage(masterPassword.clone()); } @AfterEach public void tearDown() throws Exception { if (storage != null && !storage.isDestroyed()) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java
assertFalse(userAuth.isGuest()); assertFalse(userAuth.isAnonymous()); } /** * Test password in equals method */ @Test public void testEqualsWithSecurePassword() { char[] password1 = "TestPass123!".toCharArray(); char[] password2 = "TestPass123!".toCharArray();
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/NtlmPasswordAuthenticatorTimingAttackTest.java
char[] basePassword = "supersecretpassword123456789".toCharArray(); char[] diffAtStart = "Xupersecretpassword123456789".toCharArray(); char[] diffAtMiddle = "supersecretpXssword123456789".toCharArray(); char[] diffAtEnd = "supersecretpassword12345678X".toCharArray(); // Create authenticators
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorSecurityTest.java
Object passwordValue = passwordField.get(authenticator); assertTrue(passwordValue instanceof char[], "Password should be stored as char[]"); assertArrayEquals("password123".toCharArray(), (char[]) passwordValue, "Password content should match"); } @Test @DisplayName("Test secure password wipe") void testSecureWipePassword() throws Exception {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 8.5K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java
this.domain = dom != null ? dom : defDomain != null ? defDomain : ""; this.username = user != null ? user : defUser != null ? defUser : ""; this.password = pass != null ? pass.toCharArray() : defPassword != null ? defPassword.toCharArray() : new char[0]; if (type == null) { this.type = guessAuthenticationType(); } else { this.type = type; } } /**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/main/java/jcifs/netbios/NameServiceClientImpl.java
if (!Character.isDigit(host.charAt(0))) { return doNameQuery(name, svr); } int IP = 0x00; int hitDots = 0; final char[] data = host.toCharArray(); for (int i = 0; i < data.length; i++) { char c = data[i]; if (c < 48 || c > 57) { return doNameQuery(name, svr); } int b = 0x00;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 38.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0)