Package org.jenkinsci.test.acceptance.po
Class GlobalSecurityConfig
java.lang.Object
org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
org.jenkinsci.test.acceptance.po.PageObject
org.jenkinsci.test.acceptance.po.ConfigurablePageObject
org.jenkinsci.test.acceptance.po.ContainerPageObject
org.jenkinsci.test.acceptance.po.GlobalSecurityConfig
- All Implemented Interfaces:
CapybaraPortingLayer
Global security configuration UI.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
CapybaraPortingLayerImpl.Finder<R>, CapybaraPortingLayerImpl.Resolver
-
Field Summary
Fields inherited from class org.jenkinsci.test.acceptance.po.PageObject
jsonParser, url
Fields inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
driver, injector, LABEL_TO_INPUT_XPATH, time
Fields inherited from interface org.jenkinsci.test.acceptance.po.CapybaraPortingLayer
by
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T extends BuildAccessControl>
TaddBuildAccessControl
(Class<T> type) void
save()
void
void
setJobDslScriptSecurity
(boolean enable) Decides whether script security for Job DSL scripts is enabled.<T extends AuthorizationStrategy>
TuseAuthorizationStrategy
(Class<T> type) <T extends SecurityRealm>
T<T extends SshHostKeyVerificationStrategy>
voiduseSshHostKeyVerificationStrategy
(Class<T> type) Methods inherited from class org.jenkinsci.test.acceptance.po.ContainerPageObject
action, action, equals, getJson, getJson, getJsonApiUrl, getNavigationLinks, hashCode
Methods inherited from class org.jenkinsci.test.acceptance.po.ConfigurablePageObject
apply, configure, configure, configure, configure, ensureConfigPage, getFormName, getSubmitButtonText
Methods inherited from class org.jenkinsci.test.acceptance.po.PageObject
control, control, createPageArea, createRandomName, getContext, getJenkins, open, toString, url, url, visit
Methods inherited from class org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl
all, blur, check, check, check, choose, clickButton, clickLink, confirmAlert, elasticSleep, executeScript, fillIn, find, findCaption, findCaption, findIfNotVisible, getCurrentUrl, getCurrentUrlWithFragment, getElement, getPageContent, getPageSource, getPageSource, getPath, handleAlert, isHiddenOrStale, isStale, last, lastIfNotVisible, newInstance, resource, runThenConfirmAlert, runThenConfirmAlert, runThenHandleAlert, runThenHandleAlert, runThenHandleDialog, sleep, visit, waitFor, waitFor, waitFor, waitFor, waitFor, waitForCond, waitForCond
-
Field Details
-
csrf
-
-
Constructor Details
-
GlobalSecurityConfig
-
-
Method Details
-
getConfigUrl
- Overrides:
getConfigUrl
in classContainerPageObject
-
useRealm
-
useAuthorizationStrategy
-
useSshHostKeyVerificationStrategy
public <T extends SshHostKeyVerificationStrategy> void useSshHostKeyVerificationStrategy(Class<T> type) -
addBuildAccessControl
-
selectSafeHtmlFormatter
public void selectSafeHtmlFormatter() -
setJobDslScriptSecurity
public void setJobDslScriptSecurity(boolean enable) Decides whether script security for Job DSL scripts is enabled.- Parameters:
enable
- Use script security if true.
-
save
public void save()- Overrides:
save
in classConfigurablePageObject
-