Are you considering to use java.util.UUID behind the scenes for org.keycloak.UUID? Either
way you could just stick to java.util.UUID, the probability of a collision is pretty low.
--
abstractj
On February 7, 2014 at 1:41:37 PM, Stian Thorgersen (stian(a)redhat.com) wrote:
> I didn't mean use the UUID class as the id. I meant wrap the
creation.
So instead of:
new User(java.util.UUID.randomUUID().toString());
we do:
new User(org.keycloak.UUID.createUUID());