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 String
ATTR_URI
static String
ELEM_REPOSITORY
protected static org.slf4j.Logger
log
-
Fields inherited from class org.apache.jackrabbit.vault.fs.config.AbstractConfig
ATTR_VERSION, DIR_NAME, version
-
-
Constructor Summary
Constructors Constructor Description VaultAuthConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
addRepositoryConfig(VaultAuthConfig.RepositoryConfig cfg)
protected void
doLoad(Element child)
protected void
doWrite(XMLStreamWriter writer)
protected void
doWrite(ContentHandler handler)
Deprecated.File
getConfigFile()
VaultAuthConfig.RepositoryConfig
getRepoConfig(String uri)
protected String
getRootElemName()
protected double
getSupportedVersion()
boolean
load()
void
save()
-
Methods inherited from class org.apache.jackrabbit.vault.fs.config.AbstractConfig
getConfigDir, load, load, load, save, save, write, write
-
-
-
-
Field Detail
-
log
protected static org.slf4j.Logger log
-
ELEM_REPOSITORY
public static final String ELEM_REPOSITORY
- See Also:
- Constant Field Values
-
ATTR_URI
public static final String ATTR_URI
- See Also:
- Constant Field Values
-
-
Method Detail
-
doLoad
protected void doLoad(Element child) throws ConfigurationException
- Specified by:
doLoad
in classAbstractConfig
- Throws:
ConfigurationException
-
getRootElemName
protected String getRootElemName()
- Specified by:
getRootElemName
in classAbstractConfig
-
getSupportedVersion
protected double getSupportedVersion()
- Specified by:
getSupportedVersion
in classAbstractConfig
-
getRepoConfig
public VaultAuthConfig.RepositoryConfig getRepoConfig(String uri)
-
addRepositoryConfig
public void addRepositoryConfig(VaultAuthConfig.RepositoryConfig cfg)
-
doWrite
@Deprecated protected void doWrite(ContentHandler handler) throws SAXException
Deprecated.- Specified by:
doWrite
in classAbstractConfig
- Throws:
SAXException
-
doWrite
protected void doWrite(XMLStreamWriter writer) throws XMLStreamException
- Specified by:
doWrite
in classAbstractConfig
- Throws:
XMLStreamException
-
load
public boolean load() throws IOException, ConfigurationException
- Throws:
IOException
ConfigurationException
-
save
public void save() throws IOException
- Throws:
IOException
-
getConfigFile
public File getConfigFile() throws IOException
- Throws:
IOException
-
-