Package tigase.db.util.importexport
Class CredentialsExtension
java.lang.Object
tigase.db.util.importexport.RepositoryManagerExtensionBase
tigase.db.util.importexport.CredentialsExtension
- All Implemented Interfaces:
RepositoryManagerExtension
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exportDomainData
(String domain, Writer writer) void
exportUserData
(Path userDirPath, BareJID user, Writer writer) void
initialize
(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) protected AbstractAuthRepositoryWithCredentials
protected void
writeSCRAM
(ScramCredentialsEntry saslEntry, Writer writer) Methods inherited from class tigase.db.util.importexport.RepositoryManagerExtensionBase
exportInclude, getNamesOfComponent, getRepository, getRootPath
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.db.util.importexport.RepositoryManagerExtension
startImportDomainData
-
Constructor Details
-
CredentialsExtension
public CredentialsExtension()
-
-
Method Details
-
initialize
public void initialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) - Specified by:
initialize
in interfaceRepositoryManagerExtension
- Overrides:
initialize
in classRepositoryManagerExtensionBase
-
getExportParameters
-
getImportParameters
-
exportDomainData
- Throws:
Exception
-
exportUserData
- Throws:
Exception
-
writeSCRAM
- Throws:
Exception
-
prepareAuthRepo
protected AbstractAuthRepositoryWithCredentials prepareAuthRepo(AbstractAuthRepositoryWithCredentials authRepo) -
startImportUserData
public ImporterExtension startImportUserData(BareJID userJid, String name, Map<String, String> attrs) throws Exception- Throws:
Exception
-