Skip to content

Changes

Summary

  1. Updated Password regex (details)
  2. Back from POSIX classes to plain character classes GWT doesn't like (details)
  3. Updated tests for password validation. (details)
  4. Fixed QA tests (details)
Commit 36ecd2c0d40536bbf3964b90636b0f5fa804567a by Alberto Codutti
Updated Password regex
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was removedconsole/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/client/ui/validator/GwtCommonsValidationRegex.java
The file was modified console/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/client/util/validator/TextFieldValidator.java (diff)
The file was modified commons/src/main/java/org/eclipse/kapua/commons/util/CommonsValidationRegex.java (diff)
The file was modified service/security/shiro/src/main/java/org/eclipse/kapua/service/authentication/credential/shiro/CredentialServiceImpl.java (diff)
Commit e4b192dc1323800295f2d43df03df6bdf2103386 by Alberto Codutti
Back from POSIX classes to plain character classes GWT doesn't like
POSIX classes, so we need to get back to plain character classes
Signed-off-by: Claudio Mezzasalma <claudio.mezzasalma@eurotech.com>
The file was modified commons/src/main/java/org/eclipse/kapua/commons/util/CommonsValidationRegex.java (diff)
The file was modified console/module/api/src/main/java/org/eclipse/kapua/app/console/module/api/client/util/validator/TextFieldValidator.java (diff)
Commit 65c98849d7fa64f101c05b3aa5faa881b3c3f7ea by Alberto Codutti
Updated tests for password validation.
Password special characters were added and tests had to be fixed
accordingly. Some passwords that were first not acceptable are now
valid.
Signed-off-by: Uros Mesaric Kunst <uros.mesaric-kunst@comtrade.com>
The file was modified commons/src/test/java/org/eclipse/kapua/commons/util/ArgumentValidatorTest.java (diff)
Commit 4806b8ce35520f54e3683f10382148d4165e7a5b by Alberto Codutti
Fixed QA tests
QA tests were using kapua-password which is not correct password for
ordinary user.
Signed-off-by: Uros Mesaric Kunst <uros.mesaric-kunst@comtrade.com>
The file was modified qa/src/test/resources/features/broker/acl/BrokerACLDeviceManageI9n.feature (diff)
The file was modified qa/src/test/java/org/eclipse/kapua/service/connection/integration/RunConnectionI9nTest.java (diff)
The file was modified qa/src/test/resources/features/connection/UserCouplingI9n.feature (diff)
The file was modified qa/src/test/resources/features/broker/acl/BrokerACLI9n.feature (diff)
The file was modified qa-steps/src/main/java/org/eclipse/kapua/service/device/steps/AclCreator.java (diff)