Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 1 addition & 24 deletions src/org/labkey/test/pages/core/admin/CustomizeSitePage.java
Original file line number Diff line number Diff line change
Expand Up @@ -188,18 +188,6 @@ public CustomizeSitePage setAdminOnlyMessage(String value)
return this;
}

public CustomizeSitePage setCSRFCheck(CSRFCheck value)
{
elementCache().CSRFCheck.selectByValue(value.name());
return this;
}

public CustomizeSitePage setXFrameOption(XFrameOption value)
{
elementCache().XFrameOption.selectByValue(value.name());
return this;
}

public CustomizeSitePage setEnableServerHttpHeader(boolean enable)
{
elementCache().enableServerHttpHeader.set(enable);
Expand Down Expand Up @@ -271,8 +259,6 @@ protected RadioButton exceptionReportingLevel(ReportingLevel level)
protected final Input adminOnlyMessage = Input(Locator.id("adminOnlyMessage"), getDriver()).findWhenNeeded(this);

// HTTP Security Settings
protected final Select CSRFCheck = Select(Locator.id("CSRFCheck")).findWhenNeeded(this);
protected final Select XFrameOption = Select(Locator.id("XFrameOption")).findWhenNeeded(this);
protected final Checkbox enableServerHttpHeader = Checkbox(Locator.id("includeServerHttpHeader")).findWhenNeeded(this);
}

Expand All @@ -281,17 +267,8 @@ public enum ReportingLevel
NONE, LOW, MEDIUM, HIGH
}

public enum CSRFCheck
{
POST, ADMINONLY
}

public enum XFrameOption
{
SAMEORIGIN, ALLOW
}

private static final int SECONDS_PER_DAY = 60*60*24;

public enum KeyExpirationOptions implements OptionSelect.SelectOption
{
UNLIMITED(-1),
Expand Down