public class DefaultUserIDGenerator extends Object implements UserIDGenerator
DefaultUserIDGenerator
generates a set of
user IDs based on the first name and last name of the user.Constructor and Description |
---|
DefaultUserIDGenerator() |
Modifier and Type | Method and Description |
---|---|
Set |
generateUserIDs(String orgName,
Map attributes,
int num)
Generates a set of user IDs.
|
public Set generateUserIDs(String orgName, Map attributes, int num)
num
refers to the maximum number of user IDs
returned. It is possible that the size of the returned
Set
is smaller than the parameter num.generateUserIDs
in interface UserIDGenerator
orgName
- the DN of the organizationattributes
- the keys in the Map
contains the
attribute names and their corresponding values in
the Map
is a Set
that
contains the values for the attributenum
- the maximum number of returned user IDs; 0 means there
is no limitCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.