Created
October 10, 2016 19:56
-
-
Save salex89/f00fd8216b4e6fbc6849e19da1869413 to your computer and use it in GitHub Desktop.
Hibernate session in Dropwizard authenticator.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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