Skip to content

Instantly share code, notes, and snippets.

@salex89
Created October 10, 2016 19:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save salex89/f00fd8216b4e6fbc6849e19da1869413 to your computer and use it in GitHub Desktop.
Save salex89/f00fd8216b4e6fbc6849e19da1869413 to your computer and use it in GitHub Desktop.
Hibernate session in Dropwizard authenticator.
GrowwAuthenticator authenticator = new UnitOfWorkAwareProxyFactory(hibernateBundle)
.create(GrowwAuthenticator.class, SessionFactory.class,
hibernateBundle.getSessionFactory());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment