Class AuthzManagerConfig
java.lang.Object
com.netscape.cmscore.base.PropConfigStore
org.dogtagpki.server.authorization.AuthzManagerConfig
- All Implemented Interfaces:
IConfigStore, Cloneable
-
Field Summary
Fields inherited from class PropConfigStore
logger, mSource, mStoreName, PROP_SUBSTORES, storageModifier and TypeFieldDescriptionstatic final org.slf4j.Loggerprotected SimplePropertiesThe source data for this substoreprotected StringThe name of this substoreprotected static final Stringprotected ConfigStorage -
Constructor Summary
ConstructorsConstructorDescriptionAuthzManagerConfig(ConfigStorage storage) AuthzManagerConfig(String name, SimpleProperties source) -
Method Summary
Methods inherited from class PropConfigStore
clear, clone, commit, get, getBigInteger, getBigInteger, getBoolean, getBoolean, getByteArray, getByteArray, getFullName, getInteger, getInteger, getName, getProperties, getPropertyNames, getSource, getStorage, getString, getString, getSubStore, getSubStore, getSubStoreNames, keys, load, load, makeSubStore, printProperties, put, putBigInteger, putBoolean, putByteArray, putInteger, putString, remove, removeSubStore, size, storeModifier and TypeMethodDescriptionvoidclear()Clear the config store.clone()Cloning of property configuration store.voidcommit(boolean createBackup) Store config into storage (file or LDAP).Retrieves a property from the configuration file.getBigInteger(String name) Retrieves big integer value.getBigInteger(String name, BigInteger defval) Retrieves integer value.booleangetBoolean(String name) Retrieves boolean-based property value.booleangetBoolean(String name, boolean defval) Retrieves boolean-based property value.byte[]getByteArray(String name) Retrieves a byte array from the configuration file.byte[]getByteArray(String name, byte[] defval) Retrieves a byte array from the configuration file.protected StringgetFullName(String name) Converts the substore parameters.intgetInteger(String name) Retrieves integer value.intgetInteger(String name, int defval) Retrieves integer value.getName()Returns the name of this store.Retrieves lexicographically sorted properties as a map.Retrieves a list of property names.Retrieves the source configuration store where the properties are stored.Retrieves a property value.Retrieves a String from the configuration file.getSubStore(String name) Retrieves a sub store.<T extends IConfigStore>
TgetSubStore(String name, Class<T> clazz) Returns a list of sub store names.keys()Returns an enumeration of the config store's keys, hidding the store name.voidload()Load config from storage storage (file or LDAP).voidload(InputStream in) Reads a config store from an input stream.makeSubStore(String name) Creates a new sub store.voidFor debugging purposes.Puts a property into the configuration file.voidputBigInteger(String name, BigInteger val) Puts a big integer value.voidputBoolean(String name, boolean value) Puts boolean value into the configuration store.voidputByteArray(String name, byte[] value) Puts byte array into this configuration store.voidputInteger(String name, int val) Puts an integer value.voidPuts property value into this configuration store.voidRemoves a property from the configuration file.voidremoveSubStore(String name) Removes a sub store.intsize()Return the number of items in this substorevoidstore(OutputStream out) Stores this config store to the specified output stream.
-
Constructor Details
-
AuthzManagerConfig
-
AuthzManagerConfig
-
-
Method Details
-
getLDAPConfig
-