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 classVaultAuthConfig.RepositoryConfig
-
Field Summary
Fields Modifier and Type Field Description static StringATTR_URIstatic StringELEM_REPOSITORYprotected static org.slf4j.Loggerlog-
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 voidaddRepositoryConfig(VaultAuthConfig.RepositoryConfig cfg)protected voiddoLoad(Element child)protected voiddoWrite(XMLStreamWriter writer)protected voiddoWrite(ContentHandler handler)Deprecated.FilegetConfigFile()VaultAuthConfig.RepositoryConfiggetRepoConfig(String uri)protected StringgetRootElemName()protected doublegetSupportedVersion()booleanload()voidsave()-
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:
doLoadin classAbstractConfig- Throws:
ConfigurationException
-
getRootElemName
protected String getRootElemName()
- Specified by:
getRootElemNamein classAbstractConfig
-
getSupportedVersion
protected double getSupportedVersion()
- Specified by:
getSupportedVersionin 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:
doWritein classAbstractConfig- Throws:
SAXException
-
doWrite
protected void doWrite(XMLStreamWriter writer) throws XMLStreamException
- Specified by:
doWritein classAbstractConfig- Throws:
XMLStreamException
-
load
public boolean load() throws IOException, ConfigurationException- Throws:
IOExceptionConfigurationException
-
save
public void save() throws IOException- Throws:
IOException
-
getConfigFile
public File getConfigFile() throws IOException
- Throws:
IOException
-
-