diff --git a/components/action-mgt/org.wso2.carbon.identity.action.execution/pom.xml b/components/action-mgt/org.wso2.carbon.identity.action.execution/pom.xml
index 2e6db6cd70be..39d135c393df 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.execution/pom.xml
+++ b/components/action-mgt/org.wso2.carbon.identity.action.execution/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
action-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/pom.xml b/components/action-mgt/org.wso2.carbon.identity.action.management/pom.xml
index a36facedd41b..accda5a114c9 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/pom.xml
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
action-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
@@ -105,7 +105,8 @@
org.osgi.framework; version="${osgi.framework.imp.pkg.version.range}",
org.osgi.service.component; version="${osgi.service.component.imp.pkg.version.range}",
org.json.*; version="${json.wso2.version.range}",
- org.wso2.carbon.database.utils.jdbc;version="${org.wso2.carbon.database.utils.version.range}",
+ org.wso2.carbon.database.utils.jdbc; version="${org.wso2.carbon.database.utils.version.range}",
+ org.wso2.carbon.database.utils.jdbc.exceptions; version="${org.wso2.carbon.database.utils.version.range}",
org.wso2.carbon.identity.core.cache; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.core.util; version="${carbon.identity.package.import.version.range}",
org.wso2.carbon.identity.secret.mgt.core; version="${carbon.identity.package.import.version.range}",
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/constant/ActionMgtConstants.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/constant/ActionMgtConstants.java
index f754caeec158..5eff6fda6669 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/constant/ActionMgtConstants.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/constant/ActionMgtConstants.java
@@ -86,7 +86,9 @@ public enum ErrorMessages {
"Error while decrypting Action Endpoint Authentication properties in the system."),
ERROR_NO_AUTHENTICATION_TYPE("65013",
"Error while retrieving Action Endpoint Authentication configurations",
- "Authentication type is not defined for the Action Endpoint.");
+ "Authentication type is not defined for the Action Endpoint."),
+ ERROR_WHILE_UPDATING_ACTION_BASIC_INFO("65014", "Error while updating basic Action information",
+ "Error while updating basic Action information in the system.");
private final String code;
private final String message;
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/dao/impl/ActionManagementDAOImpl.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/dao/impl/ActionManagementDAOImpl.java
index 6ce5e31757b4..95bc2f54917a 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/dao/impl/ActionManagementDAOImpl.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/dao/impl/ActionManagementDAOImpl.java
@@ -21,12 +21,15 @@
import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
-import org.wso2.carbon.database.utils.jdbc.NamedPreparedStatement;
+import org.wso2.carbon.database.utils.jdbc.NamedJdbcTemplate;
+import org.wso2.carbon.database.utils.jdbc.exceptions.DataAccessException;
+import org.wso2.carbon.database.utils.jdbc.exceptions.TransactionException;
import org.wso2.carbon.identity.action.management.ActionSecretProcessor;
import org.wso2.carbon.identity.action.management.constant.ActionMgtConstants;
import org.wso2.carbon.identity.action.management.constant.ActionMgtSQLConstants;
import org.wso2.carbon.identity.action.management.dao.ActionManagementDAO;
import org.wso2.carbon.identity.action.management.exception.ActionMgtException;
+import org.wso2.carbon.identity.action.management.exception.ActionMgtRuntimeException;
import org.wso2.carbon.identity.action.management.exception.ActionMgtServerException;
import org.wso2.carbon.identity.action.management.model.Action;
import org.wso2.carbon.identity.action.management.model.AuthProperty;
@@ -35,12 +38,7 @@
import org.wso2.carbon.identity.action.management.util.ActionManagementUtil;
import org.wso2.carbon.identity.core.util.IdentityDatabaseUtil;
import org.wso2.carbon.identity.core.util.IdentityTenantUtil;
-import org.wso2.carbon.identity.secret.mgt.core.exception.SecretManagementException;
-import java.sql.Connection;
-import java.sql.ResultSet;
-import java.sql.SQLException;
-import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@@ -63,75 +61,69 @@ public ActionManagementDAOImpl() {
public Action addAction(String actionType, String actionId, Action action, Integer tenantId)
throws ActionMgtException {
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(true);
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
try {
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.ADD_ACTION_TO_ACTION_TYPE)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_NAME, action.getName());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION, action.getDescription());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_STATUS, String.valueOf(Action.Status.ACTIVE));
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.executeUpdate();
+ jdbcTemplate.withTransaction(template -> {
+ template.executeInsert(ActionMgtSQLConstants.Query.ADD_ACTION_TO_ACTION_TYPE,
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_NAME, action.getName());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION, action.getDescription());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_STATUS,
+ String.valueOf(Action.Status.ACTIVE));
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ }, action, false);
// Encrypt secrets.
List encryptedAuthProperties = actionSecretProcessor
.encryptAssociatedSecrets(action.getEndpoint().getAuthentication(), actionId);
+
// Add Endpoint configuration properties.
- addEndpointProperties(dbConnection, actionId, getEndpointProperties(action.getEndpoint().getUri(),
+ addEndpointProperties(actionId, getEndpointProperties(action.getEndpoint().getUri(),
action.getEndpoint().getAuthentication().getType().name(), encryptedAuthProperties), tenantId);
- IdentityDatabaseUtil.commitTransaction(dbConnection);
-
- return getActionByActionId(actionType, actionId, tenantId);
- } catch (SQLException | ActionMgtException e) {
- if (LOG.isDebugEnabled()) {
- LOG.debug(String.format("Error while creating the Action of Action Type: %s in Tenant Domain: %s." +
- " Rolling back created action information and deleting added secrets.", actionType,
- IdentityTenantUtil.getTenantDomain(tenantId)));
- }
- actionSecretProcessor.deleteAssociatedSecrets(action.getEndpoint().getAuthentication(), actionId);
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
- throw ActionManagementUtil.handleServerException(
- ActionMgtConstants.ErrorMessages.ERROR_WHILE_ADDING_ACTION, e);
+
+ return null;
+ });
+
+ return getActionByActionId(actionType, actionId, tenantId);
+ } catch (TransactionException e) {
+ if (LOG.isDebugEnabled()) {
+ LOG.debug(String.format("Error while creating the Action of Action Type: %s in Tenant Domain: %s." +
+ " Rolling back created action information and deleting added secrets.", actionType,
+ IdentityTenantUtil.getTenantDomain(tenantId)));
}
- } catch (SecretManagementException e) {
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_ADDING_ACTION, e);
- } finally {
- IdentityDatabaseUtil.closeConnection(dbConnection);
}
}
@Override
public List getActionsByActionType(String actionType, Integer tenantId) throws ActionMgtException {
- List actions = new ArrayList<>();
- try (Connection dbConnection = IdentityDatabaseUtil.getDBConnection(false);
- NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.GET_ACTIONS_BASIC_INFO_BY_ACTION_TYPE)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
-
- try (ResultSet rs = statement.executeQuery()) {
- while (rs.next()) {
- String actionId = rs.getString(ActionMgtSQLConstants.Column.ACTION_UUID);
-
- actions.add(new Action.ActionResponseBuilder()
- .id(actionId)
- .type(Action.ActionTypes.valueOf(
- rs.getString(ActionMgtSQLConstants.Column.ACTION_TYPE)))
- .name(rs.getString(ActionMgtSQLConstants.Column.ACTION_NAME))
- .description(rs.getString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION))
- .status(Action.Status.valueOf(
- rs.getString(ActionMgtSQLConstants.Column.ACTION_STATUS)))
- .endpoint(getActionEndpointConfigById(dbConnection, actionId, tenantId)).build());
- }
- }
- return actions;
- } catch (SQLException | ActionMgtException e) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ return jdbcTemplate.executeQuery(ActionMgtSQLConstants.Query.GET_ACTIONS_BASIC_INFO_BY_ACTION_TYPE,
+ (resultSet, rowNumber) -> new Action.ActionResponseBuilder()
+ .id(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_UUID))
+ .type(Action.ActionTypes
+ .valueOf(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_TYPE)))
+ .name(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_NAME))
+ .description(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION))
+ .status(Action.Status
+ .valueOf(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_STATUS)))
+ .endpoint(getActionEndpointConfigById(
+ resultSet.getString(ActionMgtSQLConstants.Column.ACTION_UUID), tenantId))
+ .build(),
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+ } catch (ActionMgtRuntimeException | DataAccessException e) {
+ /**
+ * Handling {@link ActionMgtRuntimeException}, which is intentionally thrown to represent underlying
+ * exceptions from the {@link #getActionEndpointConfigById(String, Integer)} method.
+ */
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTIONS_BY_ACTION_TYPE, e);
}
@@ -139,39 +131,28 @@ public List getActionsByActionType(String actionType, Integer tenantId)
@Override
public Action updateAction(String actionType, String actionId, Action updatingAction, Action existingAction,
- Integer tenantId)
- throws ActionMgtException {
-
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(true);
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.UPDATE_ACTION_BASIC_INFO)) {
+ Integer tenantId) throws ActionMgtException {
- statement.setString(ActionMgtSQLConstants.Column.ACTION_NAME, StringUtils.isEmpty(updatingAction.getName())
- ? existingAction.getName() : updatingAction.getName());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION, updatingAction.getDescription() == null
- ? existingAction.getDescription() : updatingAction.getDescription());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.executeUpdate();
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.withTransaction(template -> {
+ // Update Basic Info.
+ updateBasicInfo(actionType, actionId, updatingAction, existingAction, tenantId);
+ // Update Endpoint URI and Authentication.
+ updateEndpointUriAndAuthentication(actionId, updatingAction, existingAction, tenantId);
- // Update Endpoint URI and Authentication.
- updateEndpointUriAndAuthentication(dbConnection, actionType, actionId, updatingAction, existingAction,
- tenantId);
- IdentityDatabaseUtil.commitTransaction(dbConnection);
+ return null;
+ });
return getActionByActionId(actionType, actionId, tenantId);
- } catch (SQLException | ActionMgtException e) {
+ } catch (TransactionException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(String.format("Error while updating the Action of Action Type: %s and Action ID: %s in" +
" Tenant Domain: %s. Rolling back updated action information.", actionType, actionId,
IdentityTenantUtil.getTenantDomain(tenantId)));
}
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ACTION, e);
- } finally {
- IdentityDatabaseUtil.closeConnection(dbConnection);
}
}
@@ -179,29 +160,28 @@ public Action updateAction(String actionType, String actionId, Action updatingAc
public void deleteAction(String actionType, String actionId, Action action, Integer tenantId)
throws ActionMgtException {
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(false);
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.DELETE_ACTION)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.executeUpdate();
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.withTransaction(template -> {
+ template.executeUpdate(ActionMgtSQLConstants.Query.DELETE_ACTION,
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+ // Delete action endpoint authentication related secrets.
+ actionSecretProcessor.deleteAssociatedSecrets(action.getEndpoint().getAuthentication(), actionId);
- // Delete action endpoint authentication related secrets.
- actionSecretProcessor.deleteAssociatedSecrets(action.getEndpoint().getAuthentication(), actionId);
- IdentityDatabaseUtil.commitTransaction(dbConnection);
- } catch (SQLException | SecretManagementException e) {
+ return null;
+ });
+ } catch (TransactionException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(String.format("Error while deleting the Action of Action Type: %s and Action ID: %s in" +
" Tenant Domain: %s. Rolling back deleted action information.", actionType, actionId,
IdentityTenantUtil.getTenantDomain(tenantId)));
}
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_DELETING_ACTION, e);
- } finally {
- IdentityDatabaseUtil.closeConnection(dbConnection);
}
}
@@ -221,20 +201,17 @@ public Action deactivateAction(String actionType, String actionId, Integer tenan
public Map getActionsCountPerType(Integer tenantId) throws ActionMgtException {
Map actionTypesCountMap = new HashMap<>();
- try (Connection dbConnection = IdentityDatabaseUtil.getDBConnection(false);
- NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.GET_ACTIONS_COUNT_PER_ACTION_TYPE)) {
-
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- try (ResultSet resultSet = statement.executeQuery()) {
- while (resultSet.next()) {
-
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.executeQuery(ActionMgtSQLConstants.Query.GET_ACTIONS_COUNT_PER_ACTION_TYPE,
+ (resultSet, rowNumber) -> {
actionTypesCountMap.put(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_TYPE),
resultSet.getInt(ActionMgtSQLConstants.Column.ACTION_COUNT));
- }
- }
+ return null;
+ }, statement -> statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId));
+
return actionTypesCountMap;
- } catch (SQLException e) {
+ } catch (DataAccessException e) {
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTIONS_COUNT_PER_TYPE, e);
}
@@ -243,14 +220,25 @@ public Map getActionsCountPerType(Integer tenantId) throws Acti
@Override
public Action getActionByActionId(String actionType, String actionId, Integer tenantId) throws ActionMgtException {
- try (Connection dbConnection = IdentityDatabaseUtil.getDBConnection(false)) {
- Action action = getActionBasicInfoById(dbConnection, actionType, actionId, tenantId);
+ try {
+ Action action = getActionBasicInfoById(actionType, actionId, tenantId);
if (action != null) {
- action.setEndpoint(getActionEndpointConfigById(dbConnection, actionId, tenantId));
+ action = new Action.ActionResponseBuilder()
+ .id(actionId)
+ .type(Action.ActionTypes.valueOf(actionType))
+ .name(action.getName())
+ .description(action.getDescription())
+ .status(action.getStatus())
+ .endpoint(getActionEndpointConfigById(actionId, tenantId))
+ .build();
}
return action;
- } catch (SQLException e) {
+ } catch (ActionMgtException | ActionMgtRuntimeException e) {
+ /**
+ * Handling {@link ActionMgtRuntimeException}, which is intentionally thrown to represent underlying
+ * exceptions from the {@link #getActionEndpointConfigById(String, Integer)} method.
+ */
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTION_BY_ID, e);
}
@@ -260,9 +248,7 @@ public Action getActionByActionId(String actionType, String actionId, Integer te
public Action updateActionEndpointAuthProperties(String actionType, String actionId, Authentication authentication,
int tenantId) throws ActionMgtException {
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(true);
- updateActionEndpointAuthProperties(dbConnection, actionId, authentication, tenantId);
- IdentityDatabaseUtil.closeConnection(dbConnection);
+ updateActionEndpointAuthProperties(actionId, authentication, tenantId);
return getActionByActionId(actionType, actionId, tenantId);
}
@@ -271,42 +257,41 @@ public Action updateActionEndpoint(String actionType, String actionId, EndpointC
Authentication currentAuthentication, int tenantId)
throws ActionMgtException {
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(true);
- updateActionEndpoint(dbConnection, actionType, actionId, endpoint, currentAuthentication, tenantId);
- IdentityDatabaseUtil.closeConnection(dbConnection);
+ updateActionEndpoint(actionId, endpoint, currentAuthentication, tenantId);
return getActionByActionId(actionType, actionId, tenantId);
}
/**
* Update the endpoint authentication properties of an {@link Action} by given Action ID.
*
- * @param dbConnection DB Connection.
* @param actionId Action ID.
* @param authentication Authentication information to be updated.
* @param tenantId Tenant Id.
* @throws ActionMgtServerException If an error occurs while updating the Action endpoint authentication properties.
*/
- private void updateActionEndpointAuthProperties(Connection dbConnection, String actionId,
- Authentication authentication, int tenantId)
+ private void updateActionEndpointAuthProperties(String actionId, Authentication authentication, int tenantId)
throws ActionMgtServerException {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
try {
Map nonSecretEndpointProperties = authentication.getProperties().stream()
.filter(property -> !property.getIsConfidential())
.collect(Collectors.toMap(AuthProperty::getName, AuthProperty::getValue));
- // Update non-secret endpoint properties.
- updateActionEndpointProperties(dbConnection, actionId, nonSecretEndpointProperties, tenantId);
- // Encrypt and update secret endpoint properties.
- actionSecretProcessor.encryptAssociatedSecrets(authentication, actionId);
- IdentityDatabaseUtil.commitTransaction(dbConnection);
- } catch (ActionMgtException | SecretManagementException e) {
+
+ jdbcTemplate.withTransaction(template -> {
+ // Update non-secret endpoint properties.
+ updateActionEndpointProperties(actionId, nonSecretEndpointProperties, tenantId);
+ // Encrypt and update secret endpoint properties.
+ actionSecretProcessor.encryptAssociatedSecrets(authentication, actionId);
+ return null;
+ });
+ } catch (TransactionException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(String.format("Error while updating the Action Endpoint Authentication Properties of " +
"Auth type: %s and Action ID: %s in Tenant Domain: %s. Rolling back updated action" +
" endpoint authentication properties.", authentication.getType(), actionId,
IdentityTenantUtil.getTenantDomain(tenantId)));
}
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ENDPOINT_PROPERTIES, e);
}
@@ -315,36 +300,37 @@ private void updateActionEndpointAuthProperties(Connection dbConnection, String
/**
* Update the endpoint information of an {@link Action} by given Action ID.
*
- * @param dbConnection DB Connection.
- * @param actionType Action Type.
* @param actionId Action ID.
* @param endpoint Endpoint information to be updated.
* @param currentAuthentication Current Action endpoint authentication information.
* @param tenantId Tenant Id.
* @throws ActionMgtServerException If an error occurs while updating the Action endpoint.
*/
- private void updateActionEndpoint(Connection dbConnection, String actionType, String actionId,
- EndpointConfig endpoint, Authentication currentAuthentication, int tenantId)
- throws ActionMgtServerException {
-
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.DELETE_ACTION_ENDPOINT_PROPERTIES)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.executeUpdate();
+ private void updateActionEndpoint(String actionId, EndpointConfig endpoint, Authentication currentAuthentication,
+ int tenantId) throws ActionMgtServerException {
- // Add new Endpoint configuration properties.
- addEndpointProperties(dbConnection, actionId, getEndpointProperties(endpoint.getUri(),
- endpoint.getAuthentication().getType().name(),
- endpoint.getAuthentication().getPropertiesWithSecretReferences(actionId)), tenantId);
- // Encrypt and add new endpoint properties secrets.
- actionSecretProcessor.encryptAssociatedSecrets(endpoint.getAuthentication(), actionId);
-
- // Delete old secrets.
- actionSecretProcessor.deleteAssociatedSecrets(currentAuthentication, actionId);
- IdentityDatabaseUtil.commitTransaction(dbConnection);
- } catch (SQLException | ActionMgtException | SecretManagementException e) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.withTransaction(template -> {
+ template.executeUpdate(ActionMgtSQLConstants.Query.DELETE_ACTION_ENDPOINT_PROPERTIES,
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+
+ // Add new Endpoint configuration properties.
+ Map propertiesMap = getEndpointProperties(endpoint.getUri(),
+ endpoint.getAuthentication().getType().name(),
+ endpoint.getAuthentication().getPropertiesWithSecretReferences(actionId));
+ addEndpointProperties(actionId, propertiesMap, tenantId);
+ // Encrypt and add new endpoint properties secrets.
+ actionSecretProcessor.encryptAssociatedSecrets(endpoint.getAuthentication(), actionId);
+
+ // Delete old secrets.
+ actionSecretProcessor.deleteAssociatedSecrets(currentAuthentication, actionId);
+ return null;
+ });
+ } catch (TransactionException e) {
if (LOG.isDebugEnabled()) {
LOG.debug(String.format("Error while updating the Action Endpoint Authentication from Auth type: %s" +
" to Auth type: %s of Action ID: %s in Tenant Domain: %s. Rolling back updated" +
@@ -352,7 +338,6 @@ private void updateActionEndpoint(Connection dbConnection, String actionType, St
endpoint.getAuthentication().getType(), actionId,
IdentityTenantUtil.getTenantDomain(tenantId)));
}
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ENDPOINT_PROPERTIES, e);
}
@@ -361,28 +346,32 @@ private void updateActionEndpoint(Connection dbConnection, String actionType, St
/**
* Add Action Endpoint properties to the Database.
*
- * @param dbConnection DB Connection.
* @param actionId UUID of the created Action.
* @param endpointProperties Endpoint properties of the Action.
* @param tenantId Tenant ID.
* @throws ActionMgtServerException If an error occurs while adding endpoint properties to the database.
*/
- private void addEndpointProperties(Connection dbConnection, String actionId,
- Map endpointProperties, Integer tenantId)
+ private void addEndpointProperties(String actionId, Map endpointProperties, Integer tenantId)
throws ActionMgtException {
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.ADD_ACTION_ENDPOINT_PROPERTIES)) {
-
- for (Map.Entry property : endpointProperties.entrySet()) {
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME, property.getKey());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE, property.getValue());
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.addBatch();
- }
- statement.executeBatch();
- } catch (SQLException e) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.withTransaction(template -> {
+ template.executeBatchInsert(ActionMgtSQLConstants.Query.ADD_ACTION_ENDPOINT_PROPERTIES,
+ statement -> {
+ for (Map.Entry property : endpointProperties.entrySet()) {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME,
+ property.getKey());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE,
+ property.getValue());
+ statement.addBatch();
+ }
+ }, null);
+ return null;
+ });
+ } catch (TransactionException e) {
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_ADDING_ENDPOINT_PROPERTIES, e);
}
@@ -391,115 +380,85 @@ private void addEndpointProperties(Connection dbConnection, String actionId,
/**
* Get Action Basic Info by Action ID.
*
- * @param dbConnection DB Connection.
* @param actionId UUID of the created Action.
* @param tenantId Tenant ID.
* @return Action Basic Info.
* @throws ActionMgtException If an error occurs while retrieving action basic info from the database.
*/
- private Action getActionBasicInfoById(Connection dbConnection, String actionType, String actionId, Integer tenantId)
+ private Action getActionBasicInfoById(String actionType, String actionId, Integer tenantId)
throws ActionMgtException {
- Action action = null;
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.GET_ACTION_BASIC_INFO_BY_ID)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
-
- try (ResultSet rs = statement.executeQuery()) {
- if (rs.next()) {
- action = new Action.ActionResponseBuilder()
- .id(actionId)
- .type(Action.ActionTypes.valueOf(rs.getString(ActionMgtSQLConstants.Column.ACTION_TYPE)))
- .name(rs.getString(ActionMgtSQLConstants.Column.ACTION_NAME))
- .description(rs.getString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION))
- .status(Action.Status.valueOf(rs.getString(ActionMgtSQLConstants.Column.ACTION_STATUS)))
- .build();
- }
- }
- } catch (SQLException e) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ return jdbcTemplate.fetchSingleRecord(ActionMgtSQLConstants.Query.GET_ACTION_BASIC_INFO_BY_ID,
+ (resultSet, rowNumber) -> new Action.ActionResponseBuilder()
+ .id(actionId)
+ .type(Action.ActionTypes.valueOf(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_TYPE)))
+ .name(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_NAME))
+ .description(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION))
+ .status(Action.Status.valueOf(resultSet.getString(ActionMgtSQLConstants.Column.ACTION_STATUS)))
+ .build(),
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+ } catch (DataAccessException e) {
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTION_BASIC_INFO, e);
}
- return action;
}
/**
* Get Action Endpoint properties by ID.
*
- * @param dbConnection DB Connection.
* @param actionUUID UUID of the created Action.
* @param tenantId Tenant ID.
* @return Endpoint Configuration.
- * @throws ActionMgtServerException If an error occurs while retrieving endpoint properties from the database.
+ * @throws ActionMgtRuntimeException If an error occurs while retrieving endpoint properties from the database.
*/
- private EndpointConfig getActionEndpointConfigById(Connection dbConnection, String actionUUID, Integer tenantId)
- throws ActionMgtException {
+ private EndpointConfig getActionEndpointConfigById(String actionUUID, Integer tenantId)
+ throws ActionMgtRuntimeException {
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.GET_ACTION_ENDPOINT_INFO_BY_ID)) {
-
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionUUID);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
-
- try (ResultSet rs = statement.executeQuery()) {
-
- String endpointUri = null;
- Authentication authentication = null;
- Authentication.Type authnType = null;
- Map authnPropertiesMap = new HashMap<>();
-
- while (rs.next()) {
- String propName = rs.getString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME);
- String propValue = rs.getString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE);
-
- if (propName.equals(ActionMgtConstants.URI_ATTRIBUTE)) {
- endpointUri = propValue;
- } else if (propName.equals(ActionMgtConstants.AUTHN_TYPE_ATTRIBUTE)) {
- authnType = Authentication.Type.valueOf(propValue);
- } else {
- // Authentication properties.
- authnPropertiesMap.put(propName, propValue);
- }
- }
-
- if (authnType != null) {
- switch (authnType) {
- case BASIC:
- authentication = new Authentication.BasicAuthBuilder(
- authnPropertiesMap.get(Authentication.Property.USERNAME.getName()),
- authnPropertiesMap.get(Authentication.Property.PASSWORD.getName())).build();
- break;
- case BEARER:
- authentication = new Authentication.BearerAuthBuilder(
- authnPropertiesMap.get(Authentication.Property.ACCESS_TOKEN.getName())).build();
- break;
- case API_KEY:
- authentication = new Authentication.APIKeyAuthBuilder(
- authnPropertiesMap.get(Authentication.Property.HEADER.getName()),
- authnPropertiesMap.get(Authentication.Property.VALUE.getName())).build();
- break;
- case NONE:
- authentication = new Authentication.NoneAuthBuilder().build();
- break;
- default:
- break;
- }
- } else {
- ActionMgtConstants.ErrorMessages error =
- ActionMgtConstants.ErrorMessages.ERROR_NO_AUTHENTICATION_TYPE;
- throw new ActionMgtServerException(error.getMessage(), error.getDescription(), error.getCode());
- }
-
- return new EndpointConfig.EndpointConfigBuilder()
- .uri(endpointUri)
- .authentication(authentication).build();
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ Map actionEndpointProperties = new HashMap<>();
+ jdbcTemplate.executeQuery(ActionMgtSQLConstants.Query.GET_ACTION_ENDPOINT_INFO_BY_ID,
+ (resultSet, rowNumber) -> {
+ actionEndpointProperties.put(
+ resultSet.getString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME),
+ resultSet.getString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE));
+ return null;
+ },
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionUUID);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+
+ Authentication authentication = null;
+ if (actionEndpointProperties.containsKey(ActionMgtConstants.AUTHN_TYPE_ATTRIBUTE)) {
+ authentication = new Authentication.AuthenticationBuilder()
+ .type(Authentication.Type.valueOf(
+ actionEndpointProperties.get(ActionMgtConstants.AUTHN_TYPE_ATTRIBUTE)))
+ .properties(actionEndpointProperties)
+ .build();
+ } else {
+ throw ActionManagementUtil.handleServerException(
+ ActionMgtConstants.ErrorMessages.ERROR_NO_AUTHENTICATION_TYPE, null);
}
- } catch (SQLException e) {
- throw ActionManagementUtil.handleServerException(
- ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTION_ENDPOINT_PROPERTIES, e);
+
+ return new EndpointConfig.EndpointConfigBuilder()
+ .uri(actionEndpointProperties.get(ActionMgtConstants.URI_ATTRIBUTE))
+ .authentication(authentication).build();
+ } catch (ActionMgtServerException | DataAccessException e) {
+ /**
+ * Throwing a runtime exception because {@link ActionMgtServerException} and {@link DataAccessException}
+ * is not handled in {@link org.wso2.carbon.database.utils.jdbc.RowMapper} of
+ * {@link NamedJdbcTemplate#executeQuery(String, org.wso2.carbon.database.utils.jdbc.RowMapper,
+ * org.wso2.carbon.database.utils.jdbc.NamedQueryFilter)}
+ */
+ throw ActionManagementUtil.handleRuntimeException(
+ ActionMgtConstants.ErrorMessages.ERROR_WHILE_RETRIEVING_ACTION_ENDPOINT_PROPERTIES.getMessage(), e);
}
}
@@ -533,27 +492,31 @@ private Map getEndpointProperties(String endpointUri, String aut
/**
* Update Action Endpoint properties.
*
- * @param dbConnection DB Connection.
* @param actionId UUID of the created Action.
* @param endpointProperties Endpoint Properties to be updated.
* @param tenantId Tenant ID.
*/
- private void updateActionEndpointProperties(Connection dbConnection, String actionId,
- Map endpointProperties, Integer tenantId)
- throws ActionMgtException {
-
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.UPDATE_ACTION_ENDPOINT_PROPERTIES)) {
+ private void updateActionEndpointProperties(String actionId, Map endpointProperties,
+ Integer tenantId) throws ActionMgtException {
- for (Map.Entry property : endpointProperties.entrySet()) {
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE, property.getValue());
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME, property.getKey());
- statement.addBatch();
- }
- statement.executeBatch();
- } catch (SQLException e) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.withTransaction(template -> {
+ template.executeBatchInsert(ActionMgtSQLConstants.Query.UPDATE_ACTION_ENDPOINT_PROPERTIES,
+ statement -> {
+ for (Map.Entry property : endpointProperties.entrySet()) {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_VALUE,
+ property.getValue());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_PROPERTY_NAME,
+ property.getKey());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_ENDPOINT_UUID, actionId);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ statement.addBatch();
+ }
+ }, null);
+ return null;
+ });
+ } catch (TransactionException e) {
throw ActionManagementUtil.handleServerException(
ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ENDPOINT_PROPERTIES, e);
}
@@ -571,46 +534,70 @@ private void updateActionEndpointProperties(Connection dbConnection, String acti
private Action changeActionStatus(String actionType, String actionId, String status, Integer tenantId)
throws ActionMgtException {
- Connection dbConnection = IdentityDatabaseUtil.getDBConnection(true);
- try (NamedPreparedStatement statement = new NamedPreparedStatement(dbConnection,
- ActionMgtSQLConstants.Query.CHANGE_ACTION_STATUS)) {
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.executeUpdate(ActionMgtSQLConstants.Query.CHANGE_ACTION_STATUS,
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_STATUS, status);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+
+ return getActionBasicInfoById(actionType, actionId, tenantId);
+ } catch (DataAccessException e) {
+ throw ActionManagementUtil.handleServerException(
+ ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ACTION_STATUS, e);
+ }
+ }
+
+ /**
+ * Update the basic information of an {@link Action} by given Action ID.
+ *
+ * @param actionType Action Type.
+ * @param actionId Action ID.
+ * @param updatingAction Information to be updated.
+ * @param existingAction Existing Action information.
+ * @param tenantId Tenant ID.
+ * @throws ActionMgtServerException If an error occurs while updating the Action basic information.
+ */
+ private void updateBasicInfo(String actionType, String actionId, Action updatingAction, Action existingAction,
+ Integer tenantId) throws ActionMgtServerException {
- statement.setString(ActionMgtSQLConstants.Column.ACTION_STATUS, status);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
- statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
- statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
- statement.executeUpdate();
- IdentityDatabaseUtil.commitTransaction(dbConnection);
+ if (updatingAction.getName() == null && updatingAction.getDescription() == null) {
+ return;
+ }
- return getActionBasicInfoById(dbConnection, actionType, actionId, tenantId);
- } catch (SQLException e) {
- if (LOG.isDebugEnabled()) {
- LOG.debug(String.format("Error while updating the Action Status to %s of Action type: %s in " +
- "Tenant Domain: %s. Rolling back updated action status.", status, actionType,
- IdentityTenantUtil.getTenantDomain(tenantId)));
- }
- IdentityDatabaseUtil.rollbackTransaction(dbConnection);
+ NamedJdbcTemplate jdbcTemplate = new NamedJdbcTemplate(IdentityDatabaseUtil.getDataSource());
+ try {
+ jdbcTemplate.executeUpdate(ActionMgtSQLConstants.Query.UPDATE_ACTION_BASIC_INFO,
+ statement -> {
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_NAME,
+ updatingAction.getName() == null ? existingAction.getName() : updatingAction.getName());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_DESCRIPTION,
+ updatingAction.getDescription() == null ? existingAction.getDescription()
+ : updatingAction.getDescription());
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_UUID, actionId);
+ statement.setString(ActionMgtSQLConstants.Column.ACTION_TYPE, actionType);
+ statement.setInt(ActionMgtSQLConstants.Column.TENANT_ID, tenantId);
+ });
+ } catch (DataAccessException e) {
throw ActionManagementUtil.handleServerException(
- ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ACTION_STATUS, e);
- } finally {
- IdentityDatabaseUtil.closeConnection(dbConnection);
+ ActionMgtConstants.ErrorMessages.ERROR_WHILE_UPDATING_ACTION_BASIC_INFO, e);
}
}
/**
* Update the endpoint URI and authentication properties of an {@link Action} by given Action ID.
*
- * @param dbConnection DB Connection.
- * @param actionType Action Type.
* @param actionId Action ID.
* @param updatingAction Information to be updated.
* @param existingAction Existing Action information.
* @param tenantId Tenant ID.
* @throws ActionMgtException If an error occurs while updating the Action endpoint.
*/
- private void updateEndpointUriAndAuthentication(Connection dbConnection, String actionType, String actionId,
- Action updatingAction, Action existingAction, Integer tenantId)
- throws ActionMgtException {
+ private void updateEndpointUriAndAuthentication(String actionId, Action updatingAction, Action existingAction,
+ Integer tenantId) throws ActionMgtException {
EndpointConfig updatingEndpoint = updatingAction.getEndpoint();
if (updatingEndpoint == null) {
@@ -619,31 +606,30 @@ private void updateEndpointUriAndAuthentication(Connection dbConnection, String
}
Authentication updatingAuthentication = updatingEndpoint.getAuthentication();
+ if (updatingAuthentication == null) {
+ // When updating action, updates the URI only.
+ updateActionEndpointProperties(actionId, getEndpointProperties(updatingEndpoint.getUri(), null,
+ null), tenantId);
+ return;
+ }
+
Authentication existingAuthentication = existingAction.getEndpoint().getAuthentication();
- boolean isUriUpdating = !StringUtils.isEmpty(updatingEndpoint.getUri());
- boolean isAuthUpdating = updatingAuthentication != null;
- boolean isSameAuthType = isAuthUpdating && updatingAuthentication.getType()
- .equals(existingAuthentication.getType());
-
- // Update URI if it's changing.
- if (isUriUpdating && (!isAuthUpdating || isSameAuthType)) {
- updateActionEndpointProperties(dbConnection, actionId, getEndpointProperties(updatingEndpoint.getUri(),
- null, null), tenantId);
+ if (updatingAuthentication.getType().equals(existingAuthentication.getType())) {
+ // When updating action, updates the URI and the authentication properties only.
+ if (updatingEndpoint.getUri() != null) {
+ updateActionEndpointProperties(actionId, getEndpointProperties(updatingEndpoint.getUri(), null,
+ null), tenantId);
+ }
+ updateActionEndpointAuthProperties(actionId, updatingAuthentication, tenantId);
+ return;
}
- // If authentication is updating, and it's the same type, update auth properties only;
- // otherwise, update the entire endpoint.
- if (isAuthUpdating) {
- if (isSameAuthType) {
- updateActionEndpointAuthProperties(dbConnection, actionId, updatingAuthentication, tenantId);
- } else {
- updatingEndpoint = isUriUpdating ? updatingEndpoint : new EndpointConfig.EndpointConfigBuilder()
+ // When updating action, updates the entire endpoint.
+ updatingEndpoint = StringUtils.isNotEmpty(updatingEndpoint.getUri()) ? updatingEndpoint :
+ new EndpointConfig.EndpointConfigBuilder()
.uri(existingAction.getEndpoint().getUri())
.authentication(updatingAuthentication)
.build();
- updateActionEndpoint(dbConnection, actionType, actionId, updatingEndpoint, existingAuthentication,
- tenantId);
- }
- }
+ updateActionEndpoint(actionId, updatingEndpoint, existingAuthentication, tenantId);
}
}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/exception/ActionMgtRuntimeException.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/exception/ActionMgtRuntimeException.java
new file mode 100644
index 000000000000..778c8b90544e
--- /dev/null
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/exception/ActionMgtRuntimeException.java
@@ -0,0 +1,30 @@
+/*
+ * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
+ *
+ * WSO2 LLC. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.identity.action.management.exception;
+
+/**
+ * Runtime exception class for Action Management.
+ */
+public class ActionMgtRuntimeException extends RuntimeException {
+
+ public ActionMgtRuntimeException(String message, Throwable e) {
+
+ super(message, e);
+ }
+}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/model/Authentication.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/model/Authentication.java
index 5d1717a7aa71..5608107befc7 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/model/Authentication.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/model/Authentication.java
@@ -19,6 +19,7 @@
package org.wso2.carbon.identity.action.management.model;
import org.apache.commons.collections.CollectionUtils;
+import org.apache.commons.lang.StringUtils;
import org.wso2.carbon.identity.action.management.ActionSecretProcessor;
import org.wso2.carbon.identity.action.management.constant.ActionMgtConstants;
import org.wso2.carbon.identity.action.management.exception.ActionMgtException;
@@ -27,6 +28,8 @@
import java.util.ArrayList;
import java.util.List;
+import java.util.Map;
+import java.util.NoSuchElementException;
/**
* Authentication class which hold supported authentication types and their properties.
@@ -233,4 +236,62 @@ public Authentication build() {
return new Authentication(this);
}
}
+
+ /**
+ * This builder build endpoint by taking the authentication type and properties as input.
+ */
+ public static class AuthenticationBuilder {
+
+ private Type authType;
+ private Map authPropertiesMap;
+
+ public AuthenticationBuilder type(Type type) {
+
+ this.authType = type;
+ return this;
+ }
+
+ public AuthenticationBuilder properties(Map authPropertiesMap) {
+
+ this.authPropertiesMap = authPropertiesMap;
+ return this;
+ }
+
+ public Authentication build() {
+
+ switch (authType) {
+ case BASIC:
+ return new Authentication.BasicAuthBuilder(
+ getProperty(Type.BASIC, authPropertiesMap, Property.USERNAME.getName()),
+ getProperty(Type.BASIC, authPropertiesMap, Property.PASSWORD.getName())).build();
+ case BEARER:
+ return new Authentication.BearerAuthBuilder(
+ getProperty(Type.BEARER, authPropertiesMap, Property.ACCESS_TOKEN.getName())).build();
+ case API_KEY:
+ return new Authentication.APIKeyAuthBuilder(
+ getProperty(Type.API_KEY, authPropertiesMap, Property.HEADER.getName()),
+ getProperty(Type.API_KEY, authPropertiesMap, Property.VALUE.getName())).build();
+ case NONE:
+ return new Authentication.NoneAuthBuilder().build();
+ default:
+ throw new IllegalArgumentException(String.format("An invalid authentication type '%s' is " +
+ "provided for the authentication configuration of the endpoint.", authType.name()));
+ }
+ }
+
+ private String getProperty(Authentication.Type authType, Map actionEndpointProperties,
+ String propertyName) {
+
+ if (actionEndpointProperties != null && actionEndpointProperties.containsKey(propertyName)) {
+ String propValue = actionEndpointProperties.get(propertyName);
+ if (StringUtils.isNotBlank(propValue)) {
+ return propValue;
+ }
+ throw new IllegalArgumentException(String.format("The Property %s cannot be blank.", propertyName));
+ }
+
+ throw new NoSuchElementException(String.format("The property %s must be provided as an authentication " +
+ "property for the %s authentication type.", propertyName, authType.name()));
+ }
+ }
}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/util/ActionManagementUtil.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/util/ActionManagementUtil.java
index 0db99d67ae67..2ba8cf79da7e 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/util/ActionManagementUtil.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/main/java/org/wso2/carbon/identity/action/management/util/ActionManagementUtil.java
@@ -21,6 +21,7 @@
import org.apache.commons.lang.ArrayUtils;
import org.wso2.carbon.identity.action.management.constant.ActionMgtConstants;
import org.wso2.carbon.identity.action.management.exception.ActionMgtClientException;
+import org.wso2.carbon.identity.action.management.exception.ActionMgtRuntimeException;
import org.wso2.carbon.identity.action.management.exception.ActionMgtServerException;
/**
@@ -64,4 +65,15 @@ public static ActionMgtServerException handleServerException(
return new ActionMgtServerException(error.getMessage(), description, error.getCode(), e);
}
+
+ /**
+ * Handle Action Management runtime exceptions.
+ *
+ * @param e Throwable.
+ * @return ActionMgtRuntimeException.
+ */
+ public static ActionMgtRuntimeException handleRuntimeException(String errorMessage, Throwable e) {
+
+ return new ActionMgtRuntimeException(errorMessage, e);
+ }
}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/ActionManagementServiceImplTest.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/ActionManagementServiceImplTest.java
index 47b1c7c36168..949efc721833 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/ActionManagementServiceImplTest.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/ActionManagementServiceImplTest.java
@@ -18,11 +18,8 @@
package org.wso2.carbon.identity.action.management;
-import org.apache.commons.dbcp.BasicDataSource;
import org.mockito.MockedStatic;
import org.testng.Assert;
-import org.testng.annotations.AfterClass;
-import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;
@@ -33,29 +30,21 @@
import org.wso2.carbon.identity.action.management.model.AuthProperty;
import org.wso2.carbon.identity.action.management.model.Authentication;
import org.wso2.carbon.identity.action.management.model.EndpointConfig;
-import org.wso2.carbon.identity.common.testng.WithAxisConfiguration;
import org.wso2.carbon.identity.common.testng.WithCarbonHome;
import org.wso2.carbon.identity.common.testng.WithH2Database;
import org.wso2.carbon.identity.common.testng.WithRealmService;
-import org.wso2.carbon.identity.common.testng.WithRegistry;
import org.wso2.carbon.identity.core.internal.IdentityCoreServiceDataHolder;
import org.wso2.carbon.identity.core.util.IdentityDatabaseUtil;
import org.wso2.carbon.identity.secret.mgt.core.SecretManagerImpl;
import org.wso2.carbon.identity.secret.mgt.core.exception.SecretManagementException;
import org.wso2.carbon.identity.secret.mgt.core.model.SecretType;
-import java.nio.file.Paths;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.stream.Collectors;
import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.ArgumentMatchers.anyBoolean;
import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.mockStatic;
import static org.mockito.Mockito.when;
/**
@@ -63,10 +52,8 @@
* It contains unit tests to verify the functionality of the methods
* in the ActionManagementServiceImpl class.
*/
-@WithAxisConfiguration
@WithCarbonHome
@WithH2Database(files = {"dbscripts/h2.sql"})
-@WithRegistry
@WithRealmService(injectToSingletons = {IdentityCoreServiceDataHolder.class})
public class ActionManagementServiceImplTest {
@@ -75,41 +62,24 @@ public class ActionManagementServiceImplTest {
private String tenantDomain;
private ActionManagementService serviceImpl;
private Map secretProperties;
- private static final String DB_NAME = "action_mgt";
private static final String ACCESS_TOKEN = "6e47f1f7-bd29-41e9-b5dc-e9dd70ac22b7";
- private static final Map dataSourceMap = new HashMap<>();
private static final String PRE_ISSUE_ACCESS_TOKEN = Action.ActionTypes.PRE_ISSUE_ACCESS_TOKEN.getPathParam();
@BeforeClass
- public void setUpClass() throws Exception {
+ public void setUpClass() {
serviceImpl = ActionManagementServiceImpl.getInstance();
tenantDomain = CarbonContext.getThreadLocalCarbonContext().getTenantDomain();
- initiateH2Database(getFilePath());
}
@BeforeMethod
public void setUp() throws SecretManagementException {
- identityDatabaseUtil = mockStatic(IdentityDatabaseUtil.class);
SecretManagerImpl secretManager = mock(SecretManagerImpl.class);
SecretType secretType = mock(SecretType.class);
ActionMgtServiceComponentHolder.getInstance().setSecretManager(secretManager);
when(secretType.getId()).thenReturn("secretId");
when(secretManager.getSecretType(any())).thenReturn(secretType);
- mockDBConnection();
- }
-
- @AfterMethod
- public void tearDown() {
-
- identityDatabaseUtil.close();
- }
-
- @AfterClass
- public void wrapUp() throws Exception {
-
- closeH2Database();
}
@Test(priority = 1)
@@ -396,47 +366,4 @@ private Action buildMockAction(String name,
.endpoint(buildMockEndpointConfig(uri, authentication))
.build();
}
-
- private void mockDBConnection() {
-
- identityDatabaseUtil.when(() -> IdentityDatabaseUtil.getDBConnection(anyBoolean()))
- .thenAnswer(invocation -> getConnection());
- }
-
- private Connection getConnection() throws Exception {
-
- if (dataSourceMap.get(DB_NAME) != null) {
- return dataSourceMap.get(DB_NAME).getConnection();
- }
- throw new RuntimeException("Invalid datasource.");
- }
-
- private void initiateH2Database(String scriptPath) throws Exception {
-
- BasicDataSource dataSource = new BasicDataSource();
- dataSource.setDriverClassName("org.h2.Driver");
- dataSource.setUsername("username");
- dataSource.setPassword("password");
- dataSource.setUrl("jdbc:h2:mem:test" + DB_NAME);
- dataSource.setTestOnBorrow(true);
- dataSource.setValidationQuery("select 1");
- try (Connection connection = dataSource.getConnection()) {
- connection.createStatement().executeUpdate("RUNSCRIPT FROM '" + scriptPath + "'");
- }
- dataSourceMap.put(DB_NAME, dataSource);
- }
-
- private static String getFilePath() {
-
- return Paths.get(System.getProperty("user.dir"), "src", "test", "resources", "dbscripts", "h2.sql")
- .toString();
- }
-
- private static void closeH2Database() throws SQLException {
-
- BasicDataSource dataSource = dataSourceMap.get(DB_NAME);
- if (dataSource != null) {
- dataSource.close();
- }
- }
}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/dao/ActionManagementDAOImplTest.java b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/dao/ActionManagementDAOImplTest.java
index d3f90acdcf2c..2c3a5237ee5a 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/dao/ActionManagementDAOImplTest.java
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/java/org/wso2/carbon/identity/action/management/dao/ActionManagementDAOImplTest.java
@@ -18,11 +18,8 @@
package org.wso2.carbon.identity.action.management.dao;
-import org.apache.commons.dbcp.BasicDataSource;
-import org.apache.commons.lang.StringUtils;
import org.junit.Assert;
import org.mockito.MockedStatic;
-import org.testng.annotations.AfterClass;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.BeforeMethod;
@@ -33,22 +30,17 @@
import org.wso2.carbon.identity.action.management.model.Action;
import org.wso2.carbon.identity.action.management.model.Authentication;
import org.wso2.carbon.identity.action.management.model.EndpointConfig;
+import org.wso2.carbon.identity.common.testng.WithCarbonHome;
import org.wso2.carbon.identity.common.testng.WithH2Database;
-import org.wso2.carbon.identity.core.util.IdentityDatabaseUtil;
import org.wso2.carbon.identity.core.util.IdentityTenantUtil;
import org.wso2.carbon.identity.secret.mgt.core.SecretManagerImpl;
import org.wso2.carbon.identity.secret.mgt.core.exception.SecretManagementException;
import org.wso2.carbon.identity.secret.mgt.core.model.SecretType;
-import java.nio.file.Paths;
-import java.sql.Connection;
-import java.sql.SQLException;
-import java.util.HashMap;
import java.util.Map;
import java.util.UUID;
import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.ArgumentMatchers.anyBoolean;
import static org.mockito.ArgumentMatchers.anyString;
import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.mockStatic;
@@ -60,33 +52,28 @@
* in the ActionManagementDAOImpl class.
*/
@WithH2Database(files = {"dbscripts/h2.sql"})
+@WithCarbonHome
public class ActionManagementDAOImplTest {
private ActionManagementDAOImpl daoImpl;
- private static final Map dataSourceMap = new HashMap<>();
- private MockedStatic identityDatabaseUtil;
private MockedStatic identityTenantUtil;
- private static final String DB_NAME = "action_mgt_dao";
private static final String PRE_ISSUE_ACCESS_TOKEN = "PRE_ISSUE_ACCESS_TOKEN";
private static final int TENANT_ID = 2;
private Action action;
@BeforeClass
- public void setUpClass() throws Exception {
+ public void setUpClass() {
daoImpl = new ActionManagementDAOImpl();
- initiateH2Database(getFilePath());
}
@BeforeMethod
- public void setUp() throws SQLException, SecretManagementException {
+ public void setUp() throws SecretManagementException {
identityTenantUtil = mockStatic(IdentityTenantUtil.class);
- identityDatabaseUtil = mockStatic(IdentityDatabaseUtil.class);
SecretManagerImpl secretManager = mock(SecretManagerImpl.class);
SecretType secretType = mock(SecretType.class);
ActionMgtServiceComponentHolder.getInstance().setSecretManager(secretManager);
- mockDBConnection();
identityTenantUtil.when(()-> IdentityTenantUtil.getTenantId(anyString())).thenReturn(TENANT_ID);
when(secretType.getId()).thenReturn("secretId");
when(secretManager.getSecretType(any())).thenReturn(secretType);
@@ -96,13 +83,6 @@ public void setUp() throws SQLException, SecretManagementException {
public void tearDown() {
identityTenantUtil.close();
- identityDatabaseUtil.close();
- }
-
- @AfterClass
- public void wrapUp() throws Exception {
-
- closeH2Database();
}
@Test(priority = 1)
@@ -138,10 +118,9 @@ public void testAddActionWithoutName() throws ActionMgtException {
}
@Test(priority = 3)
- public void testGetActionsByActionType() throws ActionMgtException, SQLException {
+ public void testGetActionsByActionType() throws ActionMgtException {
Assert.assertEquals(1, daoImpl.getActionsByActionType(PRE_ISSUE_ACCESS_TOKEN, TENANT_ID).size());
- mockDBConnection();
Action result = daoImpl.getActionsByActionType(PRE_ISSUE_ACCESS_TOKEN, TENANT_ID).get(0);
Assert.assertEquals(action.getId(), result.getId());
Assert.assertEquals(action.getName(), result.getName());
@@ -168,10 +147,9 @@ public void testGetActionByActionId() throws ActionMgtException {
}
@Test(priority = 5)
- public void testDeleteAction() throws ActionMgtException, SQLException {
+ public void testDeleteAction() throws ActionMgtException {
daoImpl.deleteAction(PRE_ISSUE_ACCESS_TOKEN, action.getId(), action, TENANT_ID);
- mockDBConnection();
Assert.assertNull(daoImpl.getActionByActionId(PRE_ISSUE_ACCESS_TOKEN, action.getId(), TENANT_ID));
}
@@ -195,7 +173,7 @@ public void testAddActionWithoutDescription() throws ActionMgtException {
action.getEndpoint().getAuthentication().getType());
}
- @Test(priority = 7)
+ @Test(priority = 7, dependsOnMethods = "testAddActionWithoutDescription")
public void testUpdateAction() throws ActionMgtException {
Action updatingAction = buildMockAction(
@@ -361,7 +339,7 @@ public void testUpdateActionWithAuthTypeWithoutUri() throws ActionMgtException {
}
@Test(priority = 15)
- public void testUpdateActionEndpointAuthNonSecretProperties() throws ActionMgtException, SQLException {
+ public void testUpdateActionEndpointAuthNonSecretProperties() throws ActionMgtException {
Action sampleAction = buildMockAction(
"Pre Issue Access Token",
@@ -370,7 +348,6 @@ public void testUpdateActionEndpointAuthNonSecretProperties() throws ActionMgtEx
buildMockAPIKeyAuthentication("header", "value"));
Action updatingAction = daoImpl.updateAction(
PRE_ISSUE_ACCESS_TOKEN, action.getId(), sampleAction, action, TENANT_ID);
- mockDBConnection();
Authentication authentication = buildMockAPIKeyAuthentication("updatingheader", "updatingvalue");
Action result = daoImpl.updateActionEndpointAuthProperties(PRE_ISSUE_ACCESS_TOKEN, updatingAction.getId(),
authentication, TENANT_ID);
@@ -458,42 +435,4 @@ private Action buildMockAction(String name,
.endpoint(buildMockEndpointConfig(uri, authentication))
.build();
}
-
- private void mockDBConnection() throws SQLException {
-
- Connection connection = dataSourceMap.get(DB_NAME).getConnection();
- identityDatabaseUtil.when(() -> IdentityDatabaseUtil.getDBConnection(anyBoolean())).thenReturn(connection);
- }
-
- private void initiateH2Database(String scriptPath) throws Exception {
-
- BasicDataSource dataSource = new BasicDataSource();
- dataSource.setDriverClassName("org.h2.Driver");
- dataSource.setUsername("username");
- dataSource.setPassword("password");
- dataSource.setUrl("jdbc:h2:mem:test" + DB_NAME);
- dataSource.setTestOnBorrow(true);
- dataSource.setValidationQuery("select 1");
- try (Connection connection = dataSource.getConnection()) {
- connection.createStatement().executeUpdate("RUNSCRIPT FROM '" + scriptPath + "'");
- }
- dataSourceMap.put(DB_NAME, dataSource);
- }
-
- private static String getFilePath() {
-
- if (StringUtils.isNotBlank("h2.sql")) {
- return Paths.get(System.getProperty("user.dir"), "src", "test", "resources", "dbscripts", "h2.sql")
- .toString();
- }
- throw new IllegalArgumentException("DB Script file name cannot be empty.");
- }
-
- private static void closeH2Database() throws SQLException {
-
- BasicDataSource dataSource = dataSourceMap.get(DB_NAME);
- if (dataSource != null) {
- dataSource.close();
- }
- }
}
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/dbscripts/h2.sql b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/dbscripts/h2.sql
index caafa3159e1e..776921371a60 100644
--- a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/dbscripts/h2.sql
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/dbscripts/h2.sql
@@ -1,1358 +1,3 @@
-CREATE TABLE IF NOT EXISTS IDN_BASE_TABLE (
- PRODUCT_NAME VARCHAR (20),
- PRIMARY KEY (PRODUCT_NAME)
-);
-
-INSERT INTO IDN_BASE_TABLE values ('WSO2 Identity Server');
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH_CONSUMER_APPS (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- CONSUMER_KEY VARCHAR (255),
- CONSUMER_SECRET VARCHAR (2048),
- USERNAME VARCHAR (255),
- TENANT_ID INTEGER DEFAULT 0,
- USER_DOMAIN VARCHAR(50),
- APP_NAME VARCHAR (255),
- OAUTH_VERSION VARCHAR (128),
- CALLBACK_URL VARCHAR (2048),
- GRANT_TYPES VARCHAR (1024),
- PKCE_MANDATORY CHAR(1) DEFAULT '0',
- PKCE_SUPPORT_PLAIN CHAR(1) DEFAULT '0',
- APP_STATE VARCHAR (25) DEFAULT 'ACTIVE',
- USER_ACCESS_TOKEN_EXPIRE_TIME BIGINT DEFAULT 3600,
- APP_ACCESS_TOKEN_EXPIRE_TIME BIGINT DEFAULT 3600,
- REFRESH_TOKEN_EXPIRE_TIME BIGINT DEFAULT 84600,
- ID_TOKEN_EXPIRE_TIME BIGINT DEFAULT 3600,
- CONSTRAINT CONSUMER_KEY_CONSTRAINT UNIQUE (TENANT_ID, CONSUMER_KEY),
- PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_SCOPE_VALIDATORS (
- APP_ID INTEGER NOT NULL,
- SCOPE_VALIDATOR VARCHAR (128) NOT NULL,
- PRIMARY KEY (APP_ID,SCOPE_VALIDATOR),
- FOREIGN KEY (APP_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH1A_REQUEST_TOKEN (
- REQUEST_TOKEN VARCHAR (512),
- REQUEST_TOKEN_SECRET VARCHAR (512),
- CONSUMER_KEY_ID INTEGER,
- CALLBACK_URL VARCHAR (2048),
- SCOPE VARCHAR(2048),
- AUTHORIZED VARCHAR (128),
- OAUTH_VERIFIER VARCHAR (512),
- AUTHZ_USER VARCHAR (512),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (REQUEST_TOKEN),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH1A_ACCESS_TOKEN (
- ACCESS_TOKEN VARCHAR (512),
- ACCESS_TOKEN_SECRET VARCHAR (512),
- CONSUMER_KEY_ID INTEGER,
- SCOPE VARCHAR(2048),
- AUTHZ_USER VARCHAR (512),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (ACCESS_TOKEN),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_ACCESS_TOKEN (
- TOKEN_ID VARCHAR (255),
- ACCESS_TOKEN VARCHAR (2048),
- REFRESH_TOKEN VARCHAR (2048),
- CONSUMER_KEY_ID INTEGER,
- AUTHZ_USER VARCHAR (100),
- TENANT_ID INTEGER,
- USER_DOMAIN VARCHAR(50),
- USER_TYPE VARCHAR (25),
- GRANT_TYPE VARCHAR (50),
- TIME_CREATED TIMESTAMP DEFAULT 0,
- REFRESH_TOKEN_TIME_CREATED TIMESTAMP DEFAULT 0,
- VALIDITY_PERIOD BIGINT,
- REFRESH_TOKEN_VALIDITY_PERIOD BIGINT,
- TOKEN_SCOPE_HASH VARCHAR (32),
- TOKEN_STATE VARCHAR (25) DEFAULT 'ACTIVE',
- TOKEN_STATE_ID VARCHAR (128) DEFAULT 'NONE',
- SUBJECT_IDENTIFIER VARCHAR(255),
- ACCESS_TOKEN_HASH VARCHAR (512),
- REFRESH_TOKEN_HASH VARCHAR (512),
- IDP_ID INTEGER DEFAULT -1 NOT NULL,
- TOKEN_BINDING_REF VARCHAR (32) DEFAULT 'NONE',
- CONSENTED_TOKEN VARCHAR(6),
- AUTHORIZED_ORGANIZATION VARCHAR(36) DEFAULT 'NONE' NOT NULL,
- PRIMARY KEY (TOKEN_ID),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE,
- CONSTRAINT CON_APP_KEY UNIQUE (CONSUMER_KEY_ID,AUTHZ_USER,TENANT_ID,USER_DOMAIN,USER_TYPE,TOKEN_SCOPE_HASH,
- TOKEN_STATE,TOKEN_STATE_ID,IDP_ID,TOKEN_BINDING_REF,AUTHORIZED_ORGANIZATION)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_TOKEN_BINDING (
- TOKEN_ID VARCHAR (255),
- TOKEN_BINDING_TYPE VARCHAR (32),
- TOKEN_BINDING_REF VARCHAR (32),
- TOKEN_BINDING_VALUE VARCHAR (1024),
- TENANT_ID INTEGER DEFAULT -1,
- UNIQUE (TOKEN_ID,TOKEN_BINDING_TYPE,TOKEN_BINDING_VALUE),
- FOREIGN KEY (TOKEN_ID) REFERENCES IDN_OAUTH2_ACCESS_TOKEN(TOKEN_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_ACCESS_TOKEN_AUDIT (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TOKEN_ID VARCHAR (255),
- ACCESS_TOKEN VARCHAR(2048),
- REFRESH_TOKEN VARCHAR(2048),
- CONSUMER_KEY_ID INTEGER,
- AUTHZ_USER VARCHAR (100),
- TENANT_ID INTEGER,
- USER_DOMAIN VARCHAR(50),
- USER_TYPE VARCHAR (25),
- GRANT_TYPE VARCHAR (50),
- TIME_CREATED TIMESTAMP NULL,
- REFRESH_TOKEN_TIME_CREATED TIMESTAMP NULL,
- VALIDITY_PERIOD BIGINT,
- REFRESH_TOKEN_VALIDITY_PERIOD BIGINT,
- TOKEN_SCOPE_HASH VARCHAR(32),
- TOKEN_STATE VARCHAR(25),
- TOKEN_STATE_ID VARCHAR (128) ,
- SUBJECT_IDENTIFIER VARCHAR(255),
- ACCESS_TOKEN_HASH VARCHAR(512),
- REFRESH_TOKEN_HASH VARCHAR(512),
- INVALIDATED_TIME TIMESTAMP NULL,
- IDP_ID INTEGER DEFAULT -1 NOT NULL,
- PRIMARY KEY(ID)
-);
-
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_AUTHORIZATION_CODE (
- CODE_ID VARCHAR (255),
- AUTHORIZATION_CODE VARCHAR (2048),
- CONSUMER_KEY_ID INTEGER,
- CALLBACK_URL VARCHAR (2048),
- SCOPE VARCHAR(2048),
- AUTHZ_USER VARCHAR (100),
- TENANT_ID INTEGER,
- USER_DOMAIN VARCHAR(50),
- TIME_CREATED TIMESTAMP,
- VALIDITY_PERIOD BIGINT,
- STATE VARCHAR (25) DEFAULT 'ACTIVE',
- TOKEN_ID VARCHAR(255),
- SUBJECT_IDENTIFIER VARCHAR(255),
- PKCE_CODE_CHALLENGE VARCHAR (255),
- PKCE_CODE_CHALLENGE_METHOD VARCHAR(128),
- AUTHORIZATION_CODE_HASH VARCHAR (512),
- IDP_ID INTEGER DEFAULT -1 NOT NULL,
- PRIMARY KEY (CODE_ID),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_AUTHZ_CODE_SCOPE(
- CODE_ID VARCHAR(255),
- SCOPE VARCHAR(255),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (CODE_ID, SCOPE),
- FOREIGN KEY (CODE_ID) REFERENCES IDN_OAUTH2_AUTHORIZATION_CODE (CODE_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_DEVICE_FLOW (
- CODE_ID VARCHAR(255),
- DEVICE_CODE VARCHAR(255),
- USER_CODE VARCHAR(25),
- QUANTIFIER INTEGER NOT NULL DEFAULT 0,
- CONSUMER_KEY_ID INTEGER,
- LAST_POLL_TIME TIMESTAMP NOT NULL,
- EXPIRY_TIME TIMESTAMP NOT NULL,
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- POLL_TIME BIGINT,
- STATUS VARCHAR (25) DEFAULT 'PENDING',
- AUTHZ_USER VARCHAR (100),
- TENANT_ID INTEGER,
- USER_DOMAIN VARCHAR(50),
- IDP_ID INTEGER,
- SUBJECT_IDENTIFIER VARCHAR(255),
- PRIMARY KEY (DEVICE_CODE),
- UNIQUE (CODE_ID),
- CONSTRAINT USRCDE_QNTFR_CONSTRAINT UNIQUE (USER_CODE, QUANTIFIER),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_DEVICE_FLOW_SCOPES (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- SCOPE_ID VARCHAR(255),
- SCOPE VARCHAR(255),
- PRIMARY KEY (ID),
- FOREIGN KEY (SCOPE_ID) REFERENCES IDN_OAUTH2_DEVICE_FLOW(CODE_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_ACCESS_TOKEN_SCOPE (
- TOKEN_ID VARCHAR (255),
- TOKEN_SCOPE VARCHAR (255),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (TOKEN_ID, TOKEN_SCOPE),
- FOREIGN KEY (TOKEN_ID) REFERENCES IDN_OAUTH2_ACCESS_TOKEN(TOKEN_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_SCOPE (
- SCOPE_ID INTEGER NOT NULL AUTO_INCREMENT,
- NAME VARCHAR(255) NOT NULL,
- DISPLAY_NAME VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(512),
- TENANT_ID INTEGER NOT NULL DEFAULT -1,
- SCOPE_TYPE VARCHAR(255) NOT NULL,
- PRIMARY KEY (SCOPE_ID),
- UNIQUE (NAME, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_SCOPE_BINDING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- SCOPE_ID INTEGER NOT NULL,
- SCOPE_BINDING VARCHAR(255) NOT NULL,
- BINDING_TYPE VARCHAR(255) NOT NULL,
- FOREIGN KEY (SCOPE_ID) REFERENCES IDN_OAUTH2_SCOPE(SCOPE_ID) ON DELETE CASCADE,
- UNIQUE (SCOPE_ID, SCOPE_BINDING, BINDING_TYPE),
- PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_RESOURCE_SCOPE (
- RESOURCE_PATH VARCHAR(255) NOT NULL,
- SCOPE_ID INTEGER NOT NULL,
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (RESOURCE_PATH),
- FOREIGN KEY (SCOPE_ID) REFERENCES IDN_OAUTH2_SCOPE (SCOPE_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_SCIM_GROUP (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- ROLE_NAME VARCHAR(255) NOT NULL,
- ATTR_NAME VARCHAR(1024) NOT NULL,
- ATTR_VALUE VARCHAR(1024),
- AUDIENCE_REF_ID INTEGER DEFAULT -1 NOT NULL,
- UNIQUE(TENANT_ID, ROLE_NAME, ATTR_NAME, AUDIENCE_REF_ID),
- PRIMARY KEY (ID)
-);
-
-
-
-CREATE TABLE IF NOT EXISTS IDN_OPENID_REMEMBER_ME (
- USER_NAME VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER DEFAULT 0,
- COOKIE_VALUE VARCHAR(1024),
- CREATED_TIME TIMESTAMP,
- PRIMARY KEY (USER_NAME, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OPENID_USER_RPS (
- USER_NAME VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER DEFAULT 0,
- RP_URL VARCHAR(255) NOT NULL,
- TRUSTED_ALWAYS VARCHAR(128) DEFAULT 'FALSE',
- LAST_VISIT DATE NOT NULL,
- VISIT_COUNT INTEGER DEFAULT 0,
- DEFAULT_PROFILE_NAME VARCHAR(255) DEFAULT 'DEFAULT',
- PRIMARY KEY (USER_NAME, TENANT_ID, RP_URL)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OPENID_ASSOCIATIONS (
- HANDLE VARCHAR(255) NOT NULL,
- ASSOC_TYPE VARCHAR(255) NOT NULL,
- EXPIRE_IN TIMESTAMP NOT NULL,
- MAC_KEY VARCHAR(255) NOT NULL,
- ASSOC_STORE VARCHAR(128) DEFAULT 'SHARED',
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (HANDLE)
-);
-
-CREATE TABLE IDN_STS_STORE (
- ID INTEGER AUTO_INCREMENT,
- TOKEN_ID VARCHAR(255) NOT NULL,
- TOKEN_CONTENT BLOB(1024) NOT NULL,
- CREATE_DATE TIMESTAMP NOT NULL,
- EXPIRE_DATE TIMESTAMP NOT NULL,
- STATE INTEGER DEFAULT 0,
- PRIMARY KEY (ID)
-);
-
-CREATE TABLE IDN_IDENTITY_USER_DATA (
- TENANT_ID INTEGER DEFAULT -1234,
- USER_NAME VARCHAR(255) NOT NULL,
- DATA_KEY VARCHAR(255) NOT NULL,
- DATA_VALUE VARCHAR(2048),
- PRIMARY KEY (TENANT_ID, USER_NAME, DATA_KEY)
-);
-
-CREATE TABLE IDN_IDENTITY_META_DATA (
- USER_NAME VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER DEFAULT -1234,
- METADATA_TYPE VARCHAR(255) NOT NULL,
- METADATA VARCHAR(255) NOT NULL,
- VALID VARCHAR(255) NOT NULL,
- PRIMARY KEY (TENANT_ID, USER_NAME, METADATA_TYPE,METADATA)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_THRIFT_SESSION (
- SESSION_ID VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(255) NOT NULL,
- CREATED_TIME VARCHAR(255) NOT NULL,
- LAST_MODIFIED_TIME VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (SESSION_ID)
-);
-
-CREATE TABLE IDN_AUTH_SESSION_STORE (
- SESSION_ID VARCHAR (100) NOT NULL,
- SESSION_TYPE VARCHAR(100) NOT NULL,
- OPERATION VARCHAR(10) NOT NULL,
- SESSION_OBJECT BLOB,
- TIME_CREATED BIGINT,
- TENANT_ID INTEGER DEFAULT -1,
- EXPIRY_TIME BIGINT,
- PRIMARY KEY (SESSION_ID, SESSION_TYPE, TIME_CREATED, OPERATION)
-);
-
-
-CREATE TABLE IDN_AUTH_TEMP_SESSION_STORE (
- SESSION_ID VARCHAR (100) NOT NULL,
- SESSION_TYPE VARCHAR(100) NOT NULL,
- OPERATION VARCHAR(10) NOT NULL,
- SESSION_OBJECT BLOB,
- TIME_CREATED BIGINT,
- TENANT_ID INTEGER DEFAULT -1,
- EXPIRY_TIME BIGINT,
- PRIMARY KEY (SESSION_ID, SESSION_TYPE, TIME_CREATED, OPERATION)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_AUTH_USER (
- USER_ID VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- DOMAIN_NAME VARCHAR(255) NOT NULL,
- IDP_ID INTEGER NOT NULL,
- PRIMARY KEY (USER_ID),
- CONSTRAINT USER_STORE_CONSTRAINT UNIQUE (USER_NAME, TENANT_ID, DOMAIN_NAME, IDP_ID));
-
-CREATE TABLE IF NOT EXISTS IDN_AUTH_USER_SESSION_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- USER_ID VARCHAR(255) NOT NULL,
- SESSION_ID VARCHAR(255) NOT NULL,
- CONSTRAINT USER_SESSION_STORE_CONSTRAINT UNIQUE (USER_ID, SESSION_ID),
- PRIMARY KEY (ID));
-
-CREATE TABLE IF NOT EXISTS IDN_AUTH_SESSION_APP_INFO (
- SESSION_ID VARCHAR (100) NOT NULL,
- SUBJECT VARCHAR (100) NOT NULL,
- APP_ID INTEGER NOT NULL,
- INBOUND_AUTH_TYPE VARCHAR (255) NOT NULL,
- PRIMARY KEY (SESSION_ID, SUBJECT, APP_ID, INBOUND_AUTH_TYPE));
-
-CREATE TABLE IF NOT EXISTS IDN_AUTH_SESSION_META_DATA (
- SESSION_ID VARCHAR (100) NOT NULL,
- PROPERTY_TYPE VARCHAR (100) NOT NULL,
- `VALUE` VARCHAR (255) NOT NULL,
- PRIMARY KEY (SESSION_ID, PROPERTY_TYPE, `VALUE`)
- );
-
-CREATE TABLE IF NOT EXISTS SP_APP (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- APP_NAME VARCHAR (255) NOT NULL ,
- USER_STORE VARCHAR (255) NOT NULL,
- USERNAME VARCHAR (255) NOT NULL ,
- DESCRIPTION VARCHAR (1024),
- ROLE_CLAIM VARCHAR (512),
- AUTH_TYPE VARCHAR (255) NOT NULL,
- PROVISIONING_USERSTORE_DOMAIN VARCHAR (512),
- IS_LOCAL_CLAIM_DIALECT CHAR(1) DEFAULT '1',
- IS_SEND_LOCAL_SUBJECT_ID CHAR(1) DEFAULT '0',
- IS_SEND_AUTH_LIST_OF_IDPS CHAR(1) DEFAULT '0',
- IS_USE_TENANT_DOMAIN_SUBJECT CHAR(1) DEFAULT '1',
- IS_USE_USER_DOMAIN_SUBJECT CHAR(1) DEFAULT '1',
- ENABLE_AUTHORIZATION CHAR(1) DEFAULT '0',
- SUBJECT_CLAIM_URI VARCHAR (512),
- IS_SAAS_APP CHAR(1) DEFAULT '0',
- IS_DUMB_MODE CHAR(1) DEFAULT '0',
- UUID CHAR(36),
- IMAGE_URL VARCHAR(1024),
- ACCESS_URL VARCHAR(1024),
- IS_DISCOVERABLE CHAR(1) DEFAULT '0',
-
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_APP ADD CONSTRAINT APPLICATION_NAME_CONSTRAINT UNIQUE(APP_NAME, TENANT_ID);
-ALTER TABLE SP_APP ADD CONSTRAINT APPLICATION_UUID_CONSTRAINT UNIQUE(UUID);
-
-CREATE TABLE IF NOT EXISTS SP_METADATA (
- ID INTEGER AUTO_INCREMENT,
- SP_ID INTEGER,
- NAME VARCHAR(255) NOT NULL,
- `VALUE` VARCHAR(255) NOT NULL,
- DISPLAY_NAME VARCHAR(255),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (ID),
- CONSTRAINT SP_METADATA_CONSTRAINT UNIQUE (SP_ID, NAME),
- FOREIGN KEY (SP_ID) REFERENCES SP_APP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS SP_INBOUND_AUTH (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- INBOUND_AUTH_KEY VARCHAR (255),
- INBOUND_AUTH_TYPE VARCHAR (255) NOT NULL,
- INBOUND_CONFIG_TYPE VARCHAR (255) NOT NULL,
- PROP_NAME VARCHAR (255),
- PROP_VALUE VARCHAR (1024) ,
- APP_ID INTEGER NOT NULL,
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_INBOUND_AUTH ADD CONSTRAINT APPLICATION_ID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_AUTH_STEP (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- STEP_ORDER INTEGER DEFAULT 1,
- APP_ID INTEGER NOT NULL ,
- IS_SUBJECT_STEP CHAR(1) DEFAULT '0',
- IS_ATTRIBUTE_STEP CHAR(1) DEFAULT '0',
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_AUTH_STEP ADD CONSTRAINT APPLICATION_ID_CONSTRAINT_STEP FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_FEDERATED_IDP (
- ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- AUTHENTICATOR_ID INTEGER NOT NULL,
- PRIMARY KEY (ID, AUTHENTICATOR_ID));
-
-ALTER TABLE SP_FEDERATED_IDP ADD CONSTRAINT STEP_ID_CONSTRAINT FOREIGN KEY (ID) REFERENCES SP_AUTH_STEP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_CLAIM_DIALECT (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- SP_DIALECT VARCHAR (512) NOT NULL,
- APP_ID INTEGER NOT NULL,
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_CLAIM_DIALECT ADD CONSTRAINT DIALECTID_APPID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_CLAIM_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- IDP_CLAIM VARCHAR (512) NOT NULL ,
- SP_CLAIM VARCHAR (512) NOT NULL ,
- APP_ID INTEGER NOT NULL,
- IS_REQUESTED VARCHAR(128) DEFAULT '0',
- IS_MANDATORY VARCHAR(128) DEFAULT '0',
- DEFAULT_VALUE VARCHAR(255),
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_CLAIM_MAPPING ADD CONSTRAINT CLAIMID_APPID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_ROLE_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- IDP_ROLE VARCHAR (255) NOT NULL ,
- SP_ROLE VARCHAR (255) NOT NULL ,
- APP_ID INTEGER NOT NULL,
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_ROLE_MAPPING ADD CONSTRAINT ROLEID_APPID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_REQ_PATH_AUTHENTICATOR (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- AUTHENTICATOR_NAME VARCHAR (255) NOT NULL ,
- APP_ID INTEGER NOT NULL,
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_REQ_PATH_AUTHENTICATOR ADD CONSTRAINT REQ_AUTH_APPID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_PROVISIONING_CONNECTOR (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER NOT NULL,
- IDP_NAME VARCHAR (255) NOT NULL ,
- CONNECTOR_NAME VARCHAR (255) NOT NULL ,
- APP_ID INTEGER NOT NULL,
- IS_JIT_ENABLED CHAR(1) NOT NULL DEFAULT '0',
- BLOCKING CHAR(1) NOT NULL DEFAULT '0',
- RULE_ENABLED CHAR(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (ID));
-
-ALTER TABLE SP_PROVISIONING_CONNECTOR ADD CONSTRAINT PRO_CONNECTOR_APPID_CONSTRAINT FOREIGN KEY (APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE;
-
-CREATE TABLE IF NOT EXISTS SP_AUTH_SCRIPT (
- ID INTEGER AUTO_INCREMENT NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- APP_ID INTEGER NOT NULL,
- TYPE VARCHAR(255) NOT NULL,
- CONTENT BLOB DEFAULT NULL,
- IS_ENABLED CHAR(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (ID));
-
-CREATE TABLE SP_TEMPLATE (
- ID INTEGER AUTO_INCREMENT NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(1023),
- CONTENT BLOB DEFAULT NULL,
- PRIMARY KEY (ID),
- CONSTRAINT SP_TEMPLATE_CONSTRAINT UNIQUE (TENANT_ID, NAME));
-
-CREATE TABLE IF NOT EXISTS SP_TRUSTED_APPS (
- ID INTEGER AUTO_INCREMENT,
- SP_ID INTEGER NOT NULL,
- PLATFORM_TYPE VARCHAR(255) NOT NULL,
- APP_IDENTIFIER VARCHAR(255) NOT NULL,
- THUMBPRINTS VARCHAR(2048),
- IS_FIDO_TRUSTED BOOLEAN DEFAULT FALSE,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- UNIQUE (SP_ID, PLATFORM_TYPE),
- FOREIGN KEY (SP_ID) REFERENCES SP_APP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDN_AUTH_WAIT_STATUS (
- ID INTEGER AUTO_INCREMENT NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- LONG_WAIT_KEY VARCHAR(255) NOT NULL,
- WAIT_STATUS CHAR(1) NOT NULL DEFAULT '1',
- TIME_CREATED TIMESTAMP DEFAULT 0,
- EXPIRE_TIME TIMESTAMP DEFAULT 0,
- PRIMARY KEY (ID),
- CONSTRAINT IDN_AUTH_WAIT_STATUS_KEY UNIQUE (LONG_WAIT_KEY));
-
-CREATE TABLE IF NOT EXISTS IDP (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- NAME VARCHAR(254) NOT NULL,
- IS_ENABLED CHAR(1) NOT NULL DEFAULT '1',
- IS_PRIMARY CHAR(1) NOT NULL DEFAULT '0',
- HOME_REALM_ID VARCHAR(254),
- IMAGE MEDIUMBLOB,
- CERTIFICATE BLOB,
- ALIAS VARCHAR(254),
- INBOUND_PROV_ENABLED CHAR(1) NOT NULL DEFAULT '0',
- INBOUND_PROV_USER_STORE_ID VARCHAR(254),
- USER_CLAIM_URI VARCHAR(254),
- ROLE_CLAIM_URI VARCHAR(254),
- DESCRIPTION VARCHAR(1024),
- DEFAULT_AUTHENTICATOR_NAME VARCHAR(254),
- DEFAULT_PRO_CONNECTOR_NAME VARCHAR(254),
- PROVISIONING_ROLE VARCHAR(128),
- IS_FEDERATION_HUB CHAR(1) NOT NULL DEFAULT '0',
- IS_LOCAL_CLAIM_DIALECT CHAR(1) NOT NULL DEFAULT '0',
- DISPLAY_NAME VARCHAR(255),
- IMAGE_URL VARCHAR(1024),
- UUID CHAR(36) NOT NULL,
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, NAME),
- UNIQUE (UUID)
-);
-
-CREATE TABLE IF NOT EXISTS IDP_ROLE (
- ID INTEGER AUTO_INCREMENT,
- IDP_ID INTEGER,
- TENANT_ID INTEGER,
- ROLE VARCHAR(254),
- PRIMARY KEY (ID),
- UNIQUE (IDP_ID, ROLE),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_GROUP (
- ID INTEGER AUTO_INCREMENT NOT NULL,
- IDP_ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- GROUP_NAME VARCHAR(255) NOT NULL,
- UUID CHAR(36) NOT NULL,
- PRIMARY KEY (ID),
- UNIQUE (IDP_ID, GROUP_NAME),
- UNIQUE (UUID),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_ROLE_MAPPING (
- ID INTEGER AUTO_INCREMENT,
- IDP_ROLE_ID INTEGER,
- TENANT_ID INTEGER,
- USER_STORE_ID VARCHAR (253),
- LOCAL_ROLE VARCHAR(253),
- PRIMARY KEY (ID),
- UNIQUE (IDP_ROLE_ID, TENANT_ID, USER_STORE_ID, LOCAL_ROLE),
- FOREIGN KEY (IDP_ROLE_ID) REFERENCES IDP_ROLE(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_CLAIM (
- ID INTEGER AUTO_INCREMENT,
- IDP_ID INTEGER,
- TENANT_ID INTEGER,
- CLAIM VARCHAR(254),
- PRIMARY KEY (ID),
- UNIQUE (IDP_ID, CLAIM),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_CLAIM_MAPPING (
- ID INTEGER AUTO_INCREMENT,
- IDP_CLAIM_ID INTEGER,
- TENANT_ID INTEGER,
- LOCAL_CLAIM VARCHAR(253),
- DEFAULT_VALUE VARCHAR(255),
- IS_REQUESTED VARCHAR(128) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (IDP_CLAIM_ID, TENANT_ID, LOCAL_CLAIM),
- FOREIGN KEY (IDP_CLAIM_ID) REFERENCES IDP_CLAIM(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_AUTHENTICATOR (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- IDP_ID INTEGER,
- NAME VARCHAR(255) NOT NULL,
- IS_ENABLED CHAR (1) DEFAULT '1',
- DISPLAY_NAME VARCHAR(255),
- DEFINED_BY VARCHAR(25) NOT NULL,
- AUTHENTICATION_TYPE VARCHAR(25) NOT NULL,
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, IDP_ID, NAME),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_METADATA (
- ID INTEGER AUTO_INCREMENT,
- IDP_ID INTEGER,
- NAME VARCHAR(255) NOT NULL,
- `VALUE` VARCHAR(255) NOT NULL,
- DISPLAY_NAME VARCHAR(255),
- TENANT_ID INTEGER DEFAULT -1,
- PRIMARY KEY (ID),
- CONSTRAINT IDP_METADATA_CONSTRAINT UNIQUE (IDP_ID, NAME),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_AUTHENTICATOR_PROPERTY (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- AUTHENTICATOR_ID INTEGER,
- PROPERTY_KEY VARCHAR(255) NOT NULL,
- PROPERTY_VALUE VARCHAR(2047),
- IS_SECRET CHAR (1) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, AUTHENTICATOR_ID, PROPERTY_KEY),
- FOREIGN KEY (AUTHENTICATOR_ID) REFERENCES IDP_AUTHENTICATOR(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_PROVISIONING_CONFIG (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- IDP_ID INTEGER,
- PROVISIONING_CONNECTOR_TYPE VARCHAR(255) NOT NULL,
- IS_ENABLED CHAR (1) DEFAULT '0',
- IS_BLOCKING CHAR (1) DEFAULT '0',
- IS_RULES_ENABLED CHAR (1) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, IDP_ID, PROVISIONING_CONNECTOR_TYPE),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_PROV_CONFIG_PROPERTY (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- PROVISIONING_CONFIG_ID INTEGER,
- PROPERTY_KEY VARCHAR(255) NOT NULL,
- PROPERTY_VALUE VARCHAR(2048),
- PROPERTY_BLOB_VALUE BLOB,
- PROPERTY_TYPE VARCHAR(32) NOT NULL,
- IS_SECRET CHAR (1) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, PROVISIONING_CONFIG_ID, PROPERTY_KEY),
- FOREIGN KEY (PROVISIONING_CONFIG_ID) REFERENCES IDP_PROVISIONING_CONFIG(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_PROVISIONING_ENTITY (
- ID INTEGER AUTO_INCREMENT,
- PROVISIONING_CONFIG_ID INTEGER,
- ENTITY_TYPE VARCHAR(255) NOT NULL,
- ENTITY_LOCAL_USERSTORE VARCHAR(255) NOT NULL,
- ENTITY_NAME VARCHAR(255) NOT NULL,
- ENTITY_VALUE VARCHAR(255),
- TENANT_ID INTEGER,
- ENTITY_LOCAL_ID VARCHAR(255),
- PRIMARY KEY (ID),
- UNIQUE (ENTITY_TYPE, TENANT_ID, ENTITY_LOCAL_USERSTORE, ENTITY_NAME, PROVISIONING_CONFIG_ID),
- UNIQUE (PROVISIONING_CONFIG_ID, ENTITY_TYPE, ENTITY_VALUE),
- FOREIGN KEY (PROVISIONING_CONFIG_ID) REFERENCES IDP_PROVISIONING_CONFIG(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDP_LOCAL_CLAIM (
- ID INTEGER AUTO_INCREMENT,
- TENANT_ID INTEGER,
- IDP_ID INTEGER,
- CLAIM_URI VARCHAR(255) NOT NULL,
- DEFAULT_VALUE VARCHAR(255),
- IS_REQUESTED VARCHAR(128) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, IDP_ID, CLAIM_URI),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE);
-
-CREATE TABLE IF NOT EXISTS IDN_ASSOCIATED_ID (
- ID INTEGER AUTO_INCREMENT,
- IDP_USER_ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER DEFAULT -1234,
- IDP_ID INTEGER NOT NULL,
- DOMAIN_NAME VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(255) NOT NULL,
- ASSOCIATION_ID CHAR(36) NOT NULL,
- PRIMARY KEY (ID),
- UNIQUE(IDP_USER_ID, TENANT_ID, IDP_ID),
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_USER_ACCOUNT_ASSOCIATION (
- ASSOCIATION_KEY VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER,
- DOMAIN_NAME VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(255) NOT NULL,
- PRIMARY KEY (TENANT_ID, DOMAIN_NAME, USER_NAME));
-
-CREATE TABLE IF NOT EXISTS FIDO_DEVICE_STORE (
- TENANT_ID INTEGER,
- DOMAIN_NAME VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(45) NOT NULL,
- TIME_REGISTERED TIMESTAMP,
- KEY_HANDLE VARCHAR(200) NOT NULL,
- DEVICE_DATA VARCHAR(2048) NOT NULL,
- PRIMARY KEY (TENANT_ID, DOMAIN_NAME, USER_NAME, KEY_HANDLE));
-
-CREATE TABLE IF NOT EXISTS FIDO2_DEVICE_STORE (
- TENANT_ID INTEGER,
- DOMAIN_NAME VARCHAR(255) NOT NULL,
- USER_NAME VARCHAR(45) NOT NULL,
- TIME_REGISTERED TIMESTAMP,
- USER_HANDLE VARCHAR(200) NOT NULL,
- CREDENTIAL_ID VARCHAR(200) NOT NULL,
- PUBLIC_KEY_COSE VARCHAR(2048) NOT NULL,
- SIGNATURE_COUNT BIGINT,
- USER_IDENTITY VARCHAR(200) NOT NULL,
- DISPLAY_NAME VARCHAR(255),
- IS_USERNAMELESS_SUPPORTED CHAR(1) DEFAULT '0',
- PRIMARY KEY (CREDENTIAL_ID, USER_HANDLE));
-
-CREATE TABLE IF NOT EXISTS IDN_RECOVERY_FLOW_DATA (
- RECOVERY_FLOW_ID VARCHAR(255) NOT NULL,
- CODE VARCHAR(255),
- FAILED_ATTEMPTS INTEGER DEFAULT 0 NOT NULL,
- RESEND_COUNT INTEGER DEFAULT 0 NOT NULL,
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY(RECOVERY_FLOW_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_RECOVERY_DATA (
- USER_NAME VARCHAR(255) NOT NULL,
- USER_DOMAIN VARCHAR(127) NOT NULL,
- TENANT_ID INTEGER DEFAULT -1,
- CODE VARCHAR(255) NOT NULL,
- SCENARIO VARCHAR(255) NOT NULL,
- STEP VARCHAR(127) NOT NULL,
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- REMAINING_SETS VARCHAR(2500) DEFAULT NULL,
- RECOVERY_FLOW_ID VARCHAR(255),
- PRIMARY KEY(USER_NAME, USER_DOMAIN, TENANT_ID, SCENARIO,STEP),
- FOREIGN KEY (RECOVERY_FLOW_ID) REFERENCES IDN_RECOVERY_FLOW_DATA(RECOVERY_FLOW_ID) ON DELETE CASCADE,
- UNIQUE(CODE)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_PASSWORD_HISTORY_DATA (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- USER_NAME VARCHAR(255) NOT NULL,
- USER_DOMAIN VARCHAR(127) NOT NULL,
- TENANT_ID INTEGER DEFAULT -1,
- SALT_VALUE VARCHAR(255),
- HASH VARCHAR(255) NOT NULL,
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- PRIMARY KEY (ID),
- UNIQUE (USER_NAME,USER_DOMAIN,TENANT_ID,SALT_VALUE,HASH)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CLAIM_DIALECT (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- DIALECT_URI VARCHAR (255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- CONSTRAINT DIALECT_URI_CONSTRAINT UNIQUE (DIALECT_URI, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CLAIM (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- DIALECT_ID INTEGER NOT NULL,
- CLAIM_URI VARCHAR (255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (DIALECT_ID) REFERENCES IDN_CLAIM_DIALECT(ID) ON DELETE CASCADE,
- CONSTRAINT CLAIM_URI_CONSTRAINT UNIQUE (DIALECT_ID, CLAIM_URI, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CLAIM_MAPPED_ATTRIBUTE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- LOCAL_CLAIM_ID INTEGER,
- USER_STORE_DOMAIN_NAME VARCHAR (255) NOT NULL,
- ATTRIBUTE_NAME VARCHAR (255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (LOCAL_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE,
- CONSTRAINT USER_STORE_DOMAIN_CONSTRAINT UNIQUE (LOCAL_CLAIM_ID, USER_STORE_DOMAIN_NAME, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CLAIM_PROPERTY (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- LOCAL_CLAIM_ID INTEGER,
- PROPERTY_NAME VARCHAR (255) NOT NULL,
- PROPERTY_VALUE VARCHAR (255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (LOCAL_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE,
- CONSTRAINT PROPERTY_NAME_CONSTRAINT UNIQUE (LOCAL_CLAIM_ID, PROPERTY_NAME, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CLAIM_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- EXT_CLAIM_ID INTEGER NOT NULL,
- MAPPED_LOCAL_CLAIM_ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (EXT_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE,
- FOREIGN KEY (MAPPED_LOCAL_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE,
- CONSTRAINT EXT_TO_LOC_MAPPING_CONSTRN UNIQUE (EXT_CLAIM_ID, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_SAML2_ASSERTION_STORE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- SAML2_ID VARCHAR(255) ,
- SAML2_ISSUER VARCHAR(255) ,
- SAML2_SUBJECT VARCHAR(255) ,
- SAML2_SESSION_INDEX VARCHAR(255) ,
- SAML2_AUTHN_CONTEXT_CLASS_REF VARCHAR(255) ,
- SAML2_ASSERTION VARCHAR(4096) ,
- ASSERTION BLOB ,
- PRIMARY KEY (ID)
-);
-
-CREATE TABLE IDN_SAML2_ARTIFACT_STORE (
- ID INT NOT NULL AUTO_INCREMENT,
- SOURCE_ID VARCHAR(255) NOT NULL,
- MESSAGE_HANDLER VARCHAR(255) NOT NULL,
- AUTHN_REQ_DTO BLOB NOT NULL,
- SESSION_ID VARCHAR(255) NOT NULL,
- INIT_TIMESTAMP TIMESTAMP NOT NULL,
- EXP_TIMESTAMP TIMESTAMP NOT NULL,
- ASSERTION_ID VARCHAR(255),
- PRIMARY KEY (`ID`)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OIDC_JTI (
- JWT_ID VARCHAR(255),
- TENANT_ID INTEGER NOT NULL,
- EXP_TIME TIMESTAMP NOT NULL ,
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ,
- PRIMARY KEY (JWT_ID, TENANT_ID)
-);
-
-
-CREATE TABLE IF NOT EXISTS IDN_OIDC_PROPERTY (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TENANT_ID INTEGER,
- CONSUMER_KEY VARCHAR(255) ,
- PROPERTY_KEY VARCHAR(255) NOT NULL,
- PROPERTY_VALUE VARCHAR(2047) ,
- PRIMARY KEY (ID),
- FOREIGN KEY (TENANT_ID, CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(TENANT_ID, CONSUMER_KEY) ON DELETE CASCADE
-);
-CREATE TABLE IF NOT EXISTS IDN_OIDC_REQ_OBJECT_REFERENCE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- CONSUMER_KEY_ID INTEGER ,
- CODE_ID VARCHAR(255) ,
- TOKEN_ID VARCHAR(255) ,
- SESSION_DATA_KEY VARCHAR(255),
- PRIMARY KEY (ID),
- FOREIGN KEY (CONSUMER_KEY_ID) REFERENCES IDN_OAUTH_CONSUMER_APPS(ID) ON DELETE CASCADE,
- FOREIGN KEY (TOKEN_ID) REFERENCES IDN_OAUTH2_ACCESS_TOKEN(TOKEN_ID) ON DELETE CASCADE,
- FOREIGN KEY (CODE_ID) REFERENCES IDN_OAUTH2_AUTHORIZATION_CODE(CODE_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OIDC_REQ_OBJECT_CLAIMS (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- REQ_OBJECT_ID INTEGER,
- CLAIM_ATTRIBUTE VARCHAR(255) ,
- ESSENTIAL CHAR(1) NOT NULL DEFAULT '0',
- `VALUE` VARCHAR(255) ,
- IS_USERINFO CHAR(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (ID),
- FOREIGN KEY (REQ_OBJECT_ID) REFERENCES IDN_OIDC_REQ_OBJECT_REFERENCE (ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OIDC_REQ_OBJ_CLAIM_VALUES (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- REQ_OBJECT_CLAIMS_ID INTEGER ,
- CLAIM_VALUES VARCHAR(255) ,
- PRIMARY KEY (ID),
- FOREIGN KEY (REQ_OBJECT_CLAIMS_ID) REFERENCES IDN_OIDC_REQ_OBJECT_CLAIMS(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CERTIFICATE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- NAME VARCHAR(100),
- CERTIFICATE_IN_PEM BLOB,
- TENANT_ID INTEGER DEFAULT 0,
- PRIMARY KEY(ID),
- CONSTRAINT CERTIFICATE_UNIQUE_KEY UNIQUE (NAME, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OIDC_SCOPE_CLAIM_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- SCOPE_ID INTEGER NOT NULL,
- EXTERNAL_CLAIM_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (SCOPE_ID) REFERENCES IDN_OAUTH2_SCOPE(SCOPE_ID) ON DELETE CASCADE,
- FOREIGN KEY (EXTERNAL_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE,
- UNIQUE (SCOPE_ID, EXTERNAL_CLAIM_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_FUNCTION_LIBRARY (
- NAME VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(1023),
- TYPE VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- DATA BLOB NOT NULL,
- PRIMARY KEY (TENANT_ID,NAME)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_CIBA_AUTH_CODE (
- AUTH_CODE_KEY CHAR (36),
- AUTH_REQ_ID CHAR (36),
- ISSUED_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- CONSUMER_KEY VARCHAR(255),
- LAST_POLLED_TIME TIMESTAMP NOT NULL,
- POLLING_INTERVAL INTEGER,
- EXPIRES_IN INTEGER,
- AUTHENTICATED_USER_NAME VARCHAR(255),
- USER_STORE_DOMAIN VARCHAR(100),
- TENANT_ID INTEGER,
- AUTH_REQ_STATUS VARCHAR (100) DEFAULT 'REQUESTED',
- IDP_ID INTEGER,
- UNIQUE(AUTH_REQ_ID),
- PRIMARY KEY (AUTH_CODE_KEY),
- FOREIGN KEY (TENANT_ID, CONSUMER_KEY) REFERENCES IDN_OAUTH_CONSUMER_APPS(TENANT_ID, CONSUMER_KEY) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_CIBA_REQUEST_SCOPES (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- AUTH_CODE_KEY CHAR (36),
- SCOPE VARCHAR (255),
- FOREIGN KEY (AUTH_CODE_KEY) REFERENCES IDN_OAUTH2_CIBA_AUTH_CODE(AUTH_CODE_KEY) ON DELETE CASCADE,
- PRIMARY KEY (ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_FED_AUTH_SESSION_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- IDP_SESSION_ID VARCHAR(255) NOT NULL,
- SESSION_ID VARCHAR(255) NOT NULL,
- IDP_NAME VARCHAR(255) NOT NULL,
- AUTHENTICATOR_ID VARCHAR(255),
- PROTOCOL_TYPE VARCHAR(255),
- TIME_CREATED TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- TENANT_ID INTEGER NOT NULL DEFAULT 0,
- IDP_ID INTEGER NOT NULL DEFAULT 0,
- FOREIGN KEY (IDP_ID) REFERENCES IDP(ID) ON DELETE CASCADE,
- PRIMARY KEY (ID),
- UNIQUE (IDP_SESSION_ID, TENANT_ID, IDP_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CONFIG_TYPE (
- ID VARCHAR(255) NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(1023) NULL,
- PRIMARY KEY (ID),
- CONSTRAINT TYPE_NAME_CONSTRAINT UNIQUE (NAME)
-);
-
-INSERT INTO IDN_CONFIG_TYPE (ID, NAME, DESCRIPTION) VALUES
-('9ab0ef95-13e9-4ed5-afaf-d29bed62f7bd', 'IDP_TEMPLATE', 'Template type to uniquely identify IDP templates'),
-('3c4ac3d0-5903-4e3d-aaca-38df65b33bfd', 'APPLICATION_TEMPLATE', 'Template type to uniquely identify Application templates'),
-('8ec6dbf1-218a-49bf-bc34-0d2db52d151c', 'CORS_CONFIGURATION', 'A resource type to keep the tenant CORS configurations'),
-('669b99ca-cdb0-44a6-8cae-babed3b585df', 'Publisher', 'A resource type to keep the event publisher configurations'),
-('73f6d9ca-62f4-4566-bab9-2a930ae51ba8', 'BRANDING_PREFERENCES', 'A resource type to keep the tenant branding preferences'),
-('8469a176-3e6c-438a-ba01-71e9077072fa', 'APPLICATION_BRANDING_PREFERENCES', 'A resource type to keep the application branding preferences'),
-('899c69b2-8bf7-46b5-9666-f7f99f90d6cc', 'fido-config', 'A resource type to store FIDO authenticator related preferences'),
-('7f24050f-3e3d-4a00-b10f-fd5450d6523e', 'input-validation-configurations', 'A resource type to store input validation related configurations'),
-('f4e83b8a-d1c4-a0d6-03a7-d48e268c60c5', 'PK_JWT_CONFIGURATION', 'A resource type to keep the tenant private key jwt configuration.'),
-('9ec61e9d-f0e6-4952-9a09-ab842aeb2db2', 'ATTRIBUTE_CONFIGURATION', 'A resource type to store attribute related configurations.'),
-('132b0ee6-43e0-462d-8b4b-15b68109d71d', 'ORGANIZATION_CONFIGURATION', 'A resource type to keep the organization configurations.'),
-('1fc809a0-dc0d-4cb2-82f3-58934d389236', 'CUSTOM_TEXT', 'A resource type to keep the tenant custom text preferences.'),
-('c385a42a-5697-4604-b49a-62456621e926', 'DCR_CONFIGURATION', 'A resource type to keep the DCR configurations.'),
-('3e5b1f91-72d8-4fbc-94d1-1b9a4f8c3b07', 'IMPERSONATION_CONFIGURATION', 'A resource type to keep the tenant impersonation preferences.');
-
-CREATE TABLE IF NOT EXISTS IDN_CONFIG_RESOURCE (
- ID VARCHAR(255) NOT NULL,
- TENANT_ID INT NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- CREATED_TIME TIMESTAMP NOT NULL,
- LAST_MODIFIED TIMESTAMP NOT NULL,
- HAS_FILE BOOLEAN NOT NULL,
- HAS_ATTRIBUTE BOOLEAN NOT NULL,
- TYPE_ID VARCHAR(255) NOT NULL,
- UNIQUE (NAME, TENANT_ID, TYPE_ID),
- PRIMARY KEY (ID)
-);
-ALTER TABLE IDN_CONFIG_RESOURCE
-ADD CONSTRAINT TYPE_ID_FOREIGN_CONSTRAINT FOREIGN KEY (TYPE_ID) REFERENCES IDN_CONFIG_TYPE (ID)
-ON DELETE CASCADE ON UPDATE CASCADE;
-
-CREATE TABLE IF NOT EXISTS IDN_CONFIG_ATTRIBUTE (
- ID VARCHAR(255) NOT NULL,
- RESOURCE_ID VARCHAR(255) NOT NULL,
- ATTR_KEY VARCHAR(255) NOT NULL,
- ATTR_VALUE VARCHAR(1023) NULL,
- PRIMARY KEY (ID),
- UNIQUE (RESOURCE_ID, ATTR_KEY)
-);
-ALTER TABLE IDN_CONFIG_ATTRIBUTE
-ADD CONSTRAINT RESOURCE_ID_ATTRIBUTE_FOREIGN_CONSTRAINT FOREIGN KEY (RESOURCE_ID) REFERENCES
-IDN_CONFIG_RESOURCE (ID) ON DELETE CASCADE ON UPDATE CASCADE;
-
-CREATE TABLE IF NOT EXISTS IDN_CONFIG_FILE (
- ID VARCHAR(255) NOT NULL,
- `VALUE` BLOB NULL,
- RESOURCE_ID VARCHAR(255) NOT NULL,
- NAME VARCHAR(255) NULL,
- PRIMARY KEY (ID)
-);
-ALTER TABLE IDN_CONFIG_FILE
-ADD CONSTRAINT RESOURCE_ID_FILE_FOREIGN_CONSTRAINT FOREIGN KEY (RESOURCE_ID) REFERENCES
-IDN_CONFIG_RESOURCE (ID) ON DELETE CASCADE ON UPDATE CASCADE;
-
-CREATE TABLE IF NOT EXISTS IDN_REMOTE_FETCH_CONFIG (
- ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- IS_ENABLED CHAR(1) NOT NULL,
- REPO_MANAGER_TYPE VARCHAR(255) NOT NULL,
- ACTION_LISTENER_TYPE VARCHAR(255) NOT NULL,
- CONFIG_DEPLOYER_TYPE VARCHAR(255) NOT NULL,
- REMOTE_FETCH_NAME VARCHAR(255),
- REMOTE_RESOURCE_URI VARCHAR(255) NOT NULL,
- ATTRIBUTES_JSON MEDIUMTEXT NOT NULL,
- PRIMARY KEY (ID),
- CONSTRAINT UC_REMOTE_RESOURCE_TYPE UNIQUE (TENANT_ID, CONFIG_DEPLOYER_TYPE)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_REMOTE_FETCH_REVISIONS (
- ID VARCHAR(255) NOT NULL,
- CONFIG_ID VARCHAR(255) NOT NULL,
- FILE_PATH VARCHAR(255) NOT NULL,
- FILE_HASH VARCHAR(255),
- DEPLOYED_DATE TIMESTAMP,
- LAST_SYNC_TIME TIMESTAMP,
- DEPLOYMENT_STATUS VARCHAR(255),
- ITEM_NAME VARCHAR(255),
- DEPLOY_ERR_LOG MEDIUMTEXT,
- PRIMARY KEY (ID),
- FOREIGN KEY (CONFIG_ID) REFERENCES IDN_REMOTE_FETCH_CONFIG(ID) ON DELETE CASCADE,
- CONSTRAINT UC_REVISIONS UNIQUE (CONFIG_ID, ITEM_NAME)
-);
-
-
-CREATE TABLE IF NOT EXISTS IDN_USER_FUNCTIONALITY_MAPPING (
- ID VARCHAR(255) NOT NULL,
- USER_ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- FUNCTIONALITY_ID VARCHAR(255) NOT NULL,
- IS_FUNCTIONALITY_LOCKED BOOLEAN NOT NULL,
- FUNCTIONALITY_UNLOCK_TIME BIGINT NOT NULL,
- FUNCTIONALITY_LOCK_REASON VARCHAR(1023),
- FUNCTIONALITY_LOCK_REASON_CODE VARCHAR(255),
- PRIMARY KEY (ID),
- CONSTRAINT IDN_USER_FUNCTIONALITY_MAPPING_CONSTRAINT UNIQUE (USER_ID, TENANT_ID, FUNCTIONALITY_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_USER_FUNCTIONALITY_PROPERTY (
- ID VARCHAR(255) NOT NULL,
- USER_ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- FUNCTIONALITY_ID VARCHAR(255) NOT NULL,
- PROPERTY_NAME VARCHAR(255),
- PROPERTY_VALUE VARCHAR(255),
- PRIMARY KEY (ID),
- CONSTRAINT IDN_USER_FUNCTIONALITY_PROPERTY_CONSTRAINT UNIQUE (USER_ID, TENANT_ID, FUNCTIONALITY_ID, PROPERTY_NAME)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CORS_ORIGIN (
- ID INT NOT NULL AUTO_INCREMENT,
- TENANT_ID INT NOT NULL,
- ORIGIN VARCHAR(2048) NOT NULL,
- UUID CHAR(36) NOT NULL,
-
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, ORIGIN),
- UNIQUE (UUID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_CORS_ASSOCIATION (
- IDN_CORS_ORIGIN_ID INT NOT NULL,
- SP_APP_ID INT NOT NULL,
-
- PRIMARY KEY (IDN_CORS_ORIGIN_ID, SP_APP_ID),
- FOREIGN KEY (IDN_CORS_ORIGIN_ID) REFERENCES IDN_CORS_ORIGIN (ID) ON DELETE CASCADE,
- FOREIGN KEY (SP_APP_ID) REFERENCES SP_APP (ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_USER_CONSENT (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- USER_ID VARCHAR(255) NOT NULL,
- APP_ID CHAR(36) NOT NULL,
- TENANT_ID INTEGER NOT NULL DEFAULT -1,
- CONSENT_ID VARCHAR(255) NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (APP_ID) REFERENCES SP_APP(UUID) ON DELETE CASCADE,
- UNIQUE (USER_ID, APP_ID, TENANT_ID),
- UNIQUE (CONSENT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH2_USER_CONSENTED_SCOPES (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- CONSENT_ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL DEFAULT -1,
- SCOPE VARCHAR(255) NOT NULL,
- CONSENT BOOLEAN NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (CONSENT_ID) REFERENCES IDN_OAUTH2_USER_CONSENT(CONSENT_ID) ON DELETE CASCADE,
- UNIQUE (CONSENT_ID, SCOPE)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_SECRET_TYPE (
- ID VARCHAR(255) NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(1023) NULL,
- PRIMARY KEY (ID),
- CONSTRAINT SECRET_TYPE_NAME_CONSTRAINT UNIQUE (NAME)
-);
-
-INSERT INTO IDN_SECRET_TYPE (ID, NAME, DESCRIPTION) VALUES
-('1358bdbf-e0cc-4268-a42c-c3e0960e13f0', 'ADAPTIVE_AUTH_CALL_CHOREO', 'Secret type to uniquely identify secrets relevant to callChoreo adaptive auth function'),
-('c508ca28-60c0-4493-a758-77e4173ffdb9', 'IDP_SECRET_PROPERTIES', 'Secret type to uniquely identify secrets relevant to identity providers'),
-('433df096-62b7-4a36-b3eb-1bed9150ed35', 'IDVP_SECRET_PROPERTIES', 'Secret type to uniquely identify secrets relevant to identity verification providers'),
-('29d0c37d-139a-4b1e-a343-7b8d26f0a2a9', 'ANDROID_ATTESTATION_CREDENTIALS', 'Secret type to uniquely identify secrets relevant to android client attestation credentials'),
-('33f0a41b-569d-4ea5-a891-6c0e78a1c3b0', 'ACTION_API_ENDPOINT_AUTH_SECRETS', 'Secret type to uniquely identify secrets relevant to action endpoint authentication properties');
-
-CREATE TABLE IF NOT EXISTS IDN_SECRET (
- ID VARCHAR(255) NOT NULL,
- TENANT_ID INT NOT NULL,
- SECRET_NAME VARCHAR(1023) NOT NULL,
- SECRET_VALUE VARCHAR(8000) NOT NULL,
- CREATED_TIME TIMESTAMP NOT NULL,
- LAST_MODIFIED TIMESTAMP NOT NULL,
- TYPE_ID VARCHAR(255) NOT NULL,
- DESCRIPTION VARCHAR(1023) NULL,
- KEY_ID VARCHAR(255) NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (TYPE_ID) REFERENCES IDN_SECRET_TYPE(ID) ON DELETE CASCADE,
- UNIQUE (SECRET_NAME, TENANT_ID, TYPE_ID)
-);
-
-CREATE TABLE IF NOT EXISTS SP_SHARED_APP (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- MAIN_APP_ID CHAR(36) NOT NULL,
- OWNER_ORG_ID CHAR(36) NOT NULL,
- SHARED_APP_ID CHAR(36) NOT NULL,
- SHARED_ORG_ID CHAR(36) NOT NULL,
- SHARE_WITH_ALL_CHILDREN BOOLEAN DEFAULT FALSE,
- PRIMARY KEY (ID),
- FOREIGN KEY (MAIN_APP_ID) REFERENCES SP_APP(UUID) ON DELETE CASCADE,
- FOREIGN KEY (SHARED_APP_ID) REFERENCES SP_APP(UUID) ON DELETE CASCADE,
- UNIQUE (MAIN_APP_ID, OWNER_ORG_ID, SHARED_ORG_ID),
- UNIQUE (SHARED_APP_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDVP (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- UUID CHAR(36) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- IDVP_TYPE VARCHAR(254),
- NAME VARCHAR(254),
- DESCRIPTION VARCHAR(1024),
- IS_ENABLED CHAR(1) NOT NULL DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (TENANT_ID, NAME),
- UNIQUE (UUID)
-);
-
-CREATE TABLE IF NOT EXISTS IDVP_CLAIM_MAPPING (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- IDVP_ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- CLAIM VARCHAR(254),
- LOCAL_CLAIM VARCHAR(254),
- PRIMARY KEY (ID),
- UNIQUE (IDVP_ID, CLAIM, TENANT_ID),
- FOREIGN KEY (IDVP_ID) REFERENCES IDVP(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDVP_CONFIG (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- IDVP_ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PROPERTY_KEY VARCHAR(254) NOT NULL,
- PROPERTY_VALUE VARCHAR(1024),
- IS_SECRET CHAR (1) DEFAULT '0',
- PRIMARY KEY (ID),
- UNIQUE (IDVP_ID, PROPERTY_KEY, TENANT_ID),
- FOREIGN KEY (IDVP_ID) REFERENCES IDVP(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDV_CLAIM (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- UUID CHAR(36) NOT NULL,
- USER_ID VARCHAR(254) NOT NULL,
- CLAIM_URI VARCHAR(254),
- IDVP_ID CHAR(36) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- IS_VERIFIED CHAR(1) NOT NULL DEFAULT '0',
- METADATA BLOB,
- PRIMARY KEY (ID),
- UNIQUE (CLAIM_URI, TENANT_ID, USER_ID, IDVP_ID),
- UNIQUE (UUID),
- FOREIGN KEY (IDVP_ID) REFERENCES IDVP(UUID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS IDN_OAUTH_PAR (
- REQ_URI_REF VARCHAR(255) PRIMARY KEY,
- CLIENT_ID VARCHAR(255) NOT NULL,
- SCHEDULED_EXPIRY BIGINT NOT NULL,
- PARAMETERS MEDIUMTEXT
-);
-
-CREATE TABLE IF NOT EXISTS IDN_ORG_USER_INVITATION (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- INVITATION_ID VARCHAR(40) NOT NULL,
- CONFIRMATION_CODE VARCHAR(40) NOT NULL,
- USER_NAME VARCHAR(254) NOT NULL,
- DOMAIN_NAME VARCHAR(254) NOT NULL,
- EMAIL VARCHAR(254) NOT NULL,
- USER_ORG_ID VARCHAR(254) NOT NULL,
- INVITED_ORG_ID VARCHAR(254) NOT NULL,
- USER_REDIRECT_URL VARCHAR(1024) NOT NULL,
- STATUS VARCHAR(10) NOT NULL,
- CREATED_AT TIMESTAMP NOT NULL,
- EXPIRED_AT TIMESTAMP NOT NULL,
- PRIMARY KEY (INVITATION_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_ORG_USER_INVITE_ASSIGNMENT(
- ID INTEGER NOT NULL AUTO_INCREMENT,
- INVITATION_ID VARCHAR(40) NOT NULL,
- ASSIGNMENT_ID VARCHAR(255) NOT NULL,
- ASSIGNMENT_TYPE VARCHAR(255) NOT NULL,
- PRIMARY KEY (INVITATION_ID, ASSIGNMENT_ID, ASSIGNMENT_TYPE),
- FOREIGN KEY (INVITATION_ID) REFERENCES IDN_ORG_USER_INVITATION(INVITATION_ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS API_RESOURCE (
- ID CHAR(36) NOT NULL PRIMARY KEY,
- CURSOR_KEY INTEGER NOT NULL AUTO_INCREMENT,
- NAME VARCHAR(255) NOT NULL,
- IDENTIFIER VARCHAR(255) NOT NULL,
- TENANT_ID INT,
- DESCRIPTION VARCHAR(255),
- TYPE VARCHAR(255) NOT NULL,
- REQUIRES_AUTHORIZATION BOOLEAN NOT NULL
-);
-
-CREATE TABLE IF NOT EXISTS API_RESOURCE_PROPERTY (
- ID INTEGER AUTO_INCREMENT,
- API_ID CHAR(36) NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- `VALUE` VARCHAR(255) NOT NULL,
- PRIMARY KEY (ID),
- CONSTRAINT API_RESOURCE_PROPERTY_CONSTRAINT UNIQUE (API_ID, NAME),
- FOREIGN KEY (API_ID) REFERENCES API_RESOURCE(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS SCOPE (
- ID CHAR(36) NOT NULL PRIMARY KEY,
- CURSOR_KEY INTEGER NOT NULL AUTO_INCREMENT,
- API_ID CHAR(36) NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- DISPLAY_NAME VARCHAR(255) NOT NULL,
- TENANT_ID INT,
- DESCRIPTION VARCHAR(300),
- FOREIGN KEY (API_ID) REFERENCES API_RESOURCE(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS APP_ROLE_ASSOCIATION (
- APP_ID CHAR(36) NOT NULL,
- ROLE_ID VARCHAR(255) NOT NULL,
- PRIMARY KEY (APP_ID, ROLE_ID),
- FOREIGN KEY (APP_ID) REFERENCES SP_APP(UUID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS ROLE_SCOPE (
- ROLE_ID VARCHAR(255) NOT NULL,
- SCOPE_ID CHAR(36) NOT NULL,
- PRIMARY KEY (ROLE_ID, SCOPE_ID),
- FOREIGN KEY (SCOPE_ID) REFERENCES SCOPE(ID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS AUTHORIZED_API(
- APP_ID CHAR(36) NOT NULL,
- API_ID CHAR(36) NOT NULL,
- POLICY_ID VARCHAR(255) NOT NULL,
- CONSTRAINT PK_APP_API PRIMARY KEY (APP_ID, API_ID),
- FOREIGN KEY (API_ID) REFERENCES API_RESOURCE(ID) ON DELETE CASCADE,
- FOREIGN KEY (APP_ID) REFERENCES SP_APP(UUID) ON DELETE CASCADE
-);
-
-CREATE TABLE IF NOT EXISTS AUTHORIZED_SCOPE(
- APP_ID CHAR(36) NOT NULL,
- API_ID CHAR(36) NOT NULL,
- SCOPE_ID CHAR(36) NOT NULL,
- CONSTRAINT PK_APP_API_SCOPE PRIMARY KEY (APP_ID, API_ID, SCOPE_ID),
- FOREIGN KEY (API_ID) REFERENCES API_RESOURCE(ID),
- FOREIGN KEY (SCOPE_ID) REFERENCES SCOPE(ID) ON DELETE CASCADE,
- FOREIGN KEY (APP_ID) REFERENCES SP_APP(UUID),
- FOREIGN KEY (APP_ID, API_ID) REFERENCES AUTHORIZED_API(APP_ID, API_ID) ON DELETE CASCADE,
- CONSTRAINT AUTHORIZED_SCOPE_UNIQUE UNIQUE (APP_ID, SCOPE_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_TYPE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TYPE_KEY VARCHAR(255) NOT NULL,
- NAME VARCHAR(255) NOT NULL,
- CHANNEL VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- CONSTRAINT NOTIFICATION_TYPE_KEY_CONSTRAINT UNIQUE (TYPE_KEY, CHANNEL, TENANT_ID),
- CONSTRAINT NOTIFICATION_TYPE_NAME_CONSTRAINT UNIQUE (NAME, CHANNEL, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_ORG_TEMPLATE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TEMPLATE_KEY VARCHAR(50) NOT NULL,
- LOCALE VARCHAR(50) NOT NULL,
- SUBJECT VARCHAR(4000),
- BODY MEDIUMTEXT,
- FOOTER MEDIUMTEXT,
- CONTENT_TYPE VARCHAR(50),
- TYPE_ID INTEGER NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (TYPE_ID) REFERENCES IDN_NOTIFICATION_TYPE(ID) ON DELETE CASCADE,
- CONSTRAINT ORG_NOTIFICATION_TEMPLATE_KEY_CONSTRAINT UNIQUE (TEMPLATE_KEY, TYPE_ID, TENANT_ID),
- CONSTRAINT ORG_NOTIFICATION_TEMPLATE_LOCALE_CONSTRAINT UNIQUE (LOCALE, TYPE_ID, TENANT_ID)
-);
-
-CREATE TABLE IF NOT EXISTS IDN_NOTIFICATION_APP_TEMPLATE (
- ID INTEGER NOT NULL AUTO_INCREMENT,
- TEMPLATE_KEY VARCHAR(50) NOT NULL,
- LOCALE VARCHAR(50) NOT NULL,
- SUBJECT VARCHAR(4000),
- BODY MEDIUMTEXT,
- FOOTER MEDIUMTEXT,
- CONTENT_TYPE VARCHAR(50),
- TYPE_ID INTEGER NOT NULL,
- APP_ID VARCHAR(255) NOT NULL,
- TENANT_ID INTEGER NOT NULL,
- PRIMARY KEY (ID),
- FOREIGN KEY (TYPE_ID) REFERENCES IDN_NOTIFICATION_TYPE(ID) ON DELETE CASCADE,
- CONSTRAINT APP_NOTIFICATION_TEMPLATE_KEY_CONSTRAINT UNIQUE (TEMPLATE_KEY, TYPE_ID, APP_ID, TENANT_ID),
- CONSTRAINT APP_NOTIFICATION_TEMPLATE_LOCALE_CONSTRAINT UNIQUE (LOCALE, TYPE_ID, APP_ID, TENANT_ID)
-);
-
CREATE TABLE IF NOT EXISTS IDN_ACTION (
UUID CHAR(36) NOT NULL,
TYPE VARCHAR(50) NOT NULL,
@@ -1371,112 +16,3 @@ CREATE TABLE IF NOT EXISTS IDN_ACTION_ENDPOINT (
PRIMARY KEY (ACTION_UUID, PROPERTY_NAME),
FOREIGN KEY (ACTION_UUID) REFERENCES IDN_ACTION(UUID) ON DELETE CASCADE
);
-
--- --------------------------- INDEX CREATION -----------------------------
--- IDN_OAUTH2_ACCESS_TOKEN --
-CREATE INDEX IDX_TC ON IDN_OAUTH2_ACCESS_TOKEN(TIME_CREATED);
-CREATE INDEX IDX_ATH ON IDN_OAUTH2_ACCESS_TOKEN(ACCESS_TOKEN_HASH);
-CREATE INDEX IDX_AT_TI_UD ON IDN_OAUTH2_ACCESS_TOKEN(AUTHZ_USER, TENANT_ID, TOKEN_STATE, USER_DOMAIN);
-CREATE INDEX IDX_AT_AT ON IDN_OAUTH2_ACCESS_TOKEN(ACCESS_TOKEN);
-CREATE INDEX IDX_AT_RTH ON IDN_OAUTH2_ACCESS_TOKEN(REFRESH_TOKEN_HASH);
-CREATE INDEX IDX_AT_RT ON IDN_OAUTH2_ACCESS_TOKEN(REFRESH_TOKEN);
-CREATE INDEX IDX_TBR_TS ON IDN_OAUTH2_ACCESS_TOKEN(TOKEN_BINDING_REF, TOKEN_STATE);
-
--- IDN_OAUTH2_AUTHORIZATION_CODE --
-CREATE INDEX IDX_AUTHORIZATION_CODE_HASH ON IDN_OAUTH2_AUTHORIZATION_CODE (AUTHORIZATION_CODE_HASH, CONSUMER_KEY_ID);
-CREATE INDEX IDX_AUTHORIZATION_CODE_AU_TI ON IDN_OAUTH2_AUTHORIZATION_CODE (AUTHZ_USER, TENANT_ID, USER_DOMAIN, STATE);
-CREATE INDEX IDX_AC_CKID ON IDN_OAUTH2_AUTHORIZATION_CODE(CONSUMER_KEY_ID);
-CREATE INDEX IDX_AC_TID ON IDN_OAUTH2_AUTHORIZATION_CODE(TOKEN_ID);
-CREATE INDEX IDX_AC_AC_CKID ON IDN_OAUTH2_AUTHORIZATION_CODE(AUTHORIZATION_CODE, CONSUMER_KEY_ID);
-CREATE INDEX IDX_AT_CKID_AU_TID_UD_TSH_TS ON IDN_OAUTH2_ACCESS_TOKEN(CONSUMER_KEY_ID, AUTHZ_USER, TENANT_ID, USER_DOMAIN, TOKEN_SCOPE_HASH, TOKEN_STATE);
-
--- IDN_SCIM_GROUP --
-CREATE INDEX IDX_IDN_SCIM_GROUP_TI_RN ON IDN_SCIM_GROUP (TENANT_ID, ROLE_NAME);
-CREATE INDEX IDX_IDN_SCIM_GROUP_TI_RN_AN ON IDN_SCIM_GROUP (TENANT_ID, ROLE_NAME, ATTR_NAME);
-
--- IDN_AUTH_SESSION_STORE --
-CREATE INDEX IDX_IDN_AUTH_SESSION_TIME ON IDN_AUTH_SESSION_STORE (TIME_CREATED);
-CREATE INDEX IDX_IDN_AUTH_SSTR_ST_OP_ID_TM ON IDN_AUTH_SESSION_STORE (OPERATION, SESSION_TYPE, SESSION_ID, TIME_CREATED);
-CREATE INDEX IDX_IDN_AUTH_SSTR_ET_ID ON IDN_AUTH_SESSION_STORE (EXPIRY_TIME, SESSION_ID);
-
--- IDN_AUTH_TEMP_SESSION_STORE --
-CREATE INDEX IDX_IDN_AUTH_TMP_SESSION_TIME ON IDN_AUTH_TEMP_SESSION_STORE (TIME_CREATED);
-
--- IDN_OIDC_SCOPE_CLAIM_MAPPING --
-CREATE INDEX IDX_AT_SI_ECI ON IDN_OIDC_SCOPE_CLAIM_MAPPING(SCOPE_ID, EXTERNAL_CLAIM_ID);
-
--- IDN_OAUTH2_SCOPE --
-CREATE INDEX IDX_SC_TID ON IDN_OAUTH2_SCOPE(TENANT_ID);
-
--- IDN_OAUTH2_SCOPE_BINDING --
-CREATE INDEX IDX_SB_SCPID ON IDN_OAUTH2_SCOPE_BINDING(SCOPE_ID);
-
--- IDN_OIDC_REQ_OBJECT_REFERENCE --
-CREATE INDEX IDX_OROR_TID ON IDN_OIDC_REQ_OBJECT_REFERENCE(TOKEN_ID);
-
--- IDN_OAUTH2_ACCESS_TOKEN_SCOPE --
-CREATE INDEX IDX_ATS_TID ON IDN_OAUTH2_ACCESS_TOKEN_SCOPE(TOKEN_ID);
-
--- SP_TEMPLATE --
-CREATE INDEX IDX_SP_TEMPLATE ON SP_TEMPLATE (TENANT_ID, NAME);
-
--- IDN_AUTH_USER --
-CREATE INDEX IDX_AUTH_USER_UN_TID_DN ON IDN_AUTH_USER (USER_NAME, TENANT_ID, DOMAIN_NAME);
-CREATE INDEX IDX_AUTH_USER_DN_TOD ON IDN_AUTH_USER (DOMAIN_NAME, TENANT_ID);
-
--- IDN_AUTH_USER_SESSION_MAPPING --
-CREATE INDEX IDX_USER_ID ON IDN_AUTH_USER_SESSION_MAPPING (USER_ID);
-CREATE INDEX IDX_SESSION_ID ON IDN_AUTH_USER_SESSION_MAPPING (SESSION_ID);
-
--- IDN_AUTH_SESSION_APP_INFO --
-CREATE INDEX IDX_AUTH_SAI_UN_AID_SID ON IDN_AUTH_SESSION_APP_INFO (APP_ID, SUBJECT, SESSION_ID);
-
--- IDN_OAUTH_CONSUMER_APPS --
-CREATE INDEX IDX_OCA_UM_TID_UD_APN ON IDN_OAUTH_CONSUMER_APPS(USERNAME,TENANT_ID,USER_DOMAIN, APP_NAME);
-
--- IDX_SPI_APP --
-CREATE INDEX IDX_SPI_APP ON SP_INBOUND_AUTH(APP_ID);
-
--- IDN_OIDC_PROPERTY --
-CREATE INDEX IDX_IOP_CK ON IDN_OIDC_PROPERTY(TENANT_ID, CONSUMER_KEY);
-
--- IDN_FIDO2_PROPERTY --
-CREATE INDEX IDX_FIDO2_STR ON FIDO2_DEVICE_STORE(USER_NAME, TENANT_ID, DOMAIN_NAME, CREDENTIAL_ID, USER_HANDLE);
-
--- IDN_ASSOCIATED_ID --
-CREATE INDEX IDX_AI_DN_UN_AI ON IDN_ASSOCIATED_ID(DOMAIN_NAME, USER_NAME, ASSOCIATION_ID);
-
--- IDN_OAUTH2_TOKEN_BINDING --
-CREATE INDEX IDX_IDN_AUTH_BIND ON IDN_OAUTH2_TOKEN_BINDING (TOKEN_BINDING_REF);
-CREATE INDEX IDX_TK_VALUE_TYPE ON IDN_OAUTH2_TOKEN_BINDING (TOKEN_BINDING_VALUE, TOKEN_BINDING_TYPE);
-
--- IDN_FED_AUTH_SESSION_MAPPING --
-CREATE INDEX IDX_FEDERATED_AUTH_SESSION_ID ON IDN_FED_AUTH_SESSION_MAPPING (SESSION_ID);
-
--- IDN_REMOTE_FETCH_REVISIONS --
-CREATE INDEX IDX_REMOTE_FETCH_REVISION_CONFIG_ID ON IDN_REMOTE_FETCH_REVISIONS (CONFIG_ID);
-
--- IDN_CORS_ASSOCIATION --
-CREATE INDEX IDX_CORS_SP_APP_ID ON IDN_CORS_ASSOCIATION (SP_APP_ID);
-
--- IDN_CORS_ASSOCIATION --
-CREATE INDEX IDX_CORS_ORIGIN_ID ON IDN_CORS_ASSOCIATION (IDN_CORS_ORIGIN_ID);
-
--- IDN_SECRET --
-CREATE INDEX IDN_SECRET_TYPE_ID ON IDN_SECRET (TYPE_ID);
-
--- IDN_CLAIM --
-CREATE INDEX IDX_CLAIM_TI_CU ON IDN_CLAIM (TENANT_ID, CLAIM_URI);
-
--- IDP_AUTHENTICATOR_PROPERTY --
-CREATE INDEX IDX_AUTH_PROP_AUTH_ID ON IDP_AUTHENTICATOR_PROPERTY (AUTHENTICATOR_ID);
-
--- IDN_CONFIG_FILE --
-CREATE INDEX IDX_CON_FILE_RES_ID ON IDN_CONFIG_FILE (RESOURCE_ID);
-
--- SCOPE --
-CREATE INDEX API_ID_NAME_INDEX ON SCOPE (API_ID, NAME);
-
--- ACTIONS --
-CREATE INDEX IDX_IDN_ACTION_TY_TI ON IDN_ACTION (TYPE, TENANT_ID);
-CREATE INDEX IDX_IDN_ACTION_ENDPOINT_AU_TI ON IDN_ACTION_ENDPOINT (ACTION_UUID, TENANT_ID);
\ No newline at end of file
diff --git a/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/repository/conf/identity/identity.xml b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/repository/conf/identity/identity.xml
new file mode 100644
index 000000000000..07de6831dbf4
--- /dev/null
+++ b/components/action-mgt/org.wso2.carbon.identity.action.management/src/test/resources/repository/conf/identity/identity.xml
@@ -0,0 +1,743 @@
+
+
+
+
+
+
+
+
+ jdbc/WSO2IdentityDB
+
+
+
+
+ true
+ true
+ 0
+
+ true
+ 20160
+ 1140
+
+
+ true
+ 720
+
+
+
+
+
+
+ 15
+ 20160
+
+
+
+
+
+ ${carbon.home}/conf/keystores
+ SunX509
+ SunX509
+
+
+
+ SelfAndManaged
+ CertValidate
+
+
+
+
+
+
+
+
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/openidserver
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/openid
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/openid_login.do
+
+
+ false
+
+ 7200
+
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -1
+ -1
+ -1
+ -1
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth/request-token
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth/authorize-url
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth/access-token
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/authorize
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/token
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/revoke
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/introspect
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/userinfo
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oidc/checksession
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oidc/logout
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/oauth2_authz.do
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/oauth2_error.do
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/oauth2_consent.do
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/oauth2_logout_consent.do
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/oauth2_logout.do
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/.well-known/webfinger
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/identity/connect/register
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/jwks
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/oidcdiscovery
+
+
+ 300
+
+ 3600
+
+ 3600
+
+ 84600
+
+ 300
+
+ false
+
+ true
+
+ org.wso2.carbon.identity.oauth.tokenprocessor.PlainTextPersistenceProcessor
+
+
+
+ false
+
+
+
+
+
+ token
+ org.wso2.carbon.identity.oauth2.authz.handlers.AccessTokenResponseTypeHandler
+
+
+ code
+ org.wso2.carbon.identity.oauth2.authz.handlers.CodeResponseTypeHandler
+
+
+ id_token
+ org.wso2.carbon.identity.oauth2.authz.handlers.IDTokenResponseTypeHandler
+
+
+ id_token token
+ org.wso2.carbon.identity.oauth2.authz.handlers.IDTokenTokenResponseTypeHandler
+
+
+
+
+
+ authorization_code
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler
+
+
+ password
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.PasswordGrantHandler
+
+
+ refresh_token
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.RefreshGrantHandler
+
+
+ client_credentials
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.ClientCredentialsGrantHandler
+
+
+ urn:ietf:params:oauth:grant-type:saml2-bearer
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.saml.SAML2BearerGrantHandler
+
+
+ iwa:ntlm
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.iwa.ntlm.NTLMAuthenticationGrantHandler
+
+
+ idTokenNotAllowedGrantType
+ org.wso2.carbon.identity.oauth2.token.handlers.grant.idTokenNotAllowedGrantHandler
+ false
+
+
+
+
+
+
+
+
+ false
+
+
+
+ false
+
+
+
+ false
+ org.wso2.carbon.identity.oauth2.authcontext.JWTTokenGenerator
+ org.wso2.carbon.identity.oauth2.authcontext.DefaultClaimsRetriever
+ http://wso2.org/claims
+ SHA256withRSA
+ 10
+
+
+
+
+
+ org.wso2.carbon.identity.openidconnect.DefaultIDTokenBuilder
+ SHA256withRSA
+
+
+
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/oauth2/token
+ org.wso2.carbon.identity.openidconnect.DefaultOIDCClaimsCallbackHandler
+ 3600
+ org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoUserStoreClaimRetriever
+ org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInforRequestDefaultValidator
+ org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoISAccessTokenValidator
+ org.wso2.carbon.identity.oauth.endpoint.user.impl.UserInfoJSONResponseBuilder
+ false
+
+
+
+
+
+
+
+ gtalk
+ talk.google.com
+ 5222
+ gmail.com
+ multifactor1@gmail.com
+ wso2carbon
+
+
+
+
+
+ 157680000
+ 157680000
+ ${carbon.host}
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/samlsso
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/samlsso_logout.do
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/samlsso_notification.do
+ 5
+ 60000
+
+ false
+ http://wso2.org/claims
+ org.wso2.carbon.identity.sso.saml.builders.assertion.ExtendedDefaultAssertionBuilder
+
+ org.wso2.carbon.identity.sso.saml.builders.encryption.DefaultSSOEncrypter
+ org.wso2.carbon.identity.sso.saml.builders.signature.DefaultSSOSigner
+ org.wso2.carbon.identity.sso.saml.validators.SAML2HTTPRedirectDeflateSignatureValidator
+
+
+
+ 5
+ false
+ http://www.w3.org/2000/09/xmldsig#rsa-sha1
+ http://www.w3.org/2000/09/xmldsig#sha1
+ true
+
+
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/services/wso2carbon-sts
+
+
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/passivests
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/authenticationendpoint/retry.do
+ org.wso2.carbon.identity.sts.passive.utils.NoPersistenceTokenStore
+ true
+
+
+
+
+ false
+ ${Ports.ThriftEntitlementReceivePort}
+ 10000
+
+ ${carbon.home}/repository/resources/security/wso2carbon.jks
+ wso2carbon
+
+
+ ${carbon.host}
+
+
+
+
+
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/wso2/scim/Users
+ ${carbon.protocol}://${carbon.host}:${carbon.management.port}/wso2/scim/Groups
+
+
+ 5
+
+
+ 10
+ local://services
+
+
+
+
+
+
+
+
+
+
+
+
+ org.wso2.carbon.identity.governance.store.JDBCIdentityDataStore
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /permission/admin/manage/identity/identitymgt
+
+
+
+
+
+ /permission/admin/manage/identity/usermgt/view
+
+
+ /permission/admin/manage/identity/usermgt/view
+
+
+
+ /permission/admin/manage/identity/configmgt/list
+
+
+
+ /permission/admin/manage/identity/configmgt/add
+
+
+ /permission/admin/manage/identity/configmgt/update
+
+
+
+ /permission/admin/manage/identity/configmgt/delete
+
+
+
+ /permission/admin/manage/identity/configmgt/add
+
+
+ /permission/admin/manage/identity/configmgt/update
+
+
+
+ /permission/admin/manage/identity/configmgt/delete
+
+
+
+ /permission/admin/manage/identity/configmgt/add
+
+
+ /permission/admin/manage/identity/configmgt/update
+
+
+
+ /permission/admin/manage/identity/configmgt/delete
+
+
+
+
+
+
+ /permission/admin/manage/identity/consentmgt/add
+
+
+
+ /permission/admin/manage/identity/consentmgt/delete
+
+
+
+ /permission/admin/manage/identity/consentmgt/add
+
+
+
+ /permission/admin/manage/identity/consentmgt/delete
+
+
+
+ /permission/admin/manage/identity/consentmgt/add
+
+
+
+ /permission/admin/manage/identity/consentmgt/delete
+
+
+
+ /permission/admin/manage/identity/identitymgt
+
+
+
+ /permission/admin/manage/identity/applicationmgt/create
+
+
+ /permission/admin/manage/identity/applicationmgt/delete
+
+
+ /permission/admin/manage/identity/applicationmgt/update
+
+
+ /permission/admin/manage/identity/applicationmgt/view
+
+
+ /permission/admin/manage/identity/applicationmgt/delete
+
+
+ /permission/admin/manage/identity/applicationmgt/create
+
+
+ /permission/admin/manage/identity/applicationmgt/view
+
+
+ /permission/admin/manage/identity/pep
+
+
+ /permission/admin/manage/identity/usermgt/create
+
+
+ /permission/admin/manage/identity/usermgt/list
+
+
+ /permission/admin/manage/identity/rolemgt/create
+
+
+ /permission/admin/manage/identity/rolemgt/view
+
+
+ /permission/admin/manage/identity/usermgt/view
+
+
+ /permission/admin/manage/identity/usermgt/update
+
+
+ /permission/admin/manage/identity/usermgt/update
+
+
+ /permission/admin/manage/identity/usermgt/delete
+
+
+ /permission/admin/manage/identity/rolemgt/view
+
+
+ /permission/admin/manage/identity/rolemgt/update
+
+
+ /permission/admin/manage/identity/rolemgt/update
+
+
+ /permission/admin/manage/identity/rolemgt/delete
+
+
+ /permission/admin/login
+
+
+ /permission/admin/manage/identity/usermgt/delete
+
+
+ /permission/admin/login
+
+
+ /permission/admin/login
+
+
+ /permission/admin/manage/identity/usermgt/create
+
+
+
+
+
+
+
+
+ /permission/admin/manage/identity/usermgt
+
+
+ /permission/admin/manage/identity/applicationmgt
+
+
+
+
+
+
+ /permission/admin/manage/identity/usermgt/update
+
+
+
+
+
+ /permission/admin/manage/humantask/viewtasks
+
+
+ /permission/admin/login
+
+
+ /permission/admin/manage/identity/usermgt
+
+
+ /permission/admin/manage/identity/
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ /api/identity/user/v0.9
+ /api/identity/recovery/v0.9
+ /oauth2
+ /api/identity/entitlement
+
+
+ /identity/(.*)
+
+
+
+
+
+ applications,connections
+
+
+
+ 300
+
diff --git a/components/action-mgt/pom.xml b/components/action-mgt/pom.xml
index 66e1115b19f5..f35a3cb1f9f0 100644
--- a/components/action-mgt/pom.xml
+++ b/components/action-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.collection.mgt/pom.xml b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.collection.mgt/pom.xml
index 1940d1754742..d046e98bc631 100644
--- a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.collection.mgt/pom.xml
+++ b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.collection.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
api-resource-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/pom.xml b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/pom.xml
index be26c7bbf829..75234aab7365 100644
--- a/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/pom.xml
+++ b/components/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
api-resource-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
org.wso2.carbon.identity.api.resource.mgt
diff --git a/components/api-resource-mgt/pom.xml b/components/api-resource-mgt/pom.xml
index 3517106ba6d4..bf4bdc3aa5f7 100644
--- a/components/api-resource-mgt/pom.xml
+++ b/components/api-resource-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/pom.xml b/components/application-mgt/org.wso2.carbon.identity.application.common/pom.xml
index 81ee3563812e..79c3b7a82673 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.common/pom.xml
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/pom.xml
@@ -18,7 +18,7 @@
org.wso2.carbon.identity.framework
application-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
@@ -61,6 +61,10 @@
org.wso2.carbon.identity.framework
org.wso2.carbon.identity.central.log.mgt
+
+ org.wso2.carbon.identity.framework
+ org.wso2.carbon.identity.action.management
+
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java
index 7805ecfd177f..fe35e5aa8626 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/FederatedAuthenticatorConfig.java
@@ -67,6 +67,11 @@ public class FederatedAuthenticatorConfig implements Serializable {
@XmlElement(name = "DefinedBy")
protected DefinedByType definedByType;
+ public FederatedAuthenticatorConfig() {
+
+ definedByType = DefinedByType.SYSTEM;
+ }
+
public static FederatedAuthenticatorConfig build(OMElement federatedAuthenticatorConfigOM) {
if (federatedAuthenticatorConfigOM == null) {
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/LocalAuthenticatorConfig.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/LocalAuthenticatorConfig.java
index 89e09a467774..9bfb17987135 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/LocalAuthenticatorConfig.java
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/LocalAuthenticatorConfig.java
@@ -67,6 +67,11 @@ public class LocalAuthenticatorConfig implements Serializable {
@XmlElement(name = "DefinedBy")
protected DefinedByType definedByType;
+ public LocalAuthenticatorConfig() {
+
+ definedByType = DefinedByType.SYSTEM;
+ }
+
/*
*
*
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedAuthenticatorEndpointConfig.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedAuthenticatorEndpointConfig.java
new file mode 100644
index 000000000000..444d6e41bb0e
--- /dev/null
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedAuthenticatorEndpointConfig.java
@@ -0,0 +1,88 @@
+/*
+ * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
+ *
+ * WSO2 LLC. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.identity.application.common.model;
+
+import org.wso2.carbon.identity.action.management.model.Authentication;
+import org.wso2.carbon.identity.action.management.model.EndpointConfig;
+
+import java.util.Map;
+
+/**
+ * The authenticator endpoint configuration model for the user defined authenticator configurations.
+ */
+public class UserDefinedAuthenticatorEndpointConfig {
+
+ private final EndpointConfig endpointConfig;
+
+ private UserDefinedAuthenticatorEndpointConfig(UserDefinedAuthenticatorEndpointConfigBuilder builder) {
+
+ endpointConfig = builder.endpointConfig;
+ }
+
+ public EndpointConfig getEndpointConfig() {
+
+ return endpointConfig;
+ }
+
+ /**
+ * UserDefinedAuthenticatorEndpointConfig builder.
+ */
+ public static class UserDefinedAuthenticatorEndpointConfigBuilder {
+
+ private String uri;
+ private String authenticationType;
+ private Map authenticationProperties;
+ private EndpointConfig endpointConfig;
+
+ public UserDefinedAuthenticatorEndpointConfigBuilder() {
+ }
+
+ public UserDefinedAuthenticatorEndpointConfigBuilder uri(String uri) {
+
+ this.uri = uri;
+ return this;
+ }
+
+ public UserDefinedAuthenticatorEndpointConfigBuilder authenticationProperties(
+ Map authentication) {
+
+ this.authenticationProperties = authentication;
+ return this;
+ }
+
+ public UserDefinedAuthenticatorEndpointConfigBuilder authenticationType(String authenticationType) {
+
+ this.authenticationType = authenticationType;
+ return this;
+ }
+
+ public UserDefinedAuthenticatorEndpointConfig build() {
+
+ EndpointConfig.EndpointConfigBuilder endpointConfigBuilder = new EndpointConfig.EndpointConfigBuilder();
+ endpointConfigBuilder.uri(uri);
+ endpointConfigBuilder.authentication(new Authentication.AuthenticationBuilder()
+ .type(Authentication.Type.valueOf(authenticationType))
+ .properties(authenticationProperties)
+ .build());
+ endpointConfig = endpointConfigBuilder.build();
+
+ return new UserDefinedAuthenticatorEndpointConfig(this);
+ }
+ }
+}
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedFederatedAuthenticatorConfig.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedFederatedAuthenticatorConfig.java
new file mode 100644
index 000000000000..c7fc749a3718
--- /dev/null
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedFederatedAuthenticatorConfig.java
@@ -0,0 +1,57 @@
+/*
+ * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
+ *
+ * WSO2 LLC. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.identity.application.common.model;
+
+import org.wso2.carbon.identity.base.AuthenticatorPropertyConstants.DefinedByType;
+
+/**
+ * The user defined federated authenticator configuration model.
+ */
+public class UserDefinedFederatedAuthenticatorConfig extends FederatedAuthenticatorConfig {
+
+ private static final String TAG_CUSTOM = "CUSTOM";
+
+ protected UserDefinedAuthenticatorEndpointConfig endpointConfig;
+
+ public UserDefinedFederatedAuthenticatorConfig() {
+
+ definedByType = DefinedByType.USER;
+ setTags(new String[]{TAG_CUSTOM});
+ }
+
+ /**
+ * Get the endpoint configurations of the User defined federated authenticator config.
+ *
+ * @return UserDefinedAuthenticatorEndpointConfig
+ */
+ public UserDefinedAuthenticatorEndpointConfig getEndpointConfig() {
+
+ return endpointConfig;
+ }
+
+ /**
+ * Set the endpoint configurations of the User defined federated authenticator config.
+ *
+ * @param endpointConfig The endpoint config of the User defined federated authenticator config.
+ */
+ public void setEndpointConfig(UserDefinedAuthenticatorEndpointConfig endpointConfig) {
+
+ this.endpointConfig = endpointConfig;
+ }
+}
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedLocalAuthenticatorConfig.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedLocalAuthenticatorConfig.java
new file mode 100644
index 000000000000..fab5a37a69bd
--- /dev/null
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/main/java/org/wso2/carbon/identity/application/common/model/UserDefinedLocalAuthenticatorConfig.java
@@ -0,0 +1,63 @@
+/*
+ * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
+ *
+ * WSO2 LLC. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.identity.application.common.model;
+
+import org.wso2.carbon.identity.base.AuthenticatorPropertyConstants.AuthenticationType;
+import org.wso2.carbon.identity.base.AuthenticatorPropertyConstants.DefinedByType;
+
+/**
+ * The user defined local authenticator configuration model.
+ */
+public class UserDefinedLocalAuthenticatorConfig extends LocalAuthenticatorConfig {
+
+ private static final String TAG_2FA = "2FA";
+ private static final String TAG_CUSTOM = "CUSTOM";
+
+ protected UserDefinedAuthenticatorEndpointConfig endpointConfig;
+
+ public UserDefinedLocalAuthenticatorConfig(AuthenticationType type) {
+
+ definedByType = DefinedByType.USER;
+ if (AuthenticationType.VERIFICATION == type) {
+ setTags(new String[]{TAG_CUSTOM, TAG_2FA});
+ } else {
+ setTags(new String[]{TAG_CUSTOM});
+ }
+ }
+
+ /**
+ * Get the endpoint configurations of the User defined local authenticator config.
+ *
+ * @return UserDefinedAuthenticatorEndpointConfig
+ */
+ public UserDefinedAuthenticatorEndpointConfig getEndpointConfig() {
+
+ return endpointConfig;
+ }
+
+ /**
+ * Set the endpoint configurations of the User defined local authenticator config.
+ *
+ * @param endpointConfig The endpoint config of the User defined local authenticator config.
+ */
+ public void setEndpointConfig(UserDefinedAuthenticatorEndpointConfig endpointConfig) {
+
+ this.endpointConfig = endpointConfig;
+ }
+}
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/java/org/wso2/carbon/identity/application/common/model/test/UserDefinedAuthenticatorTest.java b/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/java/org/wso2/carbon/identity/application/common/model/test/UserDefinedAuthenticatorTest.java
new file mode 100644
index 000000000000..f4dc6f8f2eee
--- /dev/null
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/java/org/wso2/carbon/identity/application/common/model/test/UserDefinedAuthenticatorTest.java
@@ -0,0 +1,122 @@
+/*
+ * Copyright (c) 2024, WSO2 LLC. (http://www.wso2.com).
+ *
+ * WSO2 LLC. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+package org.wso2.carbon.identity.application.common.model.test;
+
+import org.testng.annotations.DataProvider;
+import org.testng.annotations.Test;
+import org.wso2.carbon.identity.application.common.model.UserDefinedAuthenticatorEndpointConfig;
+import org.wso2.carbon.identity.application.common.model.UserDefinedAuthenticatorEndpointConfig.UserDefinedAuthenticatorEndpointConfigBuilder;
+import org.wso2.carbon.identity.application.common.model.UserDefinedFederatedAuthenticatorConfig;
+import org.wso2.carbon.identity.application.common.model.UserDefinedLocalAuthenticatorConfig;
+import org.wso2.carbon.identity.base.AuthenticatorPropertyConstants;
+
+import java.util.HashMap;
+
+import static org.testng.Assert.assertEquals;
+
+public class UserDefinedAuthenticatorTest {
+
+ private static final String URI = "http://localhost:8080";
+
+ @Test
+ public void createUserDefinedLocalVerificationAuthenticator() {
+
+ UserDefinedLocalAuthenticatorConfig config =
+ new UserDefinedLocalAuthenticatorConfig(AuthenticatorPropertyConstants.AuthenticationType.VERIFICATION);
+ assertEquals(config.getTags(), new String[]{"CUSTOM", "2FA"});
+ assertEquals(config.getDefinedByType(), AuthenticatorPropertyConstants.DefinedByType.USER);
+ }
+
+ @Test
+ public void createUserDefinedLocalIdentificationAuthenticator() {
+
+ UserDefinedLocalAuthenticatorConfig config =
+ new UserDefinedLocalAuthenticatorConfig(
+ AuthenticatorPropertyConstants.AuthenticationType.IDENTIFICATION);
+ assertEquals(config.getTags(), new String[]{"CUSTOM"});
+ assertEquals(config.getDefinedByType(), AuthenticatorPropertyConstants.DefinedByType.USER);
+ }
+
+ @Test
+ public void createUserDefinedFederatedAuthenticator() {
+
+ UserDefinedFederatedAuthenticatorConfig config = new UserDefinedFederatedAuthenticatorConfig();
+ assertEquals(config.getTags(), new String[]{"CUSTOM"});
+ assertEquals(config.getDefinedByType(), AuthenticatorPropertyConstants.DefinedByType.USER);
+ }
+
+ @DataProvider(name = "endpointConfig")
+ public Object[][] endpointConfig() {
+ return new Object[][] {
+ {URI, "BASIC", new HashMap() {{
+ put("username", "value1");
+ put("password", "value2");
+ }}},
+ {URI, "BEARER", new HashMap() {{
+ put("accessToken", "value1");
+ }}}
+ };
+ }
+
+ @Test(dataProvider = "endpointConfig")
+ public void createEndpointConfigurationTest(String uri, String authenticationType, HashMap endpointConfig) {
+
+ UserDefinedAuthenticatorEndpointConfigBuilder endpointConfigBuilder =
+ new UserDefinedAuthenticatorEndpointConfigBuilder();
+ endpointConfigBuilder.uri(uri);
+ endpointConfigBuilder.authenticationType(authenticationType);
+ endpointConfigBuilder.authenticationProperties(endpointConfig);
+ UserDefinedAuthenticatorEndpointConfig authEndpointConfig = endpointConfigBuilder.build();
+
+ assertEquals(authEndpointConfig.getEndpointConfig().getUri(), uri);
+ assertEquals(authEndpointConfig.getEndpointConfig().getAuthentication().getType().getName(),
+ authenticationType);
+ assertEquals(authEndpointConfig.getEndpointConfig().getAuthentication().getProperties().size(),
+ endpointConfig.size());
+ }
+
+ @DataProvider(name = "invalidEndpointConfig")
+ public Object[][] invalidEndpointConfig() {
+ return new Object[][] {
+ {URI, "INVALID", new HashMap() {{
+ put("username", "value1");
+ put("password", "value2");
+ }}},
+ {URI, "BEARER", new HashMap() {{
+ put("invalidProp", "value1");
+ }}},
+ {URI, "BASIC", new HashMap() {{
+ put("username", "value1");
+ }}}
+ };
+ }
+
+ @Test(dataProvider = "invalidEndpointConfig", expectedExceptions = RuntimeException.class)
+ public void invalidEndpointConfigurationTest(String uri, String authenticationType, HashMap endpointConfig) {
+
+ UserDefinedAuthenticatorEndpointConfigBuilder endpointConfigBuilder =
+ new UserDefinedAuthenticatorEndpointConfigBuilder();
+ endpointConfigBuilder.uri(uri);
+ endpointConfigBuilder.authenticationType(authenticationType);
+ endpointConfigBuilder.authenticationProperties(endpointConfig);
+ endpointConfigBuilder.build();
+ }
+}
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/resources/testng.xml b/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/resources/testng.xml
index 8a3e112753b7..917b616e3e8a 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/resources/testng.xml
+++ b/components/application-mgt/org.wso2.carbon.identity.application.common/src/test/resources/testng.xml
@@ -21,6 +21,7 @@
+
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.mgt.ui/pom.xml b/components/application-mgt/org.wso2.carbon.identity.application.mgt.ui/pom.xml
index 1eebd1f665ee..7f9e2858de95 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.mgt.ui/pom.xml
+++ b/components/application-mgt/org.wso2.carbon.identity.application.mgt.ui/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
application-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml b/components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml
index badeb62bbeaa..f6639d74ffce 100644
--- a/components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml
+++ b/components/application-mgt/org.wso2.carbon.identity.application.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
application-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
org.wso2.carbon.identity.application.mgt
diff --git a/components/application-mgt/pom.xml b/components/application-mgt/pom.xml
index c70cd17b0e2b..a1c8cc9082c1 100644
--- a/components/application-mgt/pom.xml
+++ b/components/application-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/pom.xml b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/pom.xml
index b50b3fbe44df..b7baf6a56054 100644
--- a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/pom.xml
+++ b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.endpoint.util/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
authentication-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/pom.xml b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/pom.xml
index 88e669dca9f2..5db6eabfd56e 100644
--- a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/pom.xml
+++ b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
authentication-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/authentication-framework/pom.xml b/components/authentication-framework/pom.xml
index 103b40043e6a..d5d18aa3ecab 100644
--- a/components/authentication-framework/pom.xml
+++ b/components/authentication-framework/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/captcha-mgt/org.wso2.carbon.captcha.mgt/pom.xml b/components/captcha-mgt/org.wso2.carbon.captcha.mgt/pom.xml
index 6c1cc204cdc5..00308b6e43c8 100644
--- a/components/captcha-mgt/org.wso2.carbon.captcha.mgt/pom.xml
+++ b/components/captcha-mgt/org.wso2.carbon.captcha.mgt/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
captcha-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/captcha-mgt/pom.xml b/components/captcha-mgt/pom.xml
index b9a0babcf4af..5c48d16f5695 100644
--- a/components/captcha-mgt/pom.xml
+++ b/components/captcha-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/carbon-authenticators/pom.xml b/components/carbon-authenticators/pom.xml
index fdb569312c95..8fa35fb8fea6 100644
--- a/components/carbon-authenticators/pom.xml
+++ b/components/carbon-authenticators/pom.xml
@@ -17,7 +17,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.authenticator.thrift/pom.xml b/components/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.authenticator.thrift/pom.xml
index 47316220714a..bd52a6210ca8 100644
--- a/components/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.authenticator.thrift/pom.xml
+++ b/components/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.authenticator.thrift/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
thrift-authenticator
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/carbon-authenticators/thrift-authenticator/pom.xml b/components/carbon-authenticators/thrift-authenticator/pom.xml
index cc9291a83758..e12e84856c4b 100644
--- a/components/carbon-authenticators/thrift-authenticator/pom.xml
+++ b/components/carbon-authenticators/thrift-authenticator/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
carbon-authenticators
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/central-logger/org.wso2.carbon.identity.central.log.mgt/pom.xml b/components/central-logger/org.wso2.carbon.identity.central.log.mgt/pom.xml
index 931d4555375c..71dd3cce1394 100644
--- a/components/central-logger/org.wso2.carbon.identity.central.log.mgt/pom.xml
+++ b/components/central-logger/org.wso2.carbon.identity.central.log.mgt/pom.xml
@@ -21,7 +21,7 @@
central-logger
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/central-logger/pom.xml b/components/central-logger/pom.xml
index 053a3429eee6..42e7d0a98066 100644
--- a/components/central-logger/pom.xml
+++ b/components/central-logger/pom.xml
@@ -21,7 +21,7 @@
identity-framework
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/certificate-mgt/org.wso2.carbon.identity.certificate.management/pom.xml b/components/certificate-mgt/org.wso2.carbon.identity.certificate.management/pom.xml
index 8f6518665ef3..98736f9f9d29 100644
--- a/components/certificate-mgt/org.wso2.carbon.identity.certificate.management/pom.xml
+++ b/components/certificate-mgt/org.wso2.carbon.identity.certificate.management/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
certificate-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/components/certificate-mgt/pom.xml b/components/certificate-mgt/pom.xml
index 359cd01d6e52..4eaef2c91656 100644
--- a/components/certificate-mgt/pom.xml
+++ b/components/certificate-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/claim-mgt/org.wso2.carbon.claim.mgt.ui/pom.xml b/components/claim-mgt/org.wso2.carbon.claim.mgt.ui/pom.xml
index a9b3c97491d9..5a6d9e22ea06 100644
--- a/components/claim-mgt/org.wso2.carbon.claim.mgt.ui/pom.xml
+++ b/components/claim-mgt/org.wso2.carbon.claim.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
claim-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/claim-mgt/org.wso2.carbon.claim.mgt/pom.xml b/components/claim-mgt/org.wso2.carbon.claim.mgt/pom.xml
index 90661960afb4..3dcf86ad2789 100644
--- a/components/claim-mgt/org.wso2.carbon.claim.mgt/pom.xml
+++ b/components/claim-mgt/org.wso2.carbon.claim.mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
claim-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt.ui/pom.xml b/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt.ui/pom.xml
index b5954bf81ce1..3c4ac06eb3df 100644
--- a/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt.ui/pom.xml
+++ b/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt.ui/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
claim-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt/pom.xml b/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt/pom.xml
index 75999e2f826e..d73d17cd4806 100644
--- a/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt/pom.xml
+++ b/components/claim-mgt/org.wso2.carbon.identity.claim.metadata.mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
claim-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/claim-mgt/pom.xml b/components/claim-mgt/pom.xml
index b1b6febcdd0c..00207aee976c 100644
--- a/components/claim-mgt/pom.xml
+++ b/components/claim-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt/pom.xml b/components/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt/pom.xml
index 251968ff2813..84c93ffc2123 100644
--- a/components/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt/pom.xml
+++ b/components/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
client-attestation-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/client-attestation-mgt/pom.xml b/components/client-attestation-mgt/pom.xml
index d1952869d829..32defb9c685f 100644
--- a/components/client-attestation-mgt/pom.xml
+++ b/components/client-attestation-mgt/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/pom.xml b/components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/pom.xml
index ad7225c7ec0c..194bb5d509ec 100644
--- a/components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/pom.xml
+++ b/components/configuration-mgt/org.wso2.carbon.identity.api.server.configuration.mgt/pom.xml
@@ -23,11 +23,11 @@
org.wso2.carbon.identity.framework
configuration-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
org.wso2.carbon.identity.api.server.configuration.mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
jar
WSO2 Carbon - Configuration Management API
Identity Configuration Management API
diff --git a/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.core/pom.xml b/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.core/pom.xml
index a7411d47200a..6771e6203c6b 100644
--- a/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.core/pom.xml
+++ b/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.core/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
configuration-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.endpoint/pom.xml b/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.endpoint/pom.xml
index df9afc042a0c..103447337384 100644
--- a/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.endpoint/pom.xml
+++ b/components/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.endpoint/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
configuration-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/configuration-mgt/pom.xml b/components/configuration-mgt/pom.xml
index 2c06df39b832..4fa635355bf0 100644
--- a/components/configuration-mgt/pom.xml
+++ b/components/configuration-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/consent-mgt/org.wso2.carbon.identity.consent.mgt/pom.xml b/components/consent-mgt/org.wso2.carbon.identity.consent.mgt/pom.xml
index f65386c8ef76..2d7da76fe0d8 100644
--- a/components/consent-mgt/org.wso2.carbon.identity.consent.mgt/pom.xml
+++ b/components/consent-mgt/org.wso2.carbon.identity.consent.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
consent-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/consent-mgt/pom.xml b/components/consent-mgt/pom.xml
index 14f2f9d2e3e8..1a89a2c09d5c 100644
--- a/components/consent-mgt/pom.xml
+++ b/components/consent-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt/pom.xml b/components/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt/pom.xml
index 7b214c8cdb18..f96f1b1507bc 100644
--- a/components/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt/pom.xml
+++ b/components/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
consent-server-configs-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/consent-server-configs-mgt/pom.xml b/components/consent-server-configs-mgt/pom.xml
index d246166edc52..2d689c0f2e27 100644
--- a/components/consent-server-configs-mgt/pom.xml
+++ b/components/consent-server-configs-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/cors-mgt/org.wso2.carbon.identity.cors.mgt.core/pom.xml b/components/cors-mgt/org.wso2.carbon.identity.cors.mgt.core/pom.xml
index 6807afad75ac..14c5dea3992c 100644
--- a/components/cors-mgt/org.wso2.carbon.identity.cors.mgt.core/pom.xml
+++ b/components/cors-mgt/org.wso2.carbon.identity.cors.mgt.core/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
cors-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/cors-mgt/pom.xml b/components/cors-mgt/pom.xml
index 1648eb5b4bb0..a4c59c64d4e7 100644
--- a/components/cors-mgt/pom.xml
+++ b/components/cors-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/directory-server-manager/org.wso2.carbon.directory.server.manager.common/pom.xml b/components/directory-server-manager/org.wso2.carbon.directory.server.manager.common/pom.xml
index 7b2232bc74c5..655531d8280c 100644
--- a/components/directory-server-manager/org.wso2.carbon.directory.server.manager.common/pom.xml
+++ b/components/directory-server-manager/org.wso2.carbon.directory.server.manager.common/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
directory-server-manager
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/directory-server-manager/org.wso2.carbon.directory.server.manager.ui/pom.xml b/components/directory-server-manager/org.wso2.carbon.directory.server.manager.ui/pom.xml
index e80ea0a513cf..8a7db655371e 100644
--- a/components/directory-server-manager/org.wso2.carbon.directory.server.manager.ui/pom.xml
+++ b/components/directory-server-manager/org.wso2.carbon.directory.server.manager.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
directory-server-manager
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/directory-server-manager/org.wso2.carbon.directory.server.manager/pom.xml b/components/directory-server-manager/org.wso2.carbon.directory.server.manager/pom.xml
index 9647fcb6e3fc..811cab2182e5 100644
--- a/components/directory-server-manager/org.wso2.carbon.directory.server.manager/pom.xml
+++ b/components/directory-server-manager/org.wso2.carbon.directory.server.manager/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
directory-server-manager
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/directory-server-manager/pom.xml b/components/directory-server-manager/pom.xml
index 2fae059be3a9..f3a3abfd234b 100644
--- a/components/directory-server-manager/pom.xml
+++ b/components/directory-server-manager/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/entitlement/org.wso2.carbon.identity.api.server.entitlement/pom.xml b/components/entitlement/org.wso2.carbon.identity.api.server.entitlement/pom.xml
index feb4fde97dae..168e58cb14e1 100644
--- a/components/entitlement/org.wso2.carbon.identity.api.server.entitlement/pom.xml
+++ b/components/entitlement/org.wso2.carbon.identity.api.server.entitlement/pom.xml
@@ -23,11 +23,11 @@
org.wso2.carbon.identity.framework
entitlement
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
org.wso2.carbon.identity.api.server.entitlement
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
WSO2 Carbon - Entitlement REST API
jar
diff --git a/components/entitlement/org.wso2.carbon.identity.entitlement.common/pom.xml b/components/entitlement/org.wso2.carbon.identity.entitlement.common/pom.xml
index 8c443a7ce4f5..d1468aae3258 100644
--- a/components/entitlement/org.wso2.carbon.identity.entitlement.common/pom.xml
+++ b/components/entitlement/org.wso2.carbon.identity.entitlement.common/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
entitlement
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/entitlement/org.wso2.carbon.identity.entitlement.endpoint/pom.xml b/components/entitlement/org.wso2.carbon.identity.entitlement.endpoint/pom.xml
index 0bc10dc2840b..c3439f89c1d4 100644
--- a/components/entitlement/org.wso2.carbon.identity.entitlement.endpoint/pom.xml
+++ b/components/entitlement/org.wso2.carbon.identity.entitlement.endpoint/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
entitlement
../pom.xml
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
org.wso2.carbon.identity.entitlement.endpoint
diff --git a/components/entitlement/org.wso2.carbon.identity.entitlement.ui/pom.xml b/components/entitlement/org.wso2.carbon.identity.entitlement.ui/pom.xml
index abf72d0c962a..4f675be55a46 100644
--- a/components/entitlement/org.wso2.carbon.identity.entitlement.ui/pom.xml
+++ b/components/entitlement/org.wso2.carbon.identity.entitlement.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
entitlement
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/entitlement/org.wso2.carbon.identity.entitlement/pom.xml b/components/entitlement/org.wso2.carbon.identity.entitlement/pom.xml
index f4a3b833e3a9..2e11661949ed 100644
--- a/components/entitlement/org.wso2.carbon.identity.entitlement/pom.xml
+++ b/components/entitlement/org.wso2.carbon.identity.entitlement/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
entitlement
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/entitlement/pom.xml b/components/entitlement/pom.xml
index 2e2814e5bd55..7be3fb166c43 100644
--- a/components/entitlement/pom.xml
+++ b/components/entitlement/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/extension-mgt/org.wso2.carbon.identity.extension.mgt/pom.xml b/components/extension-mgt/org.wso2.carbon.identity.extension.mgt/pom.xml
index 79cd5ef15009..9415bad94112 100644
--- a/components/extension-mgt/org.wso2.carbon.identity.extension.mgt/pom.xml
+++ b/components/extension-mgt/org.wso2.carbon.identity.extension.mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
extension-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/extension-mgt/pom.xml b/components/extension-mgt/pom.xml
index 2a8b55ba412f..b519a2a92703 100644
--- a/components/extension-mgt/pom.xml
+++ b/components/extension-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui/pom.xml b/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui/pom.xml
index 9b2dfc54a345..5e4cd4fe0f74 100644
--- a/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui/pom.xml
+++ b/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
functions-library-mgt
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt/pom.xml b/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt/pom.xml
index 52a0e148778b..70ce4157d8a6 100644
--- a/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt/pom.xml
+++ b/components/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt/pom.xml
@@ -21,7 +21,7 @@
functions-library-mgt
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/functions-library-mgt/pom.xml b/components/functions-library-mgt/pom.xml
index 522761c51457..d84ca9a759ef 100644
--- a/components/functions-library-mgt/pom.xml
+++ b/components/functions-library-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/identity-core/org.wso2.carbon.identity.base/pom.xml b/components/identity-core/org.wso2.carbon.identity.base/pom.xml
index 5d5532188846..1aa41ee5e0f3 100644
--- a/components/identity-core/org.wso2.carbon.identity.base/pom.xml
+++ b/components/identity-core/org.wso2.carbon.identity.base/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-core
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-core/org.wso2.carbon.identity.core.ui/pom.xml b/components/identity-core/org.wso2.carbon.identity.core.ui/pom.xml
index 879d05e49733..e2b53b3f12f3 100644
--- a/components/identity-core/org.wso2.carbon.identity.core.ui/pom.xml
+++ b/components/identity-core/org.wso2.carbon.identity.core.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-core
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-core/org.wso2.carbon.identity.core/pom.xml b/components/identity-core/org.wso2.carbon.identity.core/pom.xml
index e01015b2e531..39bafa26dfa4 100644
--- a/components/identity-core/org.wso2.carbon.identity.core/pom.xml
+++ b/components/identity-core/org.wso2.carbon.identity.core/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-core
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-core/pom.xml b/components/identity-core/pom.xml
index 8c799178628d..02e34e3081b2 100644
--- a/components/identity-core/pom.xml
+++ b/components/identity-core/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/identity-event/org.wso2.carbon.identity.event/pom.xml b/components/identity-event/org.wso2.carbon.identity.event/pom.xml
index deede06c2a7f..e662e0bae8b5 100644
--- a/components/identity-event/org.wso2.carbon.identity.event/pom.xml
+++ b/components/identity-event/org.wso2.carbon.identity.event/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-event
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-event/pom.xml b/components/identity-event/pom.xml
index 271ee3491a59..00c8d8ed1e4a 100644
--- a/components/identity-event/pom.xml
+++ b/components/identity-event/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint.util/pom.xml b/components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint.util/pom.xml
index 6bfc4c85757f..15560a48c9b2 100644
--- a/components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint.util/pom.xml
+++ b/components/identity-mgt/org.wso2.carbon.identity.mgt.endpoint.util/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-mgt/org.wso2.carbon.identity.mgt.ui/pom.xml b/components/identity-mgt/org.wso2.carbon.identity.mgt.ui/pom.xml
index f40f73b788ef..fa3d980d50f6 100644
--- a/components/identity-mgt/org.wso2.carbon.identity.mgt.ui/pom.xml
+++ b/components/identity-mgt/org.wso2.carbon.identity.mgt.ui/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
identity-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-mgt/org.wso2.carbon.identity.mgt/pom.xml b/components/identity-mgt/org.wso2.carbon.identity.mgt/pom.xml
index 42cc19638459..a20a38dd7f1d 100644
--- a/components/identity-mgt/org.wso2.carbon.identity.mgt/pom.xml
+++ b/components/identity-mgt/org.wso2.carbon.identity.mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/identity-mgt/pom.xml b/components/identity-mgt/pom.xml
index 0268aac9a35b..c1e935a05b2e 100644
--- a/components/identity-mgt/pom.xml
+++ b/components/identity-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/idp-mgt/org.wso2.carbon.idp.mgt.ui/pom.xml b/components/idp-mgt/org.wso2.carbon.idp.mgt.ui/pom.xml
index a1ec970358d8..b3a0e75a4db0 100644
--- a/components/idp-mgt/org.wso2.carbon.idp.mgt.ui/pom.xml
+++ b/components/idp-mgt/org.wso2.carbon.idp.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-provider-management
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/idp-mgt/org.wso2.carbon.idp.mgt/pom.xml b/components/idp-mgt/org.wso2.carbon.idp.mgt/pom.xml
index 9342fab6dc2a..419f689141e3 100644
--- a/components/idp-mgt/org.wso2.carbon.idp.mgt/pom.xml
+++ b/components/idp-mgt/org.wso2.carbon.idp.mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-provider-management
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/idp-mgt/pom.xml b/components/idp-mgt/pom.xml
index bda778baf7f9..ede01d90a8e5 100644
--- a/components/idp-mgt/pom.xml
+++ b/components/idp-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt/pom.xml b/components/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt/pom.xml
index 4c149c1a42cf..fcb85f1c8456 100644
--- a/components/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt/pom.xml
+++ b/components/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
input-validation-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/input-validation-mgt/pom.xml b/components/input-validation-mgt/pom.xml
index 901e615b9df5..857127c55807 100644
--- a/components/input-validation-mgt/pom.xml
+++ b/components/input-validation-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt/pom.xml b/components/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt/pom.xml
index 68ac323c13cc..48178cefe53b 100644
--- a/components/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt/pom.xml
+++ b/components/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt/pom.xml
@@ -21,7 +21,7 @@
multi-attribute-login
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt/pom.xml b/components/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt/pom.xml
index fe4ec594f344..4e646c426f0c 100644
--- a/components/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt/pom.xml
+++ b/components/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt/pom.xml
@@ -21,7 +21,7 @@
multi-attribute-login
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/multi-attribute-login/pom.xml b/components/multi-attribute-login/pom.xml
index 4f21bc6e5750..4de8c357e833 100644
--- a/components/multi-attribute-login/pom.xml
+++ b/components/multi-attribute-login/pom.xml
@@ -21,7 +21,7 @@
identity-framework
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/components/notification-mgt/org.wso2.carbon.identity.notification.mgt/pom.xml b/components/notification-mgt/org.wso2.carbon.identity.notification.mgt/pom.xml
index 244f150cb0c2..01b09e2a4623 100644
--- a/components/notification-mgt/org.wso2.carbon.identity.notification.mgt/pom.xml
+++ b/components/notification-mgt/org.wso2.carbon.identity.notification.mgt/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
notification-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/notification-mgt/pom.xml b/components/notification-mgt/pom.xml
index 074b1c51fef8..d0af4e8a7130 100644
--- a/components/notification-mgt/pom.xml
+++ b/components/notification-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/policy-editor/org.wso2.carbon.policyeditor.ui/pom.xml b/components/policy-editor/org.wso2.carbon.policyeditor.ui/pom.xml
index 5d4f6aa1a2a1..f3155a31e736 100644
--- a/components/policy-editor/org.wso2.carbon.policyeditor.ui/pom.xml
+++ b/components/policy-editor/org.wso2.carbon.policyeditor.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
policy-editor
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/policy-editor/org.wso2.carbon.policyeditor/pom.xml b/components/policy-editor/org.wso2.carbon.policyeditor/pom.xml
index 162628955913..804cb6582536 100644
--- a/components/policy-editor/org.wso2.carbon.policyeditor/pom.xml
+++ b/components/policy-editor/org.wso2.carbon.policyeditor/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
policy-editor
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/policy-editor/pom.xml b/components/policy-editor/pom.xml
index 70eec2b7c7eb..398599b578f4 100644
--- a/components/policy-editor/pom.xml
+++ b/components/policy-editor/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/provisioning/org.wso2.carbon.identity.provisioning/pom.xml b/components/provisioning/org.wso2.carbon.identity.provisioning/pom.xml
index 36f80500cc39..d6502d999567 100644
--- a/components/provisioning/org.wso2.carbon.identity.provisioning/pom.xml
+++ b/components/provisioning/org.wso2.carbon.identity.provisioning/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
provisioning
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/provisioning/pom.xml b/components/provisioning/pom.xml
index 596b3a9f5b67..063466fc93d9 100644
--- a/components/provisioning/pom.xml
+++ b/components/provisioning/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/role-mgt/org.wso2.carbon.identity.role.mgt.core/pom.xml b/components/role-mgt/org.wso2.carbon.identity.role.mgt.core/pom.xml
index 6e17259adf10..30b014791fbf 100644
--- a/components/role-mgt/org.wso2.carbon.identity.role.mgt.core/pom.xml
+++ b/components/role-mgt/org.wso2.carbon.identity.role.mgt.core/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
role-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/pom.xml b/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/pom.xml
index 6acb9998752c..f9736deeaf70 100644
--- a/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/pom.xml
+++ b/components/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
role-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/role-mgt/pom.xml b/components/role-mgt/pom.xml
index 51c5bf79445d..671bebe0d35d 100644
--- a/components/role-mgt/pom.xml
+++ b/components/role-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/secret-mgt/org.wso2.carbon.identity.secret.mgt.core/pom.xml b/components/secret-mgt/org.wso2.carbon.identity.secret.mgt.core/pom.xml
index 5087a7b162d8..584162d8d16e 100644
--- a/components/secret-mgt/org.wso2.carbon.identity.secret.mgt.core/pom.xml
+++ b/components/secret-mgt/org.wso2.carbon.identity.secret.mgt.core/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
secret-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/components/secret-mgt/pom.xml b/components/secret-mgt/pom.xml
index 34942c2c3f3a..c8e053e90f7d 100644
--- a/components/secret-mgt/pom.xml
+++ b/components/secret-mgt/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/security-mgt/org.wso2.carbon.security.mgt.ui/pom.xml b/components/security-mgt/org.wso2.carbon.security.mgt.ui/pom.xml
index e4faa0af316f..762e3ad56fb7 100644
--- a/components/security-mgt/org.wso2.carbon.security.mgt.ui/pom.xml
+++ b/components/security-mgt/org.wso2.carbon.security.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
security-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/security-mgt/org.wso2.carbon.security.mgt/pom.xml b/components/security-mgt/org.wso2.carbon.security.mgt/pom.xml
index fb03c8e06628..0719a7139bf3 100644
--- a/components/security-mgt/org.wso2.carbon.security.mgt/pom.xml
+++ b/components/security-mgt/org.wso2.carbon.security.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
security-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/security-mgt/pom.xml b/components/security-mgt/pom.xml
index f40023d587de..216c04c3cca2 100644
--- a/components/security-mgt/pom.xml
+++ b/components/security-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/template-mgt/org.wso2.carbon.identity.template.mgt.ui/pom.xml b/components/template-mgt/org.wso2.carbon.identity.template.mgt.ui/pom.xml
index 173599839f4c..2a64ff01e3e8 100644
--- a/components/template-mgt/org.wso2.carbon.identity.template.mgt.ui/pom.xml
+++ b/components/template-mgt/org.wso2.carbon.identity.template.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
template-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/template-mgt/org.wso2.carbon.identity.template.mgt/pom.xml b/components/template-mgt/org.wso2.carbon.identity.template.mgt/pom.xml
index f2ab23a2c95e..b4fc1d7be7fd 100644
--- a/components/template-mgt/org.wso2.carbon.identity.template.mgt/pom.xml
+++ b/components/template-mgt/org.wso2.carbon.identity.template.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
template-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/components/template-mgt/pom.xml b/components/template-mgt/pom.xml
index 0ce9f3e34e14..d63c5d0d3b51 100644
--- a/components/template-mgt/pom.xml
+++ b/components/template-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt/pom.xml b/components/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt/pom.xml
index b986815e72d3..b370cf76ff0c 100644
--- a/components/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt/pom.xml
+++ b/components/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
trusted-app-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/trusted-app-mgt/pom.xml b/components/trusted-app-mgt/pom.xml
index 4f17feece149..a3d48a7b975f 100644
--- a/components/trusted-app-mgt/pom.xml
+++ b/components/trusted-app-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt/pom.xml b/components/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt/pom.xml
index c06c4738a85a..fd4a61eba730 100644
--- a/components/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt/pom.xml
+++ b/components/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt/pom.xml
@@ -21,7 +21,7 @@
user-functionality-mgt
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/components/user-functionality-mgt/pom.xml b/components/user-functionality-mgt/pom.xml
index 6c88f31f935c..481db3c99e9a 100644
--- a/components/user-functionality-mgt/pom.xml
+++ b/components/user-functionality-mgt/pom.xml
@@ -21,7 +21,7 @@
identity-framework
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.identity.user.profile.ui/pom.xml b/components/user-mgt/org.wso2.carbon.identity.user.profile.ui/pom.xml
index 87beeb057e0e..8ae55a5d30f3 100644
--- a/components/user-mgt/org.wso2.carbon.identity.user.profile.ui/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.identity.user.profile.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.identity.user.profile/pom.xml b/components/user-mgt/org.wso2.carbon.identity.user.profile/pom.xml
index 87cec78fb99f..9f1546f601ce 100644
--- a/components/user-mgt/org.wso2.carbon.identity.user.profile/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.identity.user.profile/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.identity.user.registration/pom.xml b/components/user-mgt/org.wso2.carbon.identity.user.registration/pom.xml
index 54a0061b1690..459da5263a62 100644
--- a/components/user-mgt/org.wso2.carbon.identity.user.registration/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.identity.user.registration/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.role.mgt.ui/pom.xml b/components/user-mgt/org.wso2.carbon.role.mgt.ui/pom.xml
index 4033fc4dc247..36a207a79d59 100644
--- a/components/user-mgt/org.wso2.carbon.role.mgt.ui/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.role.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.user.mgt.common/pom.xml b/components/user-mgt/org.wso2.carbon.user.mgt.common/pom.xml
index 6ac437d5b832..86185cdc6ea6 100644
--- a/components/user-mgt/org.wso2.carbon.user.mgt.common/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.user.mgt.common/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.user.mgt.ui/pom.xml b/components/user-mgt/org.wso2.carbon.user.mgt.ui/pom.xml
index 8b3f56b9b019..77a28e8287bf 100644
--- a/components/user-mgt/org.wso2.carbon.user.mgt.ui/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.user.mgt.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/org.wso2.carbon.user.mgt/pom.xml b/components/user-mgt/org.wso2.carbon.user.mgt/pom.xml
index 88095b7dcaaa..6786da8463dd 100644
--- a/components/user-mgt/org.wso2.carbon.user.mgt/pom.xml
+++ b/components/user-mgt/org.wso2.carbon.user.mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-mgt/pom.xml b/components/user-mgt/pom.xml
index 6eadccf22525..7ed4d635a2ac 100644
--- a/components/user-mgt/pom.xml
+++ b/components/user-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/components/user-store/org.wso2.carbon.identity.user.store.configuration.deployer/pom.xml b/components/user-store/org.wso2.carbon.identity.user.store.configuration.deployer/pom.xml
index 9a29e7278169..c777cbb5e290 100644
--- a/components/user-store/org.wso2.carbon.identity.user.store.configuration.deployer/pom.xml
+++ b/components/user-store/org.wso2.carbon.identity.user.store.configuration.deployer/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-store
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-store/org.wso2.carbon.identity.user.store.configuration.ui/pom.xml b/components/user-store/org.wso2.carbon.identity.user.store.configuration.ui/pom.xml
index 0e09e9a4bb77..adb130d3cba4 100644
--- a/components/user-store/org.wso2.carbon.identity.user.store.configuration.ui/pom.xml
+++ b/components/user-store/org.wso2.carbon.identity.user.store.configuration.ui/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-store
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-store/org.wso2.carbon.identity.user.store.configuration/pom.xml b/components/user-store/org.wso2.carbon.identity.user.store.configuration/pom.xml
index d82f8c79d1e2..3af2171231bb 100644
--- a/components/user-store/org.wso2.carbon.identity.user.store.configuration/pom.xml
+++ b/components/user-store/org.wso2.carbon.identity.user.store.configuration/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-store
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-store/org.wso2.carbon.identity.user.store.count/pom.xml b/components/user-store/org.wso2.carbon.identity.user.store.count/pom.xml
index fe75a93cb89a..1593498e3938 100644
--- a/components/user-store/org.wso2.carbon.identity.user.store.count/pom.xml
+++ b/components/user-store/org.wso2.carbon.identity.user.store.count/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-store
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/components/user-store/pom.xml b/components/user-store/pom.xml
index c28e51cd1beb..2a91b7c4e03b 100644
--- a/components/user-store/pom.xml
+++ b/components/user-store/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/action-mgt/org.wso2.carbon.identity.action.management.server.feature/pom.xml b/features/action-mgt/org.wso2.carbon.identity.action.management.server.feature/pom.xml
index 9c3a2f41080e..d1187f4915c4 100644
--- a/features/action-mgt/org.wso2.carbon.identity.action.management.server.feature/pom.xml
+++ b/features/action-mgt/org.wso2.carbon.identity.action.management.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
action-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/action-mgt/pom.xml b/features/action-mgt/pom.xml
index 27580237edc7..6b00b0882782 100644
--- a/features/action-mgt/pom.xml
+++ b/features/action-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/pom.xml b/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/pom.xml
index dd4ed1f6b193..6e2212511261 100644
--- a/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/pom.xml
+++ b/features/api-resource-mgt/org.wso2.carbon.identity.api.resource.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
api-resource-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/api-resource-mgt/pom.xml b/features/api-resource-mgt/pom.xml
index cd349665c6e3..5f5050fddcba 100644
--- a/features/api-resource-mgt/pom.xml
+++ b/features/api-resource-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/application-mgt/org.wso2.carbon.identity.application.mgt.feature/pom.xml b/features/application-mgt/org.wso2.carbon.identity.application.mgt.feature/pom.xml
index 96f8d7fcc9ec..07cc0b0a8765 100644
--- a/features/application-mgt/org.wso2.carbon.identity.application.mgt.feature/pom.xml
+++ b/features/application-mgt/org.wso2.carbon.identity.application.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
application-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/application-mgt/org.wso2.carbon.identity.application.mgt.server.feature/pom.xml b/features/application-mgt/org.wso2.carbon.identity.application.mgt.server.feature/pom.xml
index 36225777bd2c..b7c9fb850654 100644
--- a/features/application-mgt/org.wso2.carbon.identity.application.mgt.server.feature/pom.xml
+++ b/features/application-mgt/org.wso2.carbon.identity.application.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
application-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/application-mgt/org.wso2.carbon.identity.application.mgt.ui.feature/pom.xml b/features/application-mgt/org.wso2.carbon.identity.application.mgt.ui.feature/pom.xml
index 13ff13426ef1..447979df60be 100644
--- a/features/application-mgt/org.wso2.carbon.identity.application.mgt.ui.feature/pom.xml
+++ b/features/application-mgt/org.wso2.carbon.identity.application.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
application-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/application-mgt/pom.xml b/features/application-mgt/pom.xml
index 0bebbac41b89..6a95bea79092 100644
--- a/features/application-mgt/pom.xml
+++ b/features/application-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/pom.xml b/features/authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/pom.xml
index dc31b52c9058..f96eb1f16f45 100644
--- a/features/authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/pom.xml
+++ b/features/authentication-framework/org.wso2.carbon.identity.application.authentication.framework.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
authentication-framework-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/authentication-framework/pom.xml b/features/authentication-framework/pom.xml
index 64baa89b8c0b..9ff0fda9e682 100644
--- a/features/authentication-framework/pom.xml
+++ b/features/authentication-framework/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/carbon-authenticators/pom.xml b/features/carbon-authenticators/pom.xml
index 085c97b0f0df..6ad475a6bf4c 100644
--- a/features/carbon-authenticators/pom.xml
+++ b/features/carbon-authenticators/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.thrift.authentication.feature/pom.xml b/features/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.thrift.authentication.feature/pom.xml
index 285b3c134944..b9afc60589a3 100644
--- a/features/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.thrift.authentication.feature/pom.xml
+++ b/features/carbon-authenticators/thrift-authenticator/org.wso2.carbon.identity.thrift.authentication.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
thrift-authenticator-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/carbon-authenticators/thrift-authenticator/pom.xml b/features/carbon-authenticators/thrift-authenticator/pom.xml
index c7403eba152c..6ab9d749f812 100644
--- a/features/carbon-authenticators/thrift-authenticator/pom.xml
+++ b/features/carbon-authenticators/thrift-authenticator/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-authenticator-features
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/categories/authorization/pom.xml b/features/categories/authorization/pom.xml
index a77c3fa27666..d515a22a07e5 100644
--- a/features/categories/authorization/pom.xml
+++ b/features/categories/authorization/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/inbound-authentication/pom.xml b/features/categories/inbound-authentication/pom.xml
index ab93be6df55d..b3d4ddbfd7b1 100644
--- a/features/categories/inbound-authentication/pom.xml
+++ b/features/categories/inbound-authentication/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/inbound-provisioning/pom.xml b/features/categories/inbound-provisioning/pom.xml
index 9b2aa3c5a399..8be1fbd29e4c 100644
--- a/features/categories/inbound-provisioning/pom.xml
+++ b/features/categories/inbound-provisioning/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/keystore-mgt/pom.xml b/features/categories/keystore-mgt/pom.xml
index 305dfbc74c1b..d49a6dd0eaae 100644
--- a/features/categories/keystore-mgt/pom.xml
+++ b/features/categories/keystore-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/notification-mgt/pom.xml b/features/categories/notification-mgt/pom.xml
index ab8c027cf2b5..18d11c41bce2 100644
--- a/features/categories/notification-mgt/pom.xml
+++ b/features/categories/notification-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/outbound-authentication/pom.xml b/features/categories/outbound-authentication/pom.xml
index 98f9497ed392..d763ff7fdd57 100644
--- a/features/categories/outbound-authentication/pom.xml
+++ b/features/categories/outbound-authentication/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/outbound-provisioning/pom.xml b/features/categories/outbound-provisioning/pom.xml
index 1cdd2f0cad15..9a9a606a157c 100644
--- a/features/categories/outbound-provisioning/pom.xml
+++ b/features/categories/outbound-provisioning/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/categories/pom.xml b/features/categories/pom.xml
index 702d02044435..ddf141744c2d 100644
--- a/features/categories/pom.xml
+++ b/features/categories/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/categories/user-mgt/pom.xml b/features/categories/user-mgt/pom.xml
index 87b09c671b9d..8b5c93b693de 100644
--- a/features/categories/user-mgt/pom.xml
+++ b/features/categories/user-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../../pom.xml
diff --git a/features/central-logger/org.wso2.carbon.identity.central.log.mgt.server.feature/pom.xml b/features/central-logger/org.wso2.carbon.identity.central.log.mgt.server.feature/pom.xml
index b8c0f9bc75e0..38bc4999cb17 100644
--- a/features/central-logger/org.wso2.carbon.identity.central.log.mgt.server.feature/pom.xml
+++ b/features/central-logger/org.wso2.carbon.identity.central.log.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
central-logger-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/central-logger/pom.xml b/features/central-logger/pom.xml
index 859bedfb4f75..d627ecb6f223 100644
--- a/features/central-logger/pom.xml
+++ b/features/central-logger/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/certificate-mgt/org.wso2.carbon.identity.certificate.management.server.feature/pom.xml b/features/certificate-mgt/org.wso2.carbon.identity.certificate.management.server.feature/pom.xml
index 8e295add0de8..e1ad64bcede5 100644
--- a/features/certificate-mgt/org.wso2.carbon.identity.certificate.management.server.feature/pom.xml
+++ b/features/certificate-mgt/org.wso2.carbon.identity.certificate.management.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
certificate-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/certificate-mgt/pom.xml b/features/certificate-mgt/pom.xml
index 624b09487042..2e61916fd0a7 100644
--- a/features/certificate-mgt/pom.xml
+++ b/features/certificate-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/claim-mgt/org.wso2.carbon.claim.mgt.feature/pom.xml b/features/claim-mgt/org.wso2.carbon.claim.mgt.feature/pom.xml
index 7f8ccd158057..6a0079877a6a 100644
--- a/features/claim-mgt/org.wso2.carbon.claim.mgt.feature/pom.xml
+++ b/features/claim-mgt/org.wso2.carbon.claim.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
claim-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/claim-mgt/org.wso2.carbon.claim.mgt.server.feature/pom.xml b/features/claim-mgt/org.wso2.carbon.claim.mgt.server.feature/pom.xml
index a65fd20b7e98..99e3636375f5 100644
--- a/features/claim-mgt/org.wso2.carbon.claim.mgt.server.feature/pom.xml
+++ b/features/claim-mgt/org.wso2.carbon.claim.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
claim-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/claim-mgt/org.wso2.carbon.claim.mgt.ui.feature/pom.xml b/features/claim-mgt/org.wso2.carbon.claim.mgt.ui.feature/pom.xml
index cb10931d767f..43ffd456e825 100644
--- a/features/claim-mgt/org.wso2.carbon.claim.mgt.ui.feature/pom.xml
+++ b/features/claim-mgt/org.wso2.carbon.claim.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
claim-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/claim-mgt/pom.xml b/features/claim-mgt/pom.xml
index ebe112a0980b..3bee57fe1cfa 100644
--- a/features/claim-mgt/pom.xml
+++ b/features/claim-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt.server.feature/pom.xml b/features/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt.server.feature/pom.xml
index 675fad4bbaf8..89ae0389d132 100644
--- a/features/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt.server.feature/pom.xml
+++ b/features/client-attestation-mgt/org.wso2.carbon.identity.client.attestation.mgt.server.feature/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
client-attestation-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/client-attestation-mgt/pom.xml b/features/client-attestation-mgt/pom.xml
index 377e71cce91d..d95042b5aa1e 100644
--- a/features/client-attestation-mgt/pom.xml
+++ b/features/client-attestation-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.server.feature/pom.xml b/features/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.server.feature/pom.xml
index e865288f7223..c5c5aed7250d 100644
--- a/features/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.server.feature/pom.xml
+++ b/features/configuration-mgt/org.wso2.carbon.identity.configuration.mgt.server.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
configuration-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/configuration-mgt/pom.xml b/features/configuration-mgt/pom.xml
index 8888f2289440..e5d23df3478c 100644
--- a/features/configuration-mgt/pom.xml
+++ b/features/configuration-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/consent-mgt/org.wso2.carbon.identity.consent.mgt.server.feature/pom.xml b/features/consent-mgt/org.wso2.carbon.identity.consent.mgt.server.feature/pom.xml
index cf08a93f7066..0b6a0eff76f5 100644
--- a/features/consent-mgt/org.wso2.carbon.identity.consent.mgt.server.feature/pom.xml
+++ b/features/consent-mgt/org.wso2.carbon.identity.consent.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-consent-mgt-aggregator
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/consent-mgt/pom.xml b/features/consent-mgt/pom.xml
index c13f881776ba..f8e593531702 100644
--- a/features/consent-mgt/pom.xml
+++ b/features/consent-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt.server.feature/pom.xml b/features/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt.server.feature/pom.xml
index a75d0dd3174e..515b7bde80d2 100644
--- a/features/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt.server.feature/pom.xml
+++ b/features/consent-server-configs-mgt/org.wso2.carbon.identity.consent.server.configs.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
consent-server-configs-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/consent-server-configs-mgt/pom.xml b/features/consent-server-configs-mgt/pom.xml
index 1c279bd48a54..ebb90201d2a1 100644
--- a/features/consent-server-configs-mgt/pom.xml
+++ b/features/consent-server-configs-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/cors-mgt/org.wso2.carbon.identity.cors.mgt.server.feature/pom.xml b/features/cors-mgt/org.wso2.carbon.identity.cors.mgt.server.feature/pom.xml
index 1e161b65647d..41e13a4b0386 100644
--- a/features/cors-mgt/org.wso2.carbon.identity.cors.mgt.server.feature/pom.xml
+++ b/features/cors-mgt/org.wso2.carbon.identity.cors.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
cors-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/cors-mgt/pom.xml b/features/cors-mgt/pom.xml
index 238c7ede7012..2f613dfea833 100644
--- a/features/cors-mgt/pom.xml
+++ b/features/cors-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.feature/pom.xml b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.feature/pom.xml
index 04f48fbad372..0b23b91c9ace 100644
--- a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.feature/pom.xml
+++ b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
directory-server-manager-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.server.feature/pom.xml b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.server.feature/pom.xml
index a7e057858306..76250a88fc45 100644
--- a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.server.feature/pom.xml
+++ b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
directory-server-manager-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.ui.feature/pom.xml b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.ui.feature/pom.xml
index 0f21ecc5c9d2..db9d9e6d9eb6 100644
--- a/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.ui.feature/pom.xml
+++ b/features/directory-server-manager/org.wso2.carbon.directory.service.mgr.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
directory-server-manager-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/directory-server-manager/pom.xml b/features/directory-server-manager/pom.xml
index c10514172fce..ca1806ce5df4 100644
--- a/features/directory-server-manager/pom.xml
+++ b/features/directory-server-manager/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/extension-mgt/org.wso2.carbon.identity.extension.mgt.feature/pom.xml b/features/extension-mgt/org.wso2.carbon.identity.extension.mgt.feature/pom.xml
index fb4c830d3114..1b1dfa88aa70 100644
--- a/features/extension-mgt/org.wso2.carbon.identity.extension.mgt.feature/pom.xml
+++ b/features/extension-mgt/org.wso2.carbon.identity.extension.mgt.feature/pom.xml
@@ -19,7 +19,7 @@
extension-management-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
org.wso2.carbon.identity.extension.mgt.feature
diff --git a/features/extension-mgt/pom.xml b/features/extension-mgt/pom.xml
index b4b38c89d9b7..73b3a8455502 100644
--- a/features/extension-mgt/pom.xml
+++ b/features/extension-mgt/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.feature/pom.xml b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.feature/pom.xml
index 5aacecb366f4..fa001774765a 100644
--- a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.feature/pom.xml
+++ b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
functions-library-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.server.feature/pom.xml b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.server.feature/pom.xml
index 0c76ad35bc6b..256e2919b459 100644
--- a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.server.feature/pom.xml
+++ b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
functions-library-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui.feature/pom.xml b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui.feature/pom.xml
index 92452bc4b031..a07d5d431962 100644
--- a/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui.feature/pom.xml
+++ b/features/functions-library-mgt/org.wso2.carbon.identity.functions.library.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
functions-library-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/functions-library-mgt/pom.xml b/features/functions-library-mgt/pom.xml
index 155a0bc9de78..93fd3e016e4d 100644
--- a/features/functions-library-mgt/pom.xml
+++ b/features/functions-library-mgt/pom.xml
@@ -28,7 +28,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/identity-core/org.wso2.carbon.identity.core.feature/pom.xml b/features/identity-core/org.wso2.carbon.identity.core.feature/pom.xml
index 7c47b906c085..86ba082c4a21 100644
--- a/features/identity-core/org.wso2.carbon.identity.core.feature/pom.xml
+++ b/features/identity-core/org.wso2.carbon.identity.core.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-core-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/pom.xml b/features/identity-core/org.wso2.carbon.identity.core.server.feature/pom.xml
index 9a7b7fbfd013..b3d707d02b23 100644
--- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/pom.xml
+++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-core-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql/registry-cleanup/mysql-reglog-cleanup.sql b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql/registry-cleanup/mysql-reglog-cleanup.sql
index 17813ff67259..caf4aaa0e72d 100644
--- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql/registry-cleanup/mysql-reglog-cleanup.sql
+++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/dbscripts/stored-procedures/mysql/registry-cleanup/mysql-reglog-cleanup.sql
@@ -104,7 +104,7 @@ CREATE TABLE REG_LOG_CHUNK_TMP SELECT REG_LOG_ID FROM (
(SELECT REG_LOG_ID FROM REG_LOG WHERE REG_ACTION = 7)
) A LIMIT chunkSize ;
-SELECT row_count() INTO @chunkCount;
+SELECT count(1) INTO @chunkCount FROM REG_LOG_CHUNK_TMP;
IF (@chunkCount{{tenant}}
{% endfor %}
+
+ {{notification_templates.sms_templates.apply}}
+
diff --git a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json
index 218e80dbd776..5ebee48daabe 100644
--- a/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json
+++ b/features/identity-core/org.wso2.carbon.identity.core.server.feature/resources/org.wso2.carbon.identity.core.server.feature.default.json
@@ -1690,6 +1690,8 @@
"oauth.authorize_all_scopes": false,
- "system_applications.system_portals": ["Console", "My Account"]
+ "system_applications.system_portals": ["Console", "My Account"],
+
+ "notification_templates.sms_templates.apply": true
}
diff --git a/features/identity-core/org.wso2.carbon.identity.core.ui.feature/pom.xml b/features/identity-core/org.wso2.carbon.identity.core.ui.feature/pom.xml
index bf1ebf79e31e..e62be94058db 100644
--- a/features/identity-core/org.wso2.carbon.identity.core.ui.feature/pom.xml
+++ b/features/identity-core/org.wso2.carbon.identity.core.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-core-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-core/pom.xml b/features/identity-core/pom.xml
index ba239f6b4fde..bf7ef61cc6b9 100644
--- a/features/identity-core/pom.xml
+++ b/features/identity-core/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/identity-event/org.wso2.carbon.identity.event.feature/pom.xml b/features/identity-event/org.wso2.carbon.identity.event.feature/pom.xml
index 20585dec1fef..706da355adcd 100644
--- a/features/identity-event/org.wso2.carbon.identity.event.feature/pom.xml
+++ b/features/identity-event/org.wso2.carbon.identity.event.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-event-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-event/org.wso2.carbon.identity.event.server.feature/pom.xml b/features/identity-event/org.wso2.carbon.identity.event.server.feature/pom.xml
index f22f569e4b1c..0fd4dfb9cc11 100644
--- a/features/identity-event/org.wso2.carbon.identity.event.server.feature/pom.xml
+++ b/features/identity-event/org.wso2.carbon.identity.event.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-event-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-event/pom.xml b/features/identity-event/pom.xml
index a855e8b2b6f2..6aafd7071bc4 100644
--- a/features/identity-event/pom.xml
+++ b/features/identity-event/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/identity-mgt/org.wso2.carbon.identity.mgt.feature/pom.xml b/features/identity-mgt/org.wso2.carbon.identity.mgt.feature/pom.xml
index 86c79e184e3e..c9c24cbb8cac 100644
--- a/features/identity-mgt/org.wso2.carbon.identity.mgt.feature/pom.xml
+++ b/features/identity-mgt/org.wso2.carbon.identity.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/pom.xml b/features/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/pom.xml
index 134d849171f0..f8106901a06c 100644
--- a/features/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/pom.xml
+++ b/features/identity-mgt/org.wso2.carbon.identity.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-mgt/org.wso2.carbon.identity.mgt.ui.feature/pom.xml b/features/identity-mgt/org.wso2.carbon.identity.mgt.ui.feature/pom.xml
index 78843f41d063..3cc741a1ab26 100644
--- a/features/identity-mgt/org.wso2.carbon.identity.mgt.ui.feature/pom.xml
+++ b/features/identity-mgt/org.wso2.carbon.identity.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/identity-mgt/pom.xml b/features/identity-mgt/pom.xml
index bc11f8ac7dd2..70d453dbde16 100644
--- a/features/identity-mgt/pom.xml
+++ b/features/identity-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/idp-mgt/org.wso2.carbon.idp.mgt.feature/pom.xml b/features/idp-mgt/org.wso2.carbon.idp.mgt.feature/pom.xml
index 4f36cddc1cdc..2c44ee3839b9 100644
--- a/features/idp-mgt/org.wso2.carbon.idp.mgt.feature/pom.xml
+++ b/features/idp-mgt/org.wso2.carbon.idp.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-provider-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/pom.xml b/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/pom.xml
index 6af5e060322b..73ffcd8287c1 100644
--- a/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/pom.xml
+++ b/features/idp-mgt/org.wso2.carbon.idp.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-provider-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/idp-mgt/org.wso2.carbon.idp.mgt.ui.feature/pom.xml b/features/idp-mgt/org.wso2.carbon.idp.mgt.ui.feature/pom.xml
index 9a8cc4f3547b..e1918fd878a4 100644
--- a/features/idp-mgt/org.wso2.carbon.idp.mgt.ui.feature/pom.xml
+++ b/features/idp-mgt/org.wso2.carbon.idp.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-provider-management-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/idp-mgt/pom.xml b/features/idp-mgt/pom.xml
index f307aa0c86e3..2fd4701273e2 100644
--- a/features/idp-mgt/pom.xml
+++ b/features/idp-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt.server.feature/pom.xml b/features/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt.server.feature/pom.xml
index 017aedf01686..39c5003d50cb 100644
--- a/features/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt.server.feature/pom.xml
+++ b/features/input-validation-mgt/org.wso2.carbon.identity.input.validation.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
input-validation-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/input-validation-mgt/pom.xml b/features/input-validation-mgt/pom.xml
index a6fa02ef1773..6b9e41d3efbf 100644
--- a/features/input-validation-mgt/pom.xml
+++ b/features/input-validation-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature/pom.xml b/features/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature/pom.xml
index 7f720e2e9bf0..81eb47db7db6 100644
--- a/features/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature/pom.xml
+++ b/features/multi-attribute-login/org.wso2.carbon.identity.multi.attribute.login.mgt.server.feature/pom.xml
@@ -20,7 +20,7 @@
multi-attribute-login-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt.server.feature/pom.xml b/features/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt.server.feature/pom.xml
index df8b44b0acee..6d4a94e71920 100644
--- a/features/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt.server.feature/pom.xml
+++ b/features/multi-attribute-login/org.wso2.carbon.identity.unique.claim.mgt.server.feature/pom.xml
@@ -20,7 +20,7 @@
multi-attribute-login-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/multi-attribute-login/pom.xml b/features/multi-attribute-login/pom.xml
index 87e1c5e7e2f6..87e08add1ecd 100644
--- a/features/multi-attribute-login/pom.xml
+++ b/features/multi-attribute-login/pom.xml
@@ -20,7 +20,7 @@
identity-framework
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.feature/pom.xml b/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.feature/pom.xml
index b3a2459e37bb..6befa24ab398 100644
--- a/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.feature/pom.xml
+++ b/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-notification-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.server.feature/pom.xml b/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.server.feature/pom.xml
index 75744e4a3195..a61dcafb859c 100644
--- a/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.server.feature/pom.xml
+++ b/features/notification-mgt/org.wso2.carbon.identity.notification.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-notification-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/notification-mgt/pom.xml b/features/notification-mgt/pom.xml
index 61bd2dc4b5b5..0740e2e8ce04 100644
--- a/features/notification-mgt/pom.xml
+++ b/features/notification-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/provisioning/org.wso2.carbon.identity.provisioning.server.feature/pom.xml b/features/provisioning/org.wso2.carbon.identity.provisioning.server.feature/pom.xml
index cb538301f5f2..45ce39bf2533 100644
--- a/features/provisioning/org.wso2.carbon.identity.provisioning.server.feature/pom.xml
+++ b/features/provisioning/org.wso2.carbon.identity.provisioning.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
provisioning-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/provisioning/pom.xml b/features/provisioning/pom.xml
index e294dd488470..9b84496b73fb 100644
--- a/features/provisioning/pom.xml
+++ b/features/provisioning/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/role-mgt/org.wso2.carbon.identity.role.mgt.core.server.feature/pom.xml b/features/role-mgt/org.wso2.carbon.identity.role.mgt.core.server.feature/pom.xml
index e05c667eb9e1..9beea8761921 100644
--- a/features/role-mgt/org.wso2.carbon.identity.role.mgt.core.server.feature/pom.xml
+++ b/features/role-mgt/org.wso2.carbon.identity.role.mgt.core.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
role-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core.server.feature/pom.xml b/features/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core.server.feature/pom.xml
index 4606ff8292d8..e91a66e5a949 100644
--- a/features/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core.server.feature/pom.xml
+++ b/features/role-mgt/org.wso2.carbon.identity.role.v2.mgt.core.server.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
role-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/role-mgt/pom.xml b/features/role-mgt/pom.xml
index ec6a1b16abe5..ed3ede7c39a9 100644
--- a/features/role-mgt/pom.xml
+++ b/features/role-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/secret-mgt/org.wso2.carbon.identity.secret.mgt.core.server.feature/pom.xml b/features/secret-mgt/org.wso2.carbon.identity.secret.mgt.core.server.feature/pom.xml
index a313356dbaec..a8f1029826c8 100644
--- a/features/secret-mgt/org.wso2.carbon.identity.secret.mgt.core.server.feature/pom.xml
+++ b/features/secret-mgt/org.wso2.carbon.identity.secret.mgt.core.server.feature/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
secret-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/features/secret-mgt/pom.xml b/features/secret-mgt/pom.xml
index c68c94bf1b0c..22954f95abdc 100644
--- a/features/secret-mgt/pom.xml
+++ b/features/secret-mgt/pom.xml
@@ -19,7 +19,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/security-mgt/org.wso2.carbon.security.mgt.feature/pom.xml b/features/security-mgt/org.wso2.carbon.security.mgt.feature/pom.xml
index 77b032c3722a..175b01caa590 100644
--- a/features/security-mgt/org.wso2.carbon.security.mgt.feature/pom.xml
+++ b/features/security-mgt/org.wso2.carbon.security.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
security-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/security-mgt/org.wso2.carbon.security.mgt.server.feature/pom.xml b/features/security-mgt/org.wso2.carbon.security.mgt.server.feature/pom.xml
index ebf533ea79a1..86e34a00d570 100644
--- a/features/security-mgt/org.wso2.carbon.security.mgt.server.feature/pom.xml
+++ b/features/security-mgt/org.wso2.carbon.security.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
security-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/security-mgt/org.wso2.carbon.security.mgt.ui.feature/pom.xml b/features/security-mgt/org.wso2.carbon.security.mgt.ui.feature/pom.xml
index 5d0f29eb664e..dcd32bccfb78 100644
--- a/features/security-mgt/org.wso2.carbon.security.mgt.ui.feature/pom.xml
+++ b/features/security-mgt/org.wso2.carbon.security.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
security-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/security-mgt/pom.xml b/features/security-mgt/pom.xml
index 9a4c19e07a82..8950bc1a2361 100644
--- a/features/security-mgt/pom.xml
+++ b/features/security-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/template-mgt/org.wso2.carbon.identity.template.mgt.feature/pom.xml b/features/template-mgt/org.wso2.carbon.identity.template.mgt.feature/pom.xml
index 4b0ff803facd..7f4e3704336f 100644
--- a/features/template-mgt/org.wso2.carbon.identity.template.mgt.feature/pom.xml
+++ b/features/template-mgt/org.wso2.carbon.identity.template.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
template-management-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/template-mgt/org.wso2.carbon.identity.template.mgt.server.feature/pom.xml b/features/template-mgt/org.wso2.carbon.identity.template.mgt.server.feature/pom.xml
index 162948cb8867..79677597001d 100644
--- a/features/template-mgt/org.wso2.carbon.identity.template.mgt.server.feature/pom.xml
+++ b/features/template-mgt/org.wso2.carbon.identity.template.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
template-management-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/template-mgt/org.wso2.carbon.identity.template.mgt.ui.feature/pom.xml b/features/template-mgt/org.wso2.carbon.identity.template.mgt.ui.feature/pom.xml
index a9f5d815f9b6..bec1a7974b2b 100644
--- a/features/template-mgt/org.wso2.carbon.identity.template.mgt.ui.feature/pom.xml
+++ b/features/template-mgt/org.wso2.carbon.identity.template.mgt.ui.feature/pom.xml
@@ -21,7 +21,7 @@
template-management-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/template-mgt/pom.xml b/features/template-mgt/pom.xml
index f0baec316a9b..92a99efe320f 100644
--- a/features/template-mgt/pom.xml
+++ b/features/template-mgt/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt.server.feature/pom.xml b/features/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt.server.feature/pom.xml
index beb7d80689c5..2cd5c3dc0385 100644
--- a/features/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt.server.feature/pom.xml
+++ b/features/trusted-app-mgt/org.wso2.carbon.identity.trusted.app.mgt.server.feature/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
trusted-app-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/trusted-app-mgt/pom.xml b/features/trusted-app-mgt/pom.xml
index 9d4d819f8d18..134ce68e985b 100644
--- a/features/trusted-app-mgt/pom.xml
+++ b/features/trusted-app-mgt/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.feature/pom.xml b/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.feature/pom.xml
index 0437b1200828..711fa39a5cf6 100644
--- a/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.feature/pom.xml
+++ b/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.feature/pom.xml
@@ -21,7 +21,7 @@
user-functionality-mgt-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.server.feature/pom.xml b/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.server.feature/pom.xml
index 5d6a98400a8f..a2b65b249d0c 100644
--- a/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.server.feature/pom.xml
+++ b/features/user-functionality-mgt/org.wso2.carbon.identity.user.functionality.mgt.server.feature/pom.xml
@@ -21,7 +21,7 @@
user-functionality-mgt-feature
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/features/user-functionality-mgt/pom.xml b/features/user-functionality-mgt/pom.xml
index 473859f58f29..644e0784bd3a 100644
--- a/features/user-functionality-mgt/pom.xml
+++ b/features/user-functionality-mgt/pom.xml
@@ -21,7 +21,7 @@
identity-framework
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
4.0.0
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.profile.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.profile.feature/pom.xml
index 57c976de0aa0..b8a9183257e9 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.profile.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.profile.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.profile.server.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.profile.server.feature/pom.xml
index 965dd5b06457..44ad26093067 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.profile.server.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.profile.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.profile.ui.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.profile.ui.feature/pom.xml
index e578690b3182..db0e4ec1a4a0 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.profile.ui.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.profile.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.registration.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.registration.feature/pom.xml
index 4187f59c7720..39d7a65eccff 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.registration.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.registration.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.registration.server.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.registration.server.feature/pom.xml
index dbd44b7f40c3..dfd8f665be97 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.registration.server.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.registration.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.identity.user.registration.ui.feature/pom.xml b/features/user-mgt/org.wso2.carbon.identity.user.registration.ui.feature/pom.xml
index 50ebd7201161..93eead4b693e 100644
--- a/features/user-mgt/org.wso2.carbon.identity.user.registration.ui.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.identity.user.registration.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.role.mgt.ui.feature/pom.xml b/features/user-mgt/org.wso2.carbon.role.mgt.ui.feature/pom.xml
index f6780cbea5c5..0f6be83afe35 100644
--- a/features/user-mgt/org.wso2.carbon.role.mgt.ui.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.role.mgt.ui.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.user.mgt.feature/pom.xml b/features/user-mgt/org.wso2.carbon.user.mgt.feature/pom.xml
index bf164c8ee5a4..0779e631bb11 100644
--- a/features/user-mgt/org.wso2.carbon.user.mgt.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.user.mgt.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.user.mgt.server.feature/pom.xml b/features/user-mgt/org.wso2.carbon.user.mgt.server.feature/pom.xml
index f0a1c5b26227..65a4fac845ae 100644
--- a/features/user-mgt/org.wso2.carbon.user.mgt.server.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.user.mgt.server.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/org.wso2.carbon.user.mgt.ui.feature/pom.xml b/features/user-mgt/org.wso2.carbon.user.mgt.ui.feature/pom.xml
index b9331ebfe101..182529c00ff9 100644
--- a/features/user-mgt/org.wso2.carbon.user.mgt.ui.feature/pom.xml
+++ b/features/user-mgt/org.wso2.carbon.user.mgt.ui.feature/pom.xml
@@ -20,7 +20,7 @@
org.wso2.carbon.identity.framework
user-mgt-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-mgt/pom.xml b/features/user-mgt/pom.xml
index d518b2a7c478..ec525190767b 100644
--- a/features/user-mgt/pom.xml
+++ b/features/user-mgt/pom.xml
@@ -17,7 +17,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/user-store/org.wso2.carbon.identity.user.store.configuration.server.feature/pom.xml b/features/user-store/org.wso2.carbon.identity.user.store.configuration.server.feature/pom.xml
index fd4758181d99..fedb4c39de64 100644
--- a/features/user-store/org.wso2.carbon.identity.user.store.configuration.server.feature/pom.xml
+++ b/features/user-store/org.wso2.carbon.identity.user.store.configuration.server.feature/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
user-store-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/user-store/pom.xml b/features/user-store/pom.xml
index 7c5148e35d6b..d4f068ff8b59 100644
--- a/features/user-store/pom.xml
+++ b/features/user-store/pom.xml
@@ -23,7 +23,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/features/xacml/org.wso2.carbon.identity.xacml.feature/pom.xml b/features/xacml/org.wso2.carbon.identity.xacml.feature/pom.xml
index 17b2613af26f..559e0c8f8630 100644
--- a/features/xacml/org.wso2.carbon.identity.xacml.feature/pom.xml
+++ b/features/xacml/org.wso2.carbon.identity.xacml.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
xacml-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/xacml/org.wso2.carbon.identity.xacml.server.feature/pom.xml b/features/xacml/org.wso2.carbon.identity.xacml.server.feature/pom.xml
index fbc1de5f2dd0..ae8403cbf56c 100644
--- a/features/xacml/org.wso2.carbon.identity.xacml.server.feature/pom.xml
+++ b/features/xacml/org.wso2.carbon.identity.xacml.server.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
xacml-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/xacml/org.wso2.carbon.identity.xacml.ui.feature/pom.xml b/features/xacml/org.wso2.carbon.identity.xacml.ui.feature/pom.xml
index 8693c83f2d7d..f13451696bb5 100644
--- a/features/xacml/org.wso2.carbon.identity.xacml.ui.feature/pom.xml
+++ b/features/xacml/org.wso2.carbon.identity.xacml.ui.feature/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
xacml-feature
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/features/xacml/pom.xml b/features/xacml/pom.xml
index 5249296910ad..9edf250bc87b 100644
--- a/features/xacml/pom.xml
+++ b/features/xacml/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/pom.xml b/pom.xml
index 9dca6f90fbf8..e43bf8e0c949 100644
--- a/pom.xml
+++ b/pom.xml
@@ -22,7 +22,7 @@
org.wso2.carbon.identity.framework
identity-framework
pom
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
WSO2 Carbon - Platform Aggregator Pom
http://wso2.org
@@ -1892,7 +1892,7 @@
[4.7.2, 5.0.0)
2.1.7
- [2.0.0,2.2.0)
+ [2.0.0,3.0.0)
${project.version}
@@ -2069,7 +2069,7 @@
4.3.6.wso2v2
[4.3.1.wso2v2,5.0.0)
2.6.0.wso2v1
- 1.1.3
+ 1.1.10
[1.1.0, 2.0.0)
1.1.4.wso2v1
[1.1.4.wso2v1,2.0.0)
diff --git a/service-stubs/identity/org.wso2.carbon.claim.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.claim.mgt.stub/pom.xml
index 03dfc180404e..cb06eb64514f 100644
--- a/service-stubs/identity/org.wso2.carbon.claim.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.claim.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.directory.server.manager.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.directory.server.manager.stub/pom.xml
index 59cdb1d56265..ed381e8a3f4b 100644
--- a/service-stubs/identity/org.wso2.carbon.directory.server.manager.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.directory.server.manager.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.application.authentication.framework.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.application.authentication.framework.stub/pom.xml
index ad80808bc765..12dd55ae7678 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.application.authentication.framework.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.application.authentication.framework.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
4.0.0
diff --git a/service-stubs/identity/org.wso2.carbon.identity.application.default.authentication.sequence.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.application.default.authentication.sequence.mgt.stub/pom.xml
index a10407c2f15d..7dd48baeebec 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.application.default.authentication.sequence.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.application.default.authentication.sequence.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.application.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.application.mgt.stub/pom.xml
index b4b287039666..2081725b3f5f 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.application.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.application.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.claim.metadata.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.claim.metadata.mgt.stub/pom.xml
index f570159e7e60..7f5dcc652bad 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.claim.metadata.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.claim.metadata.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub/pom.xml
index 41e537db5833..751d53633153 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.entitlement.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.functions.library.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.functions.library.mgt.stub/pom.xml
index c2b2bd657122..92f386f7e45d 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.functions.library.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.functions.library.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
carbon-service-stubs
org.wso2.carbon.identity.framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
4.0.0
diff --git a/service-stubs/identity/org.wso2.carbon.identity.governance.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.governance.stub/pom.xml
index 4cf870056598..8532766ca18c 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.governance.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.governance.stub/pom.xml
@@ -18,7 +18,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.mgt.stub/pom.xml
index 5d3aed4b9f9d..5e1ae18d0631 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.user.profile.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.user.profile.stub/pom.xml
index 2a6675d4d4cb..0639674ec656 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.user.profile.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.user.profile.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.user.registration.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.user.registration.stub/pom.xml
index 6eccd163f0fb..fae3919a62e2 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.user.registration.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.user.registration.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.user.store.configuration.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.user.store.configuration.stub/pom.xml
index 0825b412e86f..f6b5139e3d04 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.user.store.configuration.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.user.store.configuration.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.identity.user.store.count.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.identity.user.store.count.stub/pom.xml
index 5a027a128377..8394d103a3dc 100644
--- a/service-stubs/identity/org.wso2.carbon.identity.user.store.count.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.identity.user.store.count.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.idp.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.idp.mgt.stub/pom.xml
index 2754e0639660..0999d21ffa37 100644
--- a/service-stubs/identity/org.wso2.carbon.idp.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.idp.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.security.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.security.mgt.stub/pom.xml
index df237b900768..db3771a64cd6 100644
--- a/service-stubs/identity/org.wso2.carbon.security.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.security.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/org.wso2.carbon.user.mgt.stub/pom.xml b/service-stubs/identity/org.wso2.carbon.user.mgt.stub/pom.xml
index a561e8807b62..06e8b6e6b862 100644
--- a/service-stubs/identity/org.wso2.carbon.user.mgt.stub/pom.xml
+++ b/service-stubs/identity/org.wso2.carbon.user.mgt.stub/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
carbon-service-stubs
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../pom.xml
diff --git a/service-stubs/identity/pom.xml b/service-stubs/identity/pom.xml
index 68c00a64eaae..6dc11ff9cc37 100644
--- a/service-stubs/identity/pom.xml
+++ b/service-stubs/identity/pom.xml
@@ -21,7 +21,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml
diff --git a/test-utils/org.wso2.carbon.identity.testutil/pom.xml b/test-utils/org.wso2.carbon.identity.testutil/pom.xml
index 08ed25ca0d6a..ac926e307a29 100644
--- a/test-utils/org.wso2.carbon.identity.testutil/pom.xml
+++ b/test-utils/org.wso2.carbon.identity.testutil/pom.xml
@@ -18,7 +18,7 @@
org.wso2.carbon.identity.framework
identity-framework
- 7.5.115-SNAPSHOT
+ 7.5.121-SNAPSHOT
../../pom.xml