diff --git a/dmp-backend/web/src/main/java/eu/eudat/interceptors/UserInterceptor.java b/dmp-backend/web/src/main/java/eu/eudat/interceptors/UserInterceptor.java index 743281495..99b7e68f5 100644 --- a/dmp-backend/web/src/main/java/eu/eudat/interceptors/UserInterceptor.java +++ b/dmp-backend/web/src/main/java/eu/eudat/interceptors/UserInterceptor.java @@ -193,7 +193,7 @@ public class UserInterceptor implements WebRequestInterceptor { throw new MyApplicationException("Can not found user " + userId); } user = userInfos.get(0); - user.setAdditionalinfo("{\"data\":{\"avatar\":{\"url\":\"\"},\"zenodoToken\":\"\", \"expirationDate\": \"\", \"zenodoRefresh\": \"\", \"zenodoEmail\": \"\"}}"); //TODO: Authn + //user.setAdditionalinfo("{\"data\":{\"avatar\":{\"url\":\"\"},\"zenodoToken\":\"\", \"expirationDate\": \"\", \"zenodoRefresh\": \"\", \"zenodoEmail\": \"\"}}"); //TODO: Authn } CredentialEntity credentialEntity = new CredentialEntity(); @@ -203,7 +203,7 @@ public class UserInterceptor implements WebRequestInterceptor { credentialEntity.setCreationTime(new Date()); credentialEntity.setLastUpdateTime(new Date()); credentialEntity.setIsActive(IsActive.Active); - credentialEntity.setProvider(ProviderType.Keycloack);//TODO: Authn + credentialEntity.setProvider(ProviderType.Keycloack); credentialEntity.setExternalId(subjectId); credentialEntity.setEmail(email); credentialEntity.setPublicValue(email);