Here you can find the source of generateUniqueID()
public static String generateUniqueID()
//package com.java2s; //License from project: Open Source License import java.util.UUID; public class Main { public static final String UNIQUE_ID_PREFIX = "ONELOGIN_"; /**/* w w w . j a va2s . c o m*/ * Generates a unique string (used for example as ID of assertions) * * @return A unique string */ public static String generateUniqueID() { return UNIQUE_ID_PREFIX + UUID.randomUUID(); } }