Details
-
Bug
-
Status: Closed
-
Top
-
Resolution: Fixed
-
None
-
None
-
None
Description
In HSTTWO-2480 I have added:
private static String getCredentialsDomainSeparator()
{ return HstServices.getComponentManager().getContainerConfiguration().getString("repository.pool.user.name.separator"); }However, this returns null if 'repository.pool.user.name.separator' is not explicitly defined in hst-config.properties.
I thought it would be picked up from the SpringComponentManager.properties if missing in hst-config.properties, but this is not the case (I've been bitten by this before, I think it is a bit confusing)
Either way, I will now hardcode the default \uFFFF value in getCredentialsDomainSeparator) in case it is null as the SpringComponentManager.properties has value \uFFFF as default
Ps It works in the testsuite because the testsuite has an explicit repository.pool.user.name.separator property