public class DatabaseSidManager extends Object implements ConfluenceSidManager
This SID manager will initialise the Bandana stored SID by querying the SID of the provided delegate SID manager. This can be used for associated the SID generated during Confluence setup with the database.
BootstrapSidManager
Modifier and Type | Field and Description |
---|---|
static String |
CONFLUENCE_SERVER_ID |
Constructor and Description |
---|
DatabaseSidManager() |
Modifier and Type | Method and Description |
---|---|
String |
getSid()
Retrieve the current instance SID
|
void |
initSid()
Initialises the Bandana SID by replicating the SID returned by the delegate
ConfluenceSidManager |
boolean |
isSidSet() |
void |
setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager) |
void |
setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager) |
public static final String CONFLUENCE_SERVER_ID
public void initSid() throws com.atlassian.config.ConfigurationException
ConfluenceSidManager
initSid
in interface ConfluenceSidManager
com.atlassian.config.ConfigurationException
- if
public String getSid() throws com.atlassian.config.ConfigurationException
ConfluenceSidManager
getSid
in interface ConfluenceSidManager
com.atlassian.config.ConfigurationException
public boolean isSidSet() throws com.atlassian.config.ConfigurationException
isSidSet
in interface ConfluenceSidManager
com.atlassian.config.ConfigurationException
public void setBandanaManager(com.atlassian.bandana.BandanaManager bandanaManager)
public void setBootstrapSidManager(ConfluenceSidManager bootstrapSidManager)
bootstrapSidManager
- Set the delegate SID manager to use for initialisation of the Bandana stored SIDCopyright © 2003–2021 Atlassian. All rights reserved.