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, tigase.xmpp.jid.BareJID user, Writer writer) Stream<tigase.util.ui.console.CommandlineParameter>
Stream<tigase.util.ui.console.CommandlineParameter>
void
initialize
(Kernel kernel, DataSourceHelper dataSourceHelper, RepositoryHolder repositoryHolder, Path rootPath) protected AbstractAuthRepositoryWithCredentials
startImportUserData
(tigase.xmpp.jid.BareJID userJid, String name, Map<String, String> attrs) 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
public void exportUserData(Path userDirPath, tigase.xmpp.jid.BareJID user, Writer writer) throws Exception - Throws:
Exception
-
writeSCRAM
- Throws:
Exception
-
prepareAuthRepo
protected AbstractAuthRepositoryWithCredentials prepareAuthRepo(AbstractAuthRepositoryWithCredentials authRepo) -
startImportUserData
public ImporterExtension startImportUserData(tigase.xmpp.jid.BareJID userJid, String name, Map<String, String> attrs) throws Exception- Throws:
Exception
-