Class ConfigurationFile
java.lang.Object
org.bonitasoft.engine.authorization.properties.ConfigurationFile
- Direct Known Subclasses:
CompoundPermissionsMapping,CustomPermissionsMapping,ResourcesPermissionsMapping
- Author:
- Anthony Birembaut
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationFile(CacheService cacheService, ConfigurationFilesManager configurationFilesManager) ConfigurationFile(CacheService cacheService, ConfigurationFilesManager configurationFilesManager, boolean setKeysToLowerCase) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract StringgetProperty(String propertyName) getPropertyAsSet(String propertyName) protected abstract booleanprotected abstract booleanprotected Propertiesprotected Propertiesprotected PropertiesvoidremoveCustomProperty(String propertyName) voidremoveInternalProperty(String propertyName) voidremoveProperty(String propertyName) voidsetCustomProperty(String propertyName, String propertyValue) voidsetCustomPropertyAsSet(String property, Set<String> permissions) voidsetInternalProperty(String propertyName, String propertyValue) voidsetInternalPropertyAsSet(String property, Set<String> permissions) voidsetProperty(String propertyName, String propertyValue) voidsetPropertyAsSet(String property, Set<String> permissions)
-
Field Details
-
CONFIGURATION_FILES_CACHE
- See Also:
-
cacheKey
-
setKeysToLowerCase
protected boolean setKeysToLowerCase
-
-
Constructor Details
-
ConfigurationFile
public ConfigurationFile(CacheService cacheService, ConfigurationFilesManager configurationFilesManager) -
ConfigurationFile
public ConfigurationFile(CacheService cacheService, ConfigurationFilesManager configurationFilesManager, boolean setKeysToLowerCase)
-
-
Method Details
-
readPropertiesAndStoreThemInCache
-
readPropertiesFromDatabaseAndStoreThemInCache
-
readPropertiesFromClasspathAndStoreThemInCache
-
getPropertiesFileName
-
hasCustomVersion
protected abstract boolean hasCustomVersion() -
hasInternalVersion
protected abstract boolean hasInternalVersion() -
getProperty
-
getPropertyAsSet
-
removeProperty
-
removeCustomProperty
-
removeInternalProperty
-
setProperty
-
setCustomProperty
-
setInternalProperty
-
setPropertyAsSet
-
setCustomPropertyAsSet
-
setInternalPropertyAsSet
-