Fix NPE in FrameworkUtils
@@ -1517,7 +1517,8 @@ public class FrameworkUtils {
authenticatedIdPData.getIdpName().equals(authenticatorIdp)) {
if (FrameworkConstants.LOCAL.equals(authenticatedIdPData.getIdpName())) {
- if (authenticatedIdPData.isAlreadyAuthenticatedUsing(authenticatorName,
+ if (authenticatorConfig.getApplicationAuthenticator() != null &&
+ authenticatedIdPData.isAlreadyAuthenticatedUsing(authenticatorName,
authenticatorConfig.getApplicationAuthenticator().getAuthMechanism())) {
idpAuthenticatorMap.put(authenticatorIdp, authenticatorConfig);
