If class implementing AuthRepositoryPool
or UserRepositoryPool
is not using data sources or contains blocking or is not good with concurrent access, then it should be wrapped within proper
repository pool.
Most of implementations provided as part of Tigase XMPP Server do not require to be wrapped within repository pool.
If your implementation is blocking or not perform well with concurrent access (ie. due to synchronization), then it should
be wrapped within this pool.
To wrap implementation within a pool, you need to set pool-cls
property of configured user or authentication repository in your configuration file.