bind(MessageBus.class).toInstance(context.getBus());
bind(ServerMessageBus.class).toInstance(context.getBus());
}
}).getInstance(AuthenticationAdapter.class);
config.getExtensionBindings().put(AuthenticationAdapter.class, new ResourceProvider() {
public Object get() {
return authAdapterInst;
}
});
}