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.