Class VaultAuthConfig
- java.lang.Object
-
- org.apache.jackrabbit.vault.fs.config.AbstractConfig
-
- org.apache.jackrabbit.vault.fs.config.VaultAuthConfig
-
public class VaultAuthConfig extends AbstractConfig
VaultUserConfig
...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VaultAuthConfig.RepositoryConfig
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ATTR_URI
static java.lang.String
ELEM_REPOSITORY
-
Fields inherited from class org.apache.jackrabbit.vault.fs.config.AbstractConfig
ATTR_VERSION, DIR_NAME
-
-
Constructor Summary
Constructors Constructor Description VaultAuthConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRepositoryConfig(VaultAuthConfig.RepositoryConfig cfg)
java.io.File
getConfigFile()
VaultAuthConfig.RepositoryConfig
getRepoConfig(java.lang.String uri)
boolean
load()
void
save()
-
Methods inherited from class org.apache.jackrabbit.vault.fs.config.AbstractConfig
getConfigDir, load, load, load, save, save
-
-
-
-
Field Detail
-
ELEM_REPOSITORY
public static final java.lang.String ELEM_REPOSITORY
- See Also:
- Constant Field Values
-
ATTR_URI
public static final java.lang.String ATTR_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
getRepoConfig
public VaultAuthConfig.RepositoryConfig getRepoConfig(java.lang.String uri)
-
addRepositoryConfig
public void addRepositoryConfig(VaultAuthConfig.RepositoryConfig cfg)
-
load
public boolean load() throws java.io.IOException, ConfigurationException
- Throws:
java.io.IOException
ConfigurationException
-
save
public void save() throws java.io.IOException
- Throws:
java.io.IOException
-
getConfigFile
public java.io.File getConfigFile() throws java.io.IOException
- Throws:
java.io.IOException
-
-