Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ilgrosso committed Aug 3, 2023
1 parent 854593e commit ef20176
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ public AuthProfileTO getAuthProfileTO(final AuthProfile authProfile) {
authProfileTO.getGoogleMfaAuthTokens().addAll(authProfile.getGoogleMfaAuthTokens());
authProfileTO.getGoogleMfaAuthAccounts().addAll(authProfile.getGoogleMfaAuthAccounts());
authProfileTO.getU2FRegisteredDevices().addAll(authProfile.getU2FRegisteredDevices());
authProfileTO.getMfaTrustedDevices().addAll(authProfile.getMfaTrustedDevices());
authProfileTO.getWebAuthnDeviceCredentials().addAll(authProfile.getWebAuthnDeviceCredentials());
return authProfileTO;
}
Expand All @@ -57,6 +58,7 @@ public AuthProfile update(final AuthProfile authProfile, final AuthProfileTO aut
authProfile.setGoogleMfaAuthTokens(authProfileTO.getGoogleMfaAuthTokens());
authProfile.setGoogleMfaAuthAccounts(authProfileTO.getGoogleMfaAuthAccounts());
authProfile.setU2FRegisteredDevices(authProfileTO.getU2FRegisteredDevices());
authProfile.setMfaTrustedDevices(authProfileTO.getMfaTrustedDevices());
authProfile.setWebAuthnDeviceCredentials(authProfileTO.getWebAuthnDeviceCredentials());
return authProfile;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public OneTimeTokenCredentialRepository googleAuthenticatorAccountRegistry(
}

@RefreshScope(proxyMode = ScopedProxyMode.DEFAULT)
@Bean
@Bean(name = MultifactorAuthenticationTrustStorage.BEAN_NAME)
public MultifactorAuthenticationTrustStorage mfaTrustStorage(
final CasConfigurationProperties casProperties,
@Qualifier("mfaTrustRecordKeyGenerator")
Expand Down

0 comments on commit ef20176

Please sign in to comment.