@@ -188,7 +188,7 @@ public void getTokenMfaIsolation() throws Exception {
188
188
manager .storage .createLocalUser (LocalUser .getLocalUserBuilder (
189
189
userName , userUuid , new DisplayName ("Test User" ), inst (10000 ))
190
190
.
withEmailAddress (
new EmailAddress (
"[email protected] " )).
build (),
191
- new PasswordHashAndSalt ("password " .getBytes (), "salt" .getBytes ()));
191
+ new PasswordHashAndSalt ("passwordhash1234 " .getBytes (), "salt" .getBytes ()));
192
192
193
193
// Create two tokens with different MFA status
194
194
final UUID token1Id = UUID .randomUUID ();
@@ -672,7 +672,7 @@ public void getTokenWithMfaTrue() throws Exception {
672
672
manager .storage .createLocalUser (LocalUser .getLocalUserBuilder (
673
673
userName , id , new DisplayName ("MFA User" ), inst (10000 ))
674
674
.
withEmailAddress (
new EmailAddress (
"[email protected] " )).
build (),
675
- new PasswordHashAndSalt ("password " .getBytes (), "salt" .getBytes ()));
675
+ new PasswordHashAndSalt ("passwordhash1234 " .getBytes (), "salt" .getBytes ()));
676
676
677
677
// Create token with MFA=true
678
678
manager .storage .storeToken (StoredToken .getBuilder (
@@ -710,7 +710,7 @@ public void getTokenWithMfaFalse() throws Exception {
710
710
manager .storage .createLocalUser (LocalUser .getLocalUserBuilder (
711
711
userName , id , new DisplayName ("No MFA User" ), inst (10000 ))
712
712
.
withEmailAddress (
new EmailAddress (
"[email protected] " )).
build (),
713
- new PasswordHashAndSalt ("password " .getBytes (), "salt" .getBytes ()));
713
+ new PasswordHashAndSalt ("passwordhash1234 " .getBytes (), "salt" .getBytes ()));
714
714
715
715
// Create token with MFA=false
716
716
manager .storage .storeToken (StoredToken .getBuilder (
@@ -748,7 +748,7 @@ public void getTokenWithMfaNull() throws Exception {
748
748
manager .storage .createLocalUser (LocalUser .getLocalUserBuilder (
749
749
userName , id , new DisplayName ("Unknown MFA User" ), inst (10000 ))
750
750
.
withEmailAddress (
new EmailAddress (
"[email protected] " )).
build (),
751
- new PasswordHashAndSalt ("password " .getBytes (), "salt" .getBytes ()));
751
+ new PasswordHashAndSalt ("passwordhash1234 " .getBytes (), "salt" .getBytes ()));
752
752
753
753
// Create token with MFA=null (unknown)
754
754
manager .storage .storeToken (StoredToken .getBuilder (
@@ -786,7 +786,7 @@ public void getTokenWithNoMfaSet() throws Exception {
786
786
manager .storage .createLocalUser (LocalUser .getLocalUserBuilder (
787
787
userName , id , new DisplayName ("No MFA Set User" ), inst (10000 ))
788
788
.
withEmailAddress (
new EmailAddress (
"[email protected] " )).
build (),
789
- new PasswordHashAndSalt ("password " .getBytes (), "salt" .getBytes ()));
789
+ new PasswordHashAndSalt ("passwordhash1234 " .getBytes (), "salt" .getBytes ()));
790
790
791
791
// Create token without explicitly setting MFA (should default to null)
792
792
manager .storage .storeToken (StoredToken .getBuilder (
0 commit comments