Package | Description |
---|---|
org.forgerock.openam.utils |
This package contains general utilities for use throughout the OpenAM codebase.
|
Modifier and Type | Method and Description |
---|---|
String |
RecoveryCodeGenerator.generateCode(CodeGeneratorSource alphabet,
int length)
Generates a code of the supplied length, using the provided alphabet as its
source of random characters.
|
List<String> |
RecoveryCodeGenerator.generateCodes(int numCodes,
CodeGeneratorSource alphabet,
boolean allowDuplicates)
Generate a set of codes using the provided alphabet of the default length.
|
List<String> |
RecoveryCodeGenerator.generateCodes(int numCodes,
CodeGeneratorSource alphabet,
int length,
boolean allowDuplicates)
Generate a set of codes using the provided alphabet of the provided length.
|
String |
RecoveryCodeGenerator.generateDelimitedCode(CodeGeneratorSource alphabet,
char delimiter,
int... groups)
Generates a code of the supplied length, using the provided alphabet as its
source of random characters.
|
String[] |
RecoveryCodeGenerator.generateDelimitedCodes(int numCodes,
CodeGeneratorSource alphabet,
char delimiter,
boolean allowDuplicates,
int... groups)
Generates a code of the supplied length, using the provided alphabet as its
source of random characters.
|
String[] |
RecoveryCodeGenerator.generateDelimitedCodesWithSpecifics(int numCodes,
CodeGeneratorSource alphabet,
char delimiter,
Map<Integer,Character> specifics,
boolean allowDuplicates,
int... groups)
Generates a code of the supplied length, using the provided alphabet as its
source of random characters.
|
String |
RecoveryCodeGenerator.generateDelimitedCodeWithSpecifics(CodeGeneratorSource alphabet,
char delimiter,
Map<Integer,Character> specifics,
int... groups)
Generates a code of the supplied length, using the provided alphabet as its
source of random characters.
|
Copyright © 2010-2018, ForgeRock All Rights Reserved.