|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.confluence.it.admin.AdminConsole
public class AdminConsole
Field Summary | |
---|---|
protected org.slf4j.Logger |
log
|
Method Summary | |
---|---|
void |
addSmtpServer(String serverName,
String from,
String subjectPrefix,
String hostname,
int port)
Adds a SMTP server to the Confluence configuration |
EditGeneralConfiguration |
editGeneralConfig()
|
void |
editLayout(String decoratorName,
String value)
|
void |
editSecurityConfig()
|
void |
enableAddWildcardsToUserAndGroupSearches(boolean enabled)
|
void |
enableAntiXssMode(boolean enable)
Enables or disables the auto HTML encoding |
void |
enableCaptcha(boolean enable)
Configures captcha for all users, including administrator |
void |
enableContactAdministratorsForm(boolean enable)
Set the ContactAdministratorsForm global setting to the value passed in. |
void |
enableElevatedSecurityCheck(boolean enabled)
|
void |
enableExternalUserManagement(boolean enable)
|
void |
enablePublicSignup(boolean enabled)
|
void |
enableShowSystemInfoIn500Page(boolean enabled)
|
void |
enableSpaceStyles(boolean enabled)
|
void |
enableWebSudo(boolean enabled)
|
static AdminConsole |
getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
|
int |
getLoginAttemptsThreshold()
|
boolean |
isAddWildcardsToUserAndGroupSearches()
|
boolean |
isAntiXssModeEnabled()
|
boolean |
isEnableElevatedSecurityCheck()
|
boolean |
isEnableSpaceStyles()
|
boolean |
isExternalUserManagement()
|
boolean |
isPublicSignup()
|
boolean |
isShowSystemInfoIn500Page()
|
boolean |
isXsrfAddComments()
|
boolean |
migrateAttachmentStorageToDatabase(boolean nonBackgroundTask)
|
boolean |
migrateAttachmentStorageToFileSystem(boolean nonBackgroundTask)
|
void |
removeAllSmtpServers()
Removes all configured SMTP servers from the Confluence configuration |
void |
resetGlobalLogo()
|
void |
resetGlobalThemeToDefault()
|
void |
resetLayout(String decoratorName)
|
void |
setAllowAnonymousRemoteApi(boolean enabled)
|
void |
setBaseUrl(String baseUrl)
|
void |
setCamelCaseLinks(boolean enabled)
|
void |
setCustomContactAdministratorsMessage(String message)
|
void |
setEmailMask(String setting)
|
void |
setExternalUserManagement(boolean enabled)
|
void |
setGlobalLogo(File logo)
|
void |
setGlobalTheme(String themeKey)
|
void |
setHttpCompression(boolean enabled)
Set the Http Compression setting according to the given parameter. |
void |
setLoginAttemptsThreshold(int loginAttemptsThreshold)
|
int |
setMaxRssItems(int max)
|
void |
setPublicSignup(boolean enabled)
|
void |
setRemoteApi(boolean enabled)
|
void |
setSpaceSyles(boolean enabled)
|
void |
setTrackBack(boolean enabled)
|
void |
setWebSudoTimeout(long timeout)
Enables WebSudo support and sets the timeout in minutes |
boolean |
setXsrfAddComments(boolean enable)
|
void |
snipSnapImport(String importResource,
Long spaceId)
|
void |
updateLicense(License license)
Change the system's license. |
void |
validateWebSudo(String password)
|
void |
viewAdminConsole()
View the admin console via direct URL request. |
void |
viewAttachmentStorage()
|
void |
viewGlobalLogo()
|
void |
viewLayoutsPage()
|
void |
viewPlugin(String pluginKey)
|
void |
viewPlugins()
|
void |
viewSecurityConfiguration()
|
void |
viewSystemInformation()
|
void |
viewUser(User user)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final transient org.slf4j.Logger log
Method Detail |
---|
public static AdminConsole getAdminConsole(net.sourceforge.jwebunit.junit.WebTester webTester)
public EditGeneralConfiguration editGeneralConfig()
public void editSecurityConfig()
public void viewAdminConsole()
public void setGlobalTheme(String themeKey)
public void resetGlobalThemeToDefault()
public void enableCaptcha(boolean enable)
enable
- true to enable captcha, false to disable captchapublic void enableWebSudo(boolean enabled)
public void validateWebSudo(String password)
public void setWebSudoTimeout(long timeout)
timeout
- the timeout in minutespublic void enableAntiXssMode(boolean enable)
enable
- the new state of this propertypublic void enableExternalUserManagement(boolean enable)
public boolean isAntiXssModeEnabled()
public boolean isExternalUserManagement()
public boolean isAddWildcardsToUserAndGroupSearches()
public boolean isPublicSignup()
public boolean isEnableSpaceStyles()
public boolean isShowSystemInfoIn500Page()
public void setGlobalLogo(File logo)
public void resetGlobalLogo()
public void viewGlobalLogo()
public void addSmtpServer(String serverName, String from, String subjectPrefix, String hostname, int port)
serverName
- description of the server for Confluencefrom
- emails sent via this server will have this value in the from headersubjectPrefix
- this prefix will be appended to all mail sent via this serverhostname
- the host name of the server to connect toport
- the port of the server to connect topublic void removeAllSmtpServers()
public void viewAttachmentStorage()
public boolean migrateAttachmentStorageToDatabase(boolean nonBackgroundTask)
public boolean migrateAttachmentStorageToFileSystem(boolean nonBackgroundTask)
public void viewUser(User user)
public void viewPlugins()
public void viewPlugin(String pluginKey)
public void viewSystemInformation()
public void viewLayoutsPage()
public void viewSecurityConfiguration()
public void editLayout(String decoratorName, String value)
public void resetLayout(String decoratorName)
public void setCustomContactAdministratorsMessage(String message)
public void enableContactAdministratorsForm(boolean enable)
public void updateLicense(License license)
public boolean isXsrfAddComments()
public boolean setXsrfAddComments(boolean enable)
public int setMaxRssItems(int max)
public void setExternalUserManagement(boolean enabled)
public void setEmailMask(String setting)
public void setPublicSignup(boolean enabled)
public void setAllowAnonymousRemoteApi(boolean enabled)
public void setRemoteApi(boolean enabled)
public void setHttpCompression(boolean enabled)
enabled
- true to turn (or leave) compression on.public void setCamelCaseLinks(boolean enabled)
public void setTrackBack(boolean enabled)
public void setBaseUrl(String baseUrl)
public void snipSnapImport(String importResource, Long spaceId)
public void setSpaceSyles(boolean enabled)
public void setLoginAttemptsThreshold(int loginAttemptsThreshold)
public void enableElevatedSecurityCheck(boolean enabled)
public int getLoginAttemptsThreshold()
public boolean isEnableElevatedSecurityCheck()
public void enableShowSystemInfoIn500Page(boolean enabled)
public void enableSpaceStyles(boolean enabled)
public void enablePublicSignup(boolean enabled)
public void enableAddWildcardsToUserAndGroupSearches(boolean enabled)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |