33343536373839
protected void configure() { binder().bind(UserDAO.class).toInstance(dao); } }); addResource(injector.getInstance(UserResource.class)); addProvider(new BasicAuthProvider(injector.getInstance(SimpleAuthenticator.class), "authrealm")); }