Feature #2701
closed
Support to generate an anonymized username (abc123456)
Added by Alena Peterová almost 4 years ago.
Updated over 3 years ago.
Category:
Generating values
Description
Some projects use a username generator, which is independent of first name or last name of the identity.
We would like to set a standard generator:
- specify prefix (some constant value, or none)
- specify a length of the random number
- the generator creates a username, which contains prefix+number and it's unique among identities in IdM
- Assignee changed from Ondřej Kopr to Ondrej Husník
- Estimated time set to 16.00 h
- Priority changed from Normal to High
- Status changed from New to In Progress
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondrej Husník to Vít Švanda
- % Done changed from 0 to 90
- Status changed from Needs feedback to In Progress
- Assignee changed from Vít Švanda to Ondrej Husník
- % Done changed from 90 to 100
I did review and tested it. Works very well with robust algoritm. Thanks for that.
Minor review notes:
- Use a metamodel constant instead string in IdentityAnonymousUsernameGenerator:121 ("PageRequest.of(pageNum, pageSize, Sort.by("username").ascending()));").
- The "createUsername" method does not have the linker parameter mentioned in JavaDoc.
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondrej Husník to Vít Švanda
- Status changed from Needs feedback to Resolved
- Assignee changed from Vít Švanda to Ondrej Husník
- Status changed from Resolved to Closed
Also available in: Atom
PDF