Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Duplicate
-
1.1.0
-
None
-
None
Description
In the private addToRealms-method of IniSecurityManagerFactory, there is a check:
Collection<Realm> factoryRealms = factory.getRealms();
if (!CollectionUtils.isEmpty(realms)) {
realms.addAll(factoryRealms);
}
The if-clause should be against the factoryRealms variable, as this check forces one to create a dummy Realm in the configuration file in order for the factory created Realms to be added as well.