I am upgrading to Liferay 7.4 GA112 version from Liferay 7.2. We have configured Keycloak with Liferay for user login. However, upon upgrade I have found that these two classes are deprecated.
com.liferay.portal.security.sso.openid.connect.OpenIdConnectProviderRegistry
import com.liferay.portal.security.sso.openid.connect.internal.OpenIdConnectUserInfoProcessor
I have tried to look into the source code, but not able to find.
-
I am using
OpenIdConnectProviderRegistry
class to get the open-id-connect-provider-name(getOpenIdConnectProviderNames())
. -
I have changed
OpenIdConnectUserInfoProcessor
toOIDCUserInfoProcessor
but I am keep on gettingcom.liferay.portal.kernel.log.LogSanitizerException: org.osgi.framework.BundleException: Could not resolve module: com.exg.smc.portal.security.sso.oidc [1628]_ Unresolved requirement: Import-Package: com.liferay.portal.security.sso.openid.connect.internal_ [Sanitized]
exception. However, I have added the correct dependency in build.gradle. This is how my bnd.bnd and build.gradle look like: