public class BootstrapSidManager extends Object implements ConfluenceSidManager
ApplicationConfiguration
Modifier and Type | Field and Description |
---|---|
static String |
CONFLUENCE_SETUP_SERVER_ID |
Constructor and Description |
---|
BootstrapSidManager(com.atlassian.config.ApplicationConfiguration applicationConfig) |
Modifier and Type | Method and Description |
---|---|
String |
getSid()
Retrieve the current instance SID
|
void |
initSid()
Generate a new SID from the provided SIDManager and persist it to the application configuration
|
boolean |
isSidSet() |
public static final String CONFLUENCE_SETUP_SERVER_ID
public BootstrapSidManager(com.atlassian.config.ApplicationConfiguration applicationConfig)
public void initSid() throws com.atlassian.config.ConfigurationException
initSid
in interface ConfluenceSidManager
com.atlassian.config.ConfigurationException
- if a server ID has already been created or there is a problem persisting itpublic 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
Copyright © 2003–2015 Atlassian. All rights reserved.