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 classstatic classstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportDomainData(String domain, Writer writer) voidexportUserData(Path userDirPath, BareJID user, Writer writer) voidinitialize(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) protected AbstractAuthRepositoryWithCredentialsprotected voidwriteSCRAM(ScramCredentialsEntry saslEntry, Writer writer) Methods inherited from class tigase.db.util.importexport.RepositoryManagerExtensionBase
exportInclude, getNamesOfComponent, getRepository, getRootPathMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
initializein interfaceRepositoryManagerExtension- Overrides:
initializein 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
-