FailedChanges

Summary

  1. Fixed QA failure caused by TriggerNeverFiresException (details)
  2. MFA authentication and CRUD operations via REST API (details)
  3. Preventing Mfa creation from other users, only self management is allowed (details)
  4. Disabling MFA for external non-internal users (details)
  5. Sso docker-compose aligned to latest datastore changes and elasticsearch v. 6.8.7 (details)
  6. MFA trust key security improved (details)
  7. Improved exception handling in ApiKey authentication when ApiKey too short (details)
  8. Added index dvc_device_connection(id) (details)
Commit e22f8cfeb4e66d396189f97db3d1479d0e39abb0 by gianluca.barbon
Fixed QA failure caused by TriggerNeverFiresException

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was modifiedqa/integration/src/test/resources/features/jobScheduling/TriggerServiceI9n.feature (diff)
Commit 74326cbb374f8f89a5072d28f8897b037cdaa40d by gianluca.barbon
MFA authentication and CRUD operations via REST API

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was addedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/exceptions/MfaRequiredException.java
The file was addedrest-api/resources/src/main/resources/openapi/authentication/authentication-mfa.yaml
The file was modifiedrest-api/resources/src/main/resources/openapi/authentication/authentication.yaml (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Authentication.java (diff)
The file was modifiedconsole/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/server/util/KapuaExceptionHandler.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/shiro/MfaOptionImpl.java (diff)
The file was modifiedconsole/module/api/src/main/resources/org/eclipse/kapua/app/console/module/api/client/messages/ValidationMessages.properties (diff)
The file was addedrest-api/resources/src/main/resources/openapi/user/user-scopeId-userId-mfa.yaml
The file was modifiedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/shared/model/GwtMfaCredentialOptions.java (diff)
The file was modifiedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/KapuaAuthenticationExceptionMapper.java (diff)
The file was removedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/shared/model/GwtScratchCode.java
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassCredentialsMatcher.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/shiro/MfaOptionServiceImpl.java (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/openapi.yaml (diff)
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/KapuaAuthenticationErrorCodes.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/AuthenticationServiceShiroImpl.java (diff)
The file was addedrest-api/resources/src/main/resources/openapi/user/user-scopeId-userId-mfa-disableTrust.yaml
The file was modifiedconsole/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/client/GwtKapuaErrorCode.java (diff)
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/ScratchCode.java (diff)
The file was modifiedrest-api/resources/src/main/java/org/eclipse/kapua/app/api/resources/v1/resources/Users.java (diff)
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/ScratchCodeCreator.java (diff)
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/model/MfaRequiredExceptionInfo.java
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/MfaOption.java (diff)
The file was removedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/server/GwtScratchCodeServiceImpl.java
The file was removedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/shared/service/GwtScratchCodeService.java
The file was modifiedconsole/web/src/main/webapp/WEB-INF/web.xml (diff)
The file was modifiedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/shared/util/KapuaGwtAuthenticationModelConverter.java (diff)
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/MfaOptionCreator.java (diff)
The file was modifiedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/client/tabs/credentials/MfaManagementPanel.java (diff)
The file was modifiedrest-api/resources/src/main/resources/openapi/user/user.yaml (diff)
The file was modifiedrest-api/web/src/main/java/org/eclipse/kapua/app/api/web/JaxbContextResolver.java (diff)
Commit 79fb44fabd35ed48c44d978981846d63f59f5b2b by gianluca.barbon
Preventing Mfa creation from other users, only self management is allowed

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was modifiedservice/api/src/main/resources/kapua-service-error-messages.properties (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authorization/shiro/exception/KapuaAuthorizationErrorCodes.java (diff)
The file was modifiedrest-api/web/src/main/java/org/eclipse/kapua/app/api/web/JaxbContextResolver.java (diff)
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/SelfManagedOnlyExceptionMapper.java
The file was modifiedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/client/tabs/credentials/MfaManagementPanel.java (diff)
The file was addedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authorization/shiro/exception/SelfManagedOnlyException.java
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/model/SelfManagedOnlyExceptionInfo.java
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/shiro/MfaOptionServiceImpl.java (diff)
Commit 8328b635fa4041dd896f5c0d29b30e238de22469 by gianluca.barbon
Disabling MFA for external non-internal users

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was addedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authorization/shiro/exception/InternalUserOnlyException.java
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/model/InternalUserOnlyExceptionInfo.java
The file was modifiedrest-api/web/src/main/java/org/eclipse/kapua/app/api/web/JaxbContextResolver.java (diff)
The file was modifiedconsole/module/authentication/src/main/java/org/eclipse/kapua/app/console/module/authentication/client/tabs/credentials/MfaManagementPanel.java (diff)
The file was addedrest-api/core/src/main/java/org/eclipse/kapua/app/api/core/exception/InternalUserOnlyExceptionMapper.java
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/shiro/MfaOptionServiceImpl.java (diff)
The file was modifiedservice/api/src/main/resources/kapua-service-error-messages.properties (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authorization/shiro/exception/KapuaAuthorizationErrorCodes.java (diff)
Commit 0688906c190600e344e09637514b33a6e857eab4 by gianluca.barbon
Sso docker-compose aligned to latest datastore changes and elasticsearch v. 6.8.7

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was modifieddeployment/docker/compose/sso/sso-docker-compose.yml (diff)
Commit e3c41a85726676589e2b7f9a75d08c8bec15dbc4 by gianluca.barbon
MFA trust key security improved

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/MfaOptionService.java (diff)
The file was modifiedservice/security/authentication/api/src/main/java/org/eclipse/kapua/service/authentication/token/AccessToken.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassCredentialsMatcher.java (diff)
The file was modifiedconsole/core/src/main/java/org/eclipse/kapua/app/console/core/server/GwtAuthorizationServiceImpl.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/AuthenticationServiceShiroImpl.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/mfa/shiro/MfaOptionServiceImpl.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/token/shiro/AccessTokenImpl.java (diff)
Commit 480ef2eee4a08df2c05081e6b30e1a110a0b991d by gianluca.barbon
Improved exception handling in ApiKey authentication when ApiKey too short

Signed-off-by: Gianluca Barbon <gianluca.barbon@eurotech.com>
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/shiro/CredentialServiceImpl.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/ApiKeyAuthenticatingRealm.java (diff)
Commit 9cbad23a569cb39c2bfa8e2735a76c074a91f524 by coduz
Added index dvc_device_connection(id)

Signed-off-by: coduz <alberto.codutti@eurotech.com>
The file was modifiedservice/device/registry/internal/src/main/resources/liquibase/changelog-device-master.xml (diff)
The file was modifiedservice/device/registry/internal/src/main/java/org/eclipse/kapua/service/device/registry/connection/internal/DeviceConnectionServiceImpl.java (diff)
The file was addedservice/device/registry/internal/src/main/resources/liquibase/1.4.0/changelog-device-1.4.0.xml
The file was addedservice/device/registry/internal/src/main/resources/liquibase/1.4.0/device_connection-create_index_id.xml