Searched defs:existingAttr (Results 1 - 4 of 4) sorted by relevance

/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DSessionServiceHelper.java113 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl existingAttr, AttributeSchemaImpl newAttr) argument
115 String i18nKey = existingAttr.getI18NKey();
H A DAuthServiceHelper.java76 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl existingAttr, AttributeSchemaImpl newAttr) argument
79 return existingAttr.getI18NKey() != null && !existingAttr.getI18NKey().isEmpty() ? newAttr : null;
85 Set<String> defaultValues = existingAttr.getDefaultValues();
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DAuthServiceHelper.java88 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl existingAttr, AttributeSchemaImpl newAttr) argument
91 return existingAttr.getI18NKey() != null && !existingAttr.getI18NKey().isEmpty() ? newAttr : null;
95 if (CollectionUtils.isEmpty(existingAttr.getDefaultValues())) {
98 return updateDefaultValues(newAttr, encryptValues(existingAttr.getDefaultValues()));
107 Set<String> defaultValues = existingAttr.getDefaultValues();
H A DSessionServiceHelper.java106 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl existingAttr, AttributeSchemaImpl newAttr) argument
109 String i18nKey = existingAttr.getI18NKey();
116 if (STATELESS_SIGNING_ALGORITHM.equals(existingAttr.getName())) {
117 result = checkAndUpdateChoiceValues(existingAttr, newAttr, ECDSA_SIGNING_ALGORITHMS);
118 } else if (STATELESS_ENCRYPTION_TYPE.equals(existingAttr.getName())) {
119 result = checkAndUpdateChoiceValues(existingAttr, newAttr, ENCRYPTION_TYPES);
127 * @param existingAttr the existing attribute.
133 private AttributeSchemaImpl checkAndUpdateChoiceValues(AttributeSchemaImpl existingAttr, argument
136 List<String> choices = new ArrayList<>(Arrays.asList(existingAttr.getChoiceValues()));

Completed in 22 milliseconds