Class SecureRandomUtils
- java.lang.Object
-
- org.apache.syncope.core.spring.security.SecureRandomUtils
-
public final class SecureRandomUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static int
generateRandomInt(int startInclusive, int endExclusive)
static String
generateRandomLetter()
static String
generateRandomLetters(int length)
static String
generateRandomNonAlphanumericChar(char[] characters)
static String
generateRandomNumber()
static String
generateRandomPassword(int tokenLength)
static UUID
generateRandomUUID()
static org.passay.PasswordGenerator
passwordGenerator()
-
-
-
Method Detail
-
generateRandomPassword
public static String generateRandomPassword(int tokenLength)
-
generateRandomLetter
public static String generateRandomLetter()
-
generateRandomLetters
public static String generateRandomLetters(int length)
-
generateRandomNumber
public static String generateRandomNumber()
-
generateRandomNonAlphanumericChar
public static String generateRandomNonAlphanumericChar(char[] characters)
-
generateRandomInt
public static int generateRandomInt(int startInclusive, int endExclusive)
-
generateRandomUUID
public static UUID generateRandomUUID()
-
passwordGenerator
public static org.passay.PasswordGenerator passwordGenerator()
-
-