@Override protected void configure() { install(new RestDispatchAsyncModule.Builder().xsrfTokenHeaderName(ResourcePaths.XSRF_HEADER) .build()); bindConstant().annotatedWith(SecurityCookie.class).to(ResourcePaths.XSRF_COOKIE); }
@Override protected void configure() { install(new RestDispatchAsyncModule.Builder().xsrfTokenHeaderName(ResourcePaths.XSRF_HEADER) .build()); bindConstant().annotatedWith(SecurityCookie.class).to(ResourcePaths.XSRF_COOKIE); }