[keycloak-dev] Use UUID for IDs

Bruno Oliveira bruno at abstractj.org
Tue Feb 11 09:01:18 EST 2014

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.


On February 7, 2014 at 1:41:37 PM, Stian Thorgersen (stian at 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());

More information about the keycloak-dev mailing list