public LocalAuthenticatorConfig getLocalAuthenticatorByName(String name) { for (LocalAuthenticatorConfig localAuthenticator : localAuthenticators) { if (localAuthenticator.getName().equals(name)) { return localAuthenticator; } } return null; }
public LocalAuthenticatorConfig getLocalAuthenticatorByName(String name) { for (LocalAuthenticatorConfig localAuthenticator : localAuthenticators) { if (localAuthenticator.getName().equals(name)) { return localAuthenticator; } } return null; }
private void validateLocalAuthenticatorConfig(List<String> validationMsg, Map<String, Property[]> allLocalAuthenticators, AtomicBoolean isAuthenticatorIncluded, AuthenticationStep authenticationStep) { for (LocalAuthenticatorConfig localAuth : authenticationStep.getLocalAuthenticatorConfigs()) { if (!allLocalAuthenticators.keySet().contains(localAuth.getName())) { validationMsg.add(String.format(AUTHENTICATOR_NOT_AVAILABLE, localAuth.getName())); } else if (!isAuthenticatorIncluded.get()) { Property[] properties = allLocalAuthenticators.get(localAuth.getName()); if (properties.length == 0) { isAuthenticatorIncluded.set(true); } else { for (Property property : properties) { if (!(IS_HANDLER.equals(property.getName()) && Boolean.valueOf(property.getValue()))) { isAuthenticatorIncluded.set(true); } } } } } }
if (!allLocalAuthenticators.keySet().contains(localAuth.getName())) { validationMsg.add(String.format(AUTHENTICATOR_NOT_AVAILABLE, localAuth.getName())); } else if (!isAuthenticatorIncluded.get()) { Property[] properties = allLocalAuthenticators.get(localAuth.getName()); if (properties.length == 0) { isAuthenticatorIncluded.set(true);
private void loadLocalAuthenticators(AuthenticationStep authenticationStep, StepConfig stepConfig) { LocalAuthenticatorConfig[] localAuthenticators = authenticationStep .getLocalAuthenticatorConfigs(); if (localAuthenticators != null) { IdentityProvider localIdp = new IdentityProvider(); localIdp.setIdentityProviderName(FrameworkConstants.LOCAL_IDP_NAME); // assign it to the step for (LocalAuthenticatorConfig localAuthenticator : localAuthenticators) { String actualAuthenticatorName = localAuthenticator.getName(); loadStepAuthenticator(stepConfig, localIdp, actualAuthenticatorName); } } }
protected void loadLocalAuthenticators(AuthenticationStep authenticationStep, StepConfig stepConfig) { LocalAuthenticatorConfig[] localAuthenticators = authenticationStep.getLocalAuthenticatorConfigs(); if (localAuthenticators != null) { IdentityProvider localIdp = new IdentityProvider(); localIdp.setIdentityProviderName(FrameworkConstants.LOCAL_IDP_NAME); // assign it to the step for (LocalAuthenticatorConfig localAuthenticator : localAuthenticators) { String actualAuthenticatorName = localAuthenticator.getName(); loadStepAuthenticator(stepConfig, localIdp, actualAuthenticatorName); } } }
protected void loadLocalAuthenticators(AuthenticationStep authenticationStep, StepConfig stepConfig) { LocalAuthenticatorConfig[] localAuthenticators = authenticationStep.getLocalAuthenticatorConfigs(); if (localAuthenticators != null) { IdentityProvider localIdp = new IdentityProvider(); localIdp.setIdentityProviderName(FrameworkConstants.LOCAL_IDP_NAME); // assign it to the step for (LocalAuthenticatorConfig localAuthenticator : localAuthenticators) { String actualAuthenticatorName = localAuthenticator.getName(); loadStepAuthenticator(stepConfig, localIdp, actualAuthenticatorName); } } }
.getInstance().getLocalAuthenticators(); for (LocalAuthenticatorConfig localAuthenticatorConfig : localAuthenticators) { if (authenticatorConfig.getName().equals(localAuthenticatorConfig.getName()) && authenticators.contains(localAuthenticatorConfig.getDisplayName())) { removeOption = false;
.getInstance().getLocalAuthenticators(); for (LocalAuthenticatorConfig localAuthenticatorConfig : localAuthenticators) { if (authenticatorConfig.getName().equals(localAuthenticatorConfig.getName()) && authenticators.contains(localAuthenticatorConfig.getDisplayName())) { removeOption = false;
ApplicationConstants.LOCAL_IDP_NAME, lclAuthenticator.getName()); if (authenticatorId < 0) { authenticatorId = addAuthenticator(connection, tenantID, ApplicationConstants.LOCAL_IDP_NAME, lclAuthenticator.getName(), lclAuthenticator.getDisplayName()); + " Step Order: " + authStep.getStepOrder() + " IdP: " + ApplicationConstants.LOCAL_IDP + " Authenticator: " + lclAuthenticator.getName());
ApplicationConstants.LOCAL_IDP_NAME, lclAuthenticator.getName()); if (authenticatorId < 0) { authenticatorId = addAuthenticator(connection, tenantID, ApplicationConstants.LOCAL_IDP_NAME, lclAuthenticator.getName(), lclAuthenticator.getDisplayName()); + " Step Order: " + authStep.getStepOrder() + " IdP: " + ApplicationConstants.LOCAL_IDP + " Authenticator: " + lclAuthenticator.getName());