Bugfix: Setting and getting configuration values

- removed cache from global getter, because it was overriding the cache of
  the tenant specific getter
- changed Type of AuthName key, type of key was not important before the huge
  configuration refactoring
- fixed test conditions

Signed-off-by: Nonnenmacher Fabian <fabian.nonnenmacher@bosch-si.com>
This commit is contained in:
Fabian Nonnenmacher
2016-01-29 18:10:42 +01:00
committed by Nonnenmacher Fabian
parent 6a88f2a3f4
commit c39753001e
3 changed files with 3 additions and 5 deletions

View File

@@ -35,8 +35,8 @@ public enum TenantConfigurationKey {
*
*/
AUTHENTICATION_MODE_HEADER_AUTHORITY_NAME("authentication.header.authority",
"hawkbit.server.controller.security.authentication.header.authority", Boolean.class,
Boolean.FALSE.toString(), TenantConfigurationBooleanValidator.class),
"hawkbit.server.controller.security.authentication.header.authority", String.class,
Boolean.FALSE.toString(), TenantConfigurationStringValidator.class),
/**
* boolean value {@code true} {@code false}.
*/