简体   繁体   中英

Infinispan Interceptor Configuration?

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?

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM