dcwaterm / pwm

Automatically exported from code.google.com/p/pwm
0 stars 0 forks source link

Random value naming attribute and prefix for Guest Registration module #635

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current implementation of the Guest Registration Module does not support 
generating a random username. I guess the reason for this is that the ldap 
naming attribute is supposed to be the username. Therefore the guest admin 
enters it to make sense.

However, in most Identity Vault implementations I've seen the username isn't 
the naming attribute. the naming attribute is the place holder for an UID that 
never changes: the username can be changed easily as it is just a regular 
attribute on that object. Therefore this enhancement request proposes an extra 
option to generate the naming attribute with a random value, beside thew 
current form field method. This works in an identical way as the current 
functionality for the New User Registration module:

- add a random char range
- add a random char length
- add a prefix (see enhancement pwm #632)

The username itself can still be added to the form, so this functionality does 
not break current deployments.

Attached a patch for 1.7.1

Original issue reported on code.google.com by sebastia...@gmail.com on 21 Nov 2014 at 11:15

Attachments: