public class CertificateStoreManager extends BasicModule
Constructor and Description |
---|
CertificateStoreManager() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroys the module.
|
IdentityStore |
getIdentityStore(ConnectionType type) |
CertificateStoreConfiguration |
getIdentityStoreConfiguration(ConnectionType type) |
TrustStore |
getTrustStore(ConnectionType type) |
CertificateStoreConfiguration |
getTrustStoreConfiguration(ConnectionType type) |
void |
initialize(XMPPServer server)
Initializes the basic module.
|
void |
replaceIdentityStore(ConnectionType type,
CertificateStoreConfiguration configuration,
boolean createIfAbsent) |
void |
replaceTrustStore(ConnectionType type,
CertificateStoreConfiguration configuration,
boolean createIfAbsent) |
getName, start, stop
public void initialize(XMPPServer server)
BasicModule
Initializes the basic module.
Inheriting classes that choose to override this method MUST call this initialize() method before accessing BasicModule resources.
initialize
in interface Module
initialize
in class BasicModule
server
- the server hosting this module.public void destroy()
BasicModule
Destroys the module.
Does nothing in the basic module.
destroy
in interface Module
destroy
in class BasicModule
public IdentityStore getIdentityStore(ConnectionType type)
public TrustStore getTrustStore(ConnectionType type)
public void replaceIdentityStore(ConnectionType type, CertificateStoreConfiguration configuration, boolean createIfAbsent) throws CertificateStoreConfigException
CertificateStoreConfigException
public void replaceTrustStore(ConnectionType type, CertificateStoreConfiguration configuration, boolean createIfAbsent) throws CertificateStoreConfigException
CertificateStoreConfigException
public CertificateStoreConfiguration getIdentityStoreConfiguration(ConnectionType type) throws IOException
IOException
public CertificateStoreConfiguration getTrustStoreConfiguration(ConnectionType type) throws IOException
IOException
Copyright © 2003-2008 Jive Software.