Defect #2410
closed
- File 001.png 001.png added
- File 002.png 002.png added
- Tracker changed from Task to Defect
- Priority changed from Normal to Immediate
- Affected versions 2.3.0, 2.3.1, 1.2.0, 2.0.0, 2.1.0, 2.1.1, 2.2.0, 2.4.0, 3.0.0 added
For new project can be used as workaround check confidential attribute in form definition and passwords will be stored in confidential storage and it will not be visible in frontend agenda:
For old project must be before change attribute to confidential removed all existing values for the password attribute, then can be attribute changed to confidential.
- Assignee changed from Ondřej Kopr to Marek Klement
- Status changed from New to Needs feedback
- Assignee changed from Marek Klement to Ondřej Kopr
- Affected versions deleted (
2.3.0)
Changed attribute to confidential in initialization. Can you check it? @kopro
- Target version changed from 3.0.0 to 3.0.1
- Status changed from Needs feedback to In Progress
- Assignee changed from Ondřej Kopr to Marek Klement
- % Done changed from 0 to 90
I made review. There are just some little issues:
- update javadoc for methods = parameters are now different,
- please add just some small test for check password attribute.
After testing I found next issue with configuration property: idm.pub.reg.attributes.password.attr
The property conaints code of form attribute, but when exists two attributes in different type with same code, the whole password behavior fails. Please fix also this issue. Thank you. There is code that needs some change:
IdmFormAttributeFilter filter = new IdmFormAttributeFilter();
filter.setCode(configuration.getPasswordAttribute());
IdmFormAttributeDto passwordFormAttribute = formAttributeService.find(filter, null).getContent().stream()
.findFirst().orElseThrow(() -> new ResultCodeException(RegResultCode.WRONG_CONFIGURATION_DATA));
- Status changed from In Progress to Needs feedback
- Assignee changed from Marek Klement to Ondřej Kopr
- Status changed from Needs feedback to Resolved
- Assignee changed from Ondřej Kopr to Marek Klement
Nice! Your test is very simple and effective :D Thank you for fix this horrible bug.
LGTM :)
- % Done changed from 90 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF