searchisko/searchisko — pull request #154 by lkrzyzanek (2014-09-24 12:14:12+00:00)
Title: 147

Mechanism uses Infinispan Cache for distribution of changed roles. Every request (via RequestWrapper) finds corresponding entry in the cache and if found then it overrides default's roles.

This change also provides new PrincipalWithRoles which contains actual roles so app can easily take all of them.

Configuration changes
------------------------------
It's needed to configure cache in `standalone.xml`. See [development.md](documentation/development.md) for development.

AS configuration for integration tests needs to reflect this change as well and also needs to have changed Security domain configuration. See [Integration test docs](ftest/README.md) for integration tests.