CB-5234. Refactor after review, move logic for PRO products (#2990)

This commit is contained in:
DenisSinelnikov
2024-10-15 10:00:58 +00:00
committed by GitHub
parent d49342ce48
commit 94ea41c2c9
@@ -2082,7 +2082,7 @@ public class CBEmbeddedSecurityController<T extends WebAuthApplication>
return finishAuthentication(authInfo, false, authInfo.isForceSessionsLogout());
}
private SMAuthInfo finishAuthentication(
protected SMAuthInfo finishAuthentication(
@NotNull SMAuthInfo authInfo,
boolean isSyncAuth,
boolean forceSessionsLogout
@@ -3134,7 +3134,7 @@ public class CBEmbeddedSecurityController<T extends WebAuthApplication>
}
}
private WebAuthProviderDescriptor getAuthProvider(String authProviderId) throws DBCException {
protected WebAuthProviderDescriptor getAuthProvider(String authProviderId) throws DBCException {
WebAuthProviderDescriptor authProvider = WebAuthProviderRegistry.getInstance().getAuthProvider(authProviderId);
if (authProvider == null) {
throw new DBCException("Auth provider not found: " + authProviderId);