PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.saml.v2.common
Class IDGenerator

java.lang.Object
  extended by 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

Constructor Summary
IDGenerator()
           
 
Method Summary
static String create()
           
static String create(String prefix)
          Create an id that is prefixed by a string
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IDGenerator

public IDGenerator()
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

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.