Package org.forgerock.openig.util
Interface Randoms.UrlFriendlyRandomStringGenerator
- Enclosing class:
- Randoms
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Generates a random value (cryptographically secure) that can be used in a query parameter value.
-
Method Summary
-
Method Details
-
generate
String generate()Generates a cryptographically secure random value that is URL query parameter friendly.- Returns:
- a cryptographically secure random value (never
null
).
-