Class GlobalSecurityConfig

All Implemented Interfaces:
CapybaraPortingLayer

public class GlobalSecurityConfig extends ContainerPageObject
Global security configuration UI.
  • Field Details

  • Constructor Details

    • GlobalSecurityConfig

      public GlobalSecurityConfig(Jenkins context)
  • Method Details

    • getConfigUrl

      public URL getConfigUrl()
      Overrides:
      getConfigUrl in class ContainerPageObject
    • useRealm

      public <T extends SecurityRealm> T useRealm(Class<T> type)
    • useAuthorizationStrategy

      public <T extends AuthorizationStrategy> T useAuthorizationStrategy(Class<T> type)
    • useSshHostKeyVerificationStrategy

      public <T extends SshHostKeyVerificationStrategy> void useSshHostKeyVerificationStrategy(Class<T> type)
    • addBuildAccessControl

      public <T extends BuildAccessControl> T addBuildAccessControl(Class<T> type)
    • 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 class ConfigurablePageObject