2122232425262728
@Override protected void configure() { bind(Realm.class).to(DatastoreRealm.class); bindInterceptor(Matchers.any(), Matchers.annotatedWith(RequiresRoles.class), new ShiroMethodInterceptor()); }