Class IDGenerator
- java.lang.Object
-
- org.keycloak.saml.processing.core.saml.v2.common.IDGenerator
-
public class IDGenerator extends Object
Utility class that generates unique IDs- Since:
- Jan 5, 2009
- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description IDGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
create()
static String
create(String prefix)
Create an id that is prefixed by a string
-
-
-
Method Detail
-
create
public static String create()
-
create
public static String create(String prefix)
Create an id that is prefixed by a string- Parameters:
prefix
-- Returns:
- an id
- Throws:
IllegalArgumentException
- when prefix is null
-
-