//this method can take in the session object
//and insure better uniqueness guarantees
//needed length must be greater than not less than
//expected returned lengths - i.e. at least 40
int desiredLength =
DESIRED_UUID_LENGTH >= inputLength ? DESIRED_UUID_LENGTH:inputLength;
String unpaddedUuid = UuidUtil.generateUuid(obj);
StringBuffer sb = new StringBuffer(unpaddedUuid);
int neededPadding = desiredLength - unpaddedUuid.length();
//int neededPadding = DESIRED_UUID_LENGTH - unpaddedUuid.length();
if(neededPadding > 0) {
for(int i=0; i<neededPadding; i++) {
sb.append("F");
}
}
return sb.toString();