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
ConfluenceSidManagerinitSid in interface ConfluenceSidManagercom.atlassian.config.ConfigurationException - if
public String getSid() throws com.atlassian.config.ConfigurationException
ConfluenceSidManagergetSid in interface ConfluenceSidManagercom.atlassian.config.ConfigurationExceptionpublic boolean isSidSet()
throws com.atlassian.config.ConfigurationException
isSidSet in interface ConfluenceSidManagercom.atlassian.config.ConfigurationExceptionpublic 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–2016 Atlassian. All rights reserved.