Class ConfigurationFile

java.lang.Object
org.bonitasoft.engine.authorization.properties.ConfigurationFile
Direct Known Subclasses:
CompoundPermissionsMapping, CustomPermissionsMapping, ResourcesPermissionsMapping

public abstract class ConfigurationFile extends Object
Author:
Anthony Birembaut
  • Field Details

    • CONFIGURATION_FILES_CACHE

      protected static final String CONFIGURATION_FILES_CACHE
      See Also:
    • cacheKey

      protected final String cacheKey
    • setKeysToLowerCase

      protected boolean setKeysToLowerCase
  • Constructor Details

  • Method Details

    • readPropertiesAndStoreThemInCache

      protected Properties readPropertiesAndStoreThemInCache()
    • readPropertiesFromDatabaseAndStoreThemInCache

      protected Properties readPropertiesFromDatabaseAndStoreThemInCache()
    • readPropertiesFromClasspathAndStoreThemInCache

      protected Properties readPropertiesFromClasspathAndStoreThemInCache()
    • getPropertiesFileName

      protected abstract String getPropertiesFileName()
    • hasCustomVersion

      protected abstract boolean hasCustomVersion()
    • hasInternalVersion

      protected abstract boolean hasInternalVersion()
    • getProperty

      public String getProperty(String propertyName)
    • getPropertyAsSet

      public Set<String> getPropertyAsSet(String propertyName)
    • removeProperty

      public void removeProperty(String propertyName)
    • removeCustomProperty

      public void removeCustomProperty(String propertyName)
    • removeInternalProperty

      public void removeInternalProperty(String propertyName)
    • setProperty

      public void setProperty(String propertyName, String propertyValue)
    • setCustomProperty

      public void setCustomProperty(String propertyName, String propertyValue)
    • setInternalProperty

      public void setInternalProperty(String propertyName, String propertyValue)
    • setPropertyAsSet

      public void setPropertyAsSet(String property, Set<String> permissions)
    • setCustomPropertyAsSet

      public void setCustomPropertyAsSet(String property, Set<String> permissions)
    • setInternalPropertyAsSet

      public void setInternalPropertyAsSet(String property, Set<String> permissions)