Question

In infinispan server 6.0.0.CR1 if i want to add some filters or interceptors where should i add them and is there a better documentation that can guide me through. I basically want to intercept the REST call to grab the application ID and add some restriction's while accessing the named caches.

Custom Interceptors section in the UserGuide make more sense for Embedded Cache but with cache server how cani configure the interceptors?

Was it helpful?

Solution

You cannot deploy user code to Infinispan server, which is why neither interceptors nor listeners can be plugged into remote caches currently. If you have a web proxy, you could maybe do the restrictions there.

OTHER TIPS

As Galder said, the server configuration does not allow for easily inserting a custom interceptor in the chain. We have plans on how to allow this in an easy, deployable fashion, but until then this requires patching the infinispan subsystem.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top