public class UUIDNamePolicy<AU extends AppUser> extends GlobalNamePolicy<AU,UUIDNamePolicy>
GlobalNamePolicy that assigns a random UUID for the AppUser
These can safely be anonymised without risk of re-issue so aresuitable for
ids sent to external providers.PROPERTY_PREFIX| Constructor and Description |
|---|
UUIDNamePolicy(AppUserFactory<AU> factory) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
defaultFieldLength()
default filed length when creating table.
|
java.lang.String |
getName(AU p)
Generate a unique global name for the uncommitted person.
|
java.lang.String |
getNameLabel()
Get a user presented label asking for the login name of the supported type.
|
anonymise, post_commit, pre_commit, setTemplateContent, userSetactive, addSuppress, addToHistorySpecification, addTranslations, customiseForm, customiseUpdateForm, getCanonicalName, getStringFinderFilter, modifyDefaultTableSpecification, normalizeName, setName, userVisiblefindFromString, getAllNames, getDataCache, getRealm, getType, toString, validateName, verifiedaddDefaults, addFieldHelp, addOptional, addSelectors, getContext, getFactory, getLogger, getRecord, getRepository, postUpdate, preRegister, releaseclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEraseFieldsaddFieldConstraints, addFormFieldspublic UUIDNamePolicy(AppUserFactory<AU> factory)
factory - realm - public java.lang.String getName(AU p)
GlobalNamePolicygetName in class GlobalNamePolicy<AU extends AppUser,UUIDNamePolicy>p - uncommitted person.protected int defaultFieldLength()
FieldNameFinderdefaultFieldLength in class FieldNameFinder<AU extends AppUser,UUIDNamePolicy>public java.lang.String getNameLabel()
AppUserNameFindergetNameLabel in class FieldNameFinder<AU extends AppUser,UUIDNamePolicy>