Searched defs:newAttr (Results 1 - 25 of 36) sorted by relevance

12

/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DAuditUpgradeHelper.java40 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException { argument
41 return updateDefaultValues(newAttr, singleton("false"));
45 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
H A DOAuth2AuthModuleUpgradeHelper.java37 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
40 if ((ACCOUNT_MAPPER_PROPERTY.equals(newAttr.getName()) || ATTRIBUTE_MAPPER_PROPERTY.equals(newAttr.getName()))
41 && !oldAttr.getDefaultValues().equals(newAttr.getDefaultValues())) {
43 return newAttr;
48 if (ATTRIBUTE_MAPPER_PROPERTY.equals(newAttr.getName())
49 && newAttr.getType() != oldAttr.getType()) {
50 return newAttr;
H A DPolicyConfigUpgradeHelper.java49 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
59 // newAttr instead.
60 newAttr = updateDefaultValues(newAttr, oldAttr.getDefaultValues());
61 return newAttr;
H A DScriptedAuthHelper.java44 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
47 if (attributeNames.contains(newAttr.getName())) {
48 return newAttr;
H A DUmaProviderUpgradeHelper.java42 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
44 if (attributeNames.contains(newAttr.getName())) {
45 return newAttr;
H A DAgentServiceHelper.java48 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
51 if (UpgradeOAuth2ClientStep.CHANGED_PROPERTIES.contains(newAttr.getName())) {
56 } else if ((POLICY_CACHE_MODE.equals(newAttr.getName()) && oldAttr.getDefaultValues().contains("self"))
57 || (FETCH_FROM_ROOT.equals(newAttr.getName()) && oldAttr.getDefaultValues().contains("false"))) {
60 } else if ((ACTION_VALUES.equals(newAttr.getName()) || IDTOKEN_SIGNED_RESPONSE_ALG.equals(newAttr.getName()))
61 && newAttr.getDefaultValues().equals(oldAttr.getDefaultValues())) {
65 return newAttr;
H A DIdRepoServiceHelper.java45 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
50 if (MIN_POOL_SIZE.equals(newAttr.getName())) {
52 String newKey = newAttr.getI18NKey();
56 return newAttr;
61 if (oldAttr.getDefaultValues().equals(newAttr.getDefaultValues())) {
64 return newAttr;
H A DLoggingUpgradeHelper.java47 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
49 if (SUN_AM_LOG_LEVEL_ATTR.equals(newAttr.getName())
51 return newAttr;
52 } else if (LOGGING_TYPE.equals(newAttr.getName())
54 newAttr = updateDefaultValues(newAttr, oldAttr.getDefaultValues());
55 return newAttr;
H A DOAuth2ProviderUpgradeHelper.java52 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
55 if (ID_TOKEN_SIGNING_ALGORITHMS.equals(newAttr.getName())) {
64 } else if (JKWS_URI.equals(newAttr.getName()) && !oldAttr.getType().equals(newAttr.getType())) {
65 return newAttr;
66 } else if (SUPPORTED_CLAIMS.equals(newAttr.getName())) {
68 final Set<String> newClaims = newAttr.getDefaultValues();
70 return updateDefaultValues(oldAttr, newAttr.getDefaultValues());
72 } else if (OIDC_CLAIMS_EXTENSION_SCRIPT.equals(newAttr.getName())) {
73 if (!oldAttr.getDefaultValues().equals(newAttr
[all...]
H A DRestApiUpgradeHelper.java43 * @param newAttr The attribute schema definition to be modified.
48 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException { argument
49 return updateDefaultValues(newAttr, Collections.singleton(OLDEST_VERSION));
59 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/helpers/
H A DAuditUpgradeHelper.java40 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException { argument
41 return updateDefaultValues(newAttr, singleton("false"));
45 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
H A DOAuth2AuthModuleUpgradeHelper.java37 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
40 if ((ACCOUNT_MAPPER_PROPERTY.equals(newAttr.getName()) || ATTRIBUTE_MAPPER_PROPERTY.equals(newAttr.getName()))
41 && !oldAttr.getDefaultValues().equals(newAttr.getDefaultValues())) {
43 return newAttr;
48 if (ATTRIBUTE_MAPPER_PROPERTY.equals(newAttr.getName())
49 && newAttr.getType() != oldAttr.getType()) {
50 return newAttr;
H A DPolicyConfigUpgradeHelper.java49 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
59 // newAttr instead.
60 newAttr = updateDefaultValues(newAttr, oldAttr.getDefaultValues());
61 return newAttr;
H A DScriptedAuthHelper.java44 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
47 if (attributeNames.contains(newAttr.getName())) {
48 return newAttr;
H A DUmaProviderUpgradeHelper.java42 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
44 if (attributeNames.contains(newAttr.getName())) {
45 return newAttr;
H A DAgentServiceHelper.java48 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
51 if (UpgradeOAuth2ClientStep.CHANGED_PROPERTIES.contains(newAttr.getName())) {
56 } else if ((POLICY_CACHE_MODE.equals(newAttr.getName()) && oldAttr.getDefaultValues().contains("self"))
57 || (FETCH_FROM_ROOT.equals(newAttr.getName()) && oldAttr.getDefaultValues().contains("false"))) {
60 } else if ((ACTION_VALUES.equals(newAttr.getName()) || IDTOKEN_SIGNED_RESPONSE_ALG.equals(newAttr.getName()))
61 && newAttr.getDefaultValues().equals(oldAttr.getDefaultValues())) {
63 } else if (FQDN_CHECK.equals(newAttr.getName())
64 && newAttr.getDefaultValues().equals(oldAttr.getDefaultValues())) {
68 return newAttr;
[all...]
H A DDashboardServiceHelper.java58 AttributeSchemaImpl newAttr) throws UpgradeException {
59 if(attributesRequireUpdate.contains(newAttr.getName()) && !newAttr.getI18NKey().equals(oldAttr.getI18NKey())) {
60 return newAttr;
57 upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
H A DIdRepoServiceHelper.java45 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
50 if (MIN_POOL_SIZE.equals(newAttr.getName())) {
52 String newKey = newAttr.getI18NKey();
56 return newAttr;
61 if (oldAttr.getDefaultValues().equals(newAttr.getDefaultValues())) {
64 return newAttr;
H A DLoggingUpgradeHelper.java47 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
49 if (SUN_AM_LOG_LEVEL_ATTR.equals(newAttr.getName())
51 return newAttr;
52 } else if (LOGGING_TYPE.equals(newAttr.getName())
54 newAttr = updateDefaultValues(newAttr, oldAttr.getDefaultValues());
55 return newAttr;
H A DOpenIdConnectAuthModuleServiceHelper.java38 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) throws UpgradeException { argument
39 if (!newAttr.getI18NKey().equals(oldAttr.getI18NKey())) {
40 return newAttr;
H A DRestApiUpgradeHelper.java43 * @param newAttr The attribute schema definition to be modified.
48 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException { argument
49 return updateDefaultValues(newAttr, Collections.singleton(OLDEST_VERSION));
59 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
H A DSAML2ConfigHelper.java41 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
48 updateDefaultValues(newAttr, Collections.singleton(currentValue));
49 return newAttr;
/forgerock/openam-v13/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeHelper.java43 * @param newAttr The new attribute schema
47 public AttributeSchemaImpl addNewAttribute(Set<AttributeSchemaImpl> existingAttrs, AttributeSchemaImpl newAttr) argument
54 * @param newAttr The new attribute schema
58 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
65 * @param newAttr The new attribute schema
69 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException; argument
/forgerock/openam/openam-upgrade/src/main/java/org/forgerock/openam/upgrade/
H A DUpgradeHelper.java43 * @param newAttr The new attribute schema
47 public AttributeSchemaImpl addNewAttribute(Set<AttributeSchemaImpl> existingAttrs, AttributeSchemaImpl newAttr) argument
54 * @param newAttr The new attribute schema
58 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
65 * @param newAttr The new attribute schema
69 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException; argument
/forgerock/openam-v13/openam-upgrade/src/main/java/com/sun/identity/sm/
H A DAbstractUpgradeHelper.java90 public AttributeSchemaImpl addNewAttribute(Set<AttributeSchemaImpl> existingAttrs, AttributeSchemaImpl newAttr) argument
92 return newAttr;
101 * @param newAttr The attribute schema definition we are planning to upgrade to.
103 * implementations MUST return <code>null</code>, otherwise either the amended attribute or the newAttr can be
107 public abstract AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl oldAttr, AttributeSchemaImpl newAttr) argument
115 * @param newAttr The attribute schema definition we are planning to upgrade to.
120 public AttributeSchemaImpl upgradeAttribute(AttributeSchemaImpl newAttr) throws UpgradeException { argument

Completed in 39 milliseconds

12