O'Reilly logo

JBoss: Developer's Guide by Elvadas Nono Woguia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Cache security

In the real world, some applications such as MoneyTransferAgency, used in different offices to check money transfer status and validate remittances, will only have read-only access to predefined JBoss datagrid caches. On the other hand, the ESB flow that pushed money transfer objects into the cache will at least have write access to the cache to be able to insert new transactions. Infinispan/JBoss datagrid leverages Java standards, such as JAAS and Security Manager, to protect access to caches and cache manager.

Different mechanisms can be used depending on your topologies: While using REST API to put/get entries, you can enable security on the REST connector using a custom security-domain and authentication method:

<rest-connector ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required