ISPN-4413 PAX URL temporary files fill /tmp and cause issues on CI
ISPN-4391 Test Security features in a cluster
- Do not reuse a transport when read()ing a new global configuration
- Add StateTransferManagerImpl.toString() to ease debugging
- Make the TestPrincipal serializable
ISPN-4382 Lightweight security framework
ISPN-4056 Cache masks in the cluster registry
ISPN-4383 ClusterRoleMapper
ISPN-4392 Improved declarative role mapper configuration
ISPN-4382 Update server to use the lightweight security
ISPN-4264 CLI Roles Grant + Deny
ISPN-4406 Security integration tests should run sequentially

* This is because tests rely on static field initialisation.
* To support this, test cache manager factory must be able to cope with
checking if the cache is closed even if it's unauthorised.
ISPN-4405 Remove unnecessary Lucene dependencies causing build halt
ISPN-4417 Adjust embbeded security IT to lightweight security
Change ReplicatedCHFactory to only replace leavers in updateMembers()

Uneven primary ownership should be dealt with in rebalance() only.
Delegate the isBalanced() check in DefaultRebalancePolicy to the CH factory

Allows waitForRehashToComplete() to work even if the CH factory allocated
less than numOwners owners to each segment.