This is an automated email from the ASF dual-hosted git repository. machristie pushed a commit to branch develop in repository https://gitbox.apache.org/repos/asf/airavata.git
commit 2dee29ea7bb986dd65ea4375914e7ceca1797400 Author: Marcus Christie <[email protected]> AuthorDate: Mon Jul 26 13:44:41 2021 -0400 AIRAVATA-3319 Allow editing usernames in Keycloak realms --- .../iam/admin/services/core/impl/TenantManagementKeycloakImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/airavata-services/profile-service/iam-admin-services-core/src/main/java/org/apache/airavata/service/profile/iam/admin/services/core/impl/TenantManagementKeycloakImpl.java b/airavata-services/profile-service/iam-admin-services-core/src/main/java/org/apache/airavata/service/profile/iam/admin/services/core/impl/TenantManagementKeycloakImpl.java index 7baa89d..6e0fcdb 100644 --- a/airavata-services/profile-service/iam-admin-services-core/src/main/java/org/apache/airavata/service/profile/iam/admin/services/core/impl/TenantManagementKeycloakImpl.java +++ b/airavata-services/profile-service/iam-admin-services-core/src/main/java/org/apache/airavata/service/profile/iam/admin/services/core/impl/TenantManagementKeycloakImpl.java @@ -154,6 +154,7 @@ public class TenantManagementKeycloakImpl implements TenantManagementInterface { // Default access token lifespan to 30 minutes, SSO session idle to 60 minutes newRealmDetails.setAccessTokenLifespan(1800); newRealmDetails.setSsoSessionIdleTimeout(3600); + newRealmDetails.setEditUsernameAllowed(true); RealmRepresentation realmWithRoles = TenantManagementKeycloakImpl.createDefaultRoles(newRealmDetails); client.realms().create(realmWithRoles); return gatewayDetails;
