Changes

Summary

  1. Trying to login with correct username and password but no otp does not increase the lockout error counter anymore (details)
  2. Added test for lockout counter error with mfa (details)
  3. Code optimization, if the mfa is disabled now only one username/password verification is done (details)
  4. Fixed a bug that caused the login of new created users to fail (details)
  5. Added checking for no exception thrown in integration test (details)
  6. Better usage of the logger (details)
Commit d4ef86f8d950e4915b3af28aed04a6a9e1b60386 by Massimiliano De Luise
Trying to login with correct username and password but no otp does not increase the lockout error counter anymore
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassAuthenticatingRealm.java (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassCredentialsMatcher.java (diff)
Commit 24e6b5e0a4393dcf947c6085f6976f9771cb1265 by Massimiliano De Luise
Added test for lockout counter error with mfa
The file was modifiedqa/integration/src/test/resources/features/user/LockoutExpirationI9n.feature (diff)
The file was modifiedservice/user/test-steps/src/main/java/org/eclipse/kapua/service/user/steps/UserServiceSteps.java (diff)
Commit a3dfc92e679160b552d468b092d451c364b0b550 by Massimiliano De Luise
Code optimization, if the mfa is disabled now only one username/password verification is done
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassAuthenticatingRealm.java (diff)
Commit 4ca4841c1eaf38b8f74317c1684b102bf396af50 by Massimiliano De Luise
Fixed a bug that caused the login of new created users to fail
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassAuthenticatingRealm.java (diff)
Commit 121558a1fccd9360182359e51fca8b21d12939ae by Massimiliano De Luise
Added checking for no exception thrown in integration test
The file was modifiedqa/integration/src/test/resources/features/user/LockoutExpirationI9n.feature (diff)
The file was modifiedservice/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/shiro/realm/UserPassAuthenticatingRealm.java (diff)