- @Inject
- private UsersConnectionRepository usersConnectionRepository;
-
-
- /**
- * Configure the {@link UserCookieInterceptor} to intercept all requests.
- *
- * @param registry
- * The {@link InterceptorRegistry} to use.
- *
- * @see {@link UserCookieInterceptor}
- */
- @Override
- public void addInterceptors(InterceptorRegistry registry)
- {
- registry.addInterceptor(new UserCookieInterceptor(usersConnectionRepository));
- }
-