org.picketlink.identity.federation.core.saml.v2.common
Class IDGenerator
java.lang.Object
org.picketlink.identity.federation.core.saml.v2.common.IDGenerator
public class IDGenerator
- extends Object
Utility class that generates unique IDs
- Since:
- Jan 5, 2009
- Author:
- Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IDGenerator
public IDGenerator()
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
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.