Class DomainIsolationProtectionImpl
- java.lang.Object
-
- jetbrains.buildServer.web.security.impl.DomainIsolationProtectionImpl
-
- All Implemented Interfaces:
ReportTabsIsolationProtection,DomainIsolationProtection
public class DomainIsolationProtectionImpl extends Object implements DomainIsolationProtection
-
-
Field Summary
-
Fields inherited from interface jetbrains.buildServer.web.security.DomainIsolationProtection
ARTIFACTS_URL_PROPERTY, FEATURE_TOGGLE
-
-
Constructor Summary
Constructors Constructor Description DomainIsolationProtectionImpl(ServerSettings serverSettings, ExtensionHolder extensionHolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckRequestBlacklisted(javax.servlet.http.HttpServletRequest request)voidfillModel(Map<String,Object> model)Fill jsp model with values required for domain isolation protectionStringgetArtifactsUrl()booleanisArtifactsEmbeddingAllowed()Whether or not the report tab should be disabledbooleanisArtifactsOrigin(javax.servlet.http.HttpServletRequest request)booleanisAuthenticationForbidden()booleanisEnabled()booleanisRequestBlacklisted(javax.servlet.http.HttpServletRequest request)booleanisShowWarning()
-
-
-
Constructor Detail
-
DomainIsolationProtectionImpl
public DomainIsolationProtectionImpl(@NotNull ServerSettings serverSettings, @NotNull ExtensionHolder extensionHolder)
-
-
Method Detail
-
getArtifactsUrl
@Nullable public String getArtifactsUrl()
- Specified by:
getArtifactsUrlin interfaceDomainIsolationProtection
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceDomainIsolationProtection
-
isArtifactsEmbeddingAllowed
public boolean isArtifactsEmbeddingAllowed()
Description copied from interface:ReportTabsIsolationProtectionWhether or not the report tab should be disabled- Specified by:
isArtifactsEmbeddingAllowedin interfaceReportTabsIsolationProtection- Returns:
- true if tabs should be enabled
-
fillModel
public void fillModel(@NotNull Map<String,Object> model)Description copied from interface:ReportTabsIsolationProtectionFill jsp model with values required for domain isolation protection- Specified by:
fillModelin interfaceReportTabsIsolationProtection
-
isShowWarning
public boolean isShowWarning()
- Specified by:
isShowWarningin interfaceDomainIsolationProtection
-
isAuthenticationForbidden
public boolean isAuthenticationForbidden()
- Specified by:
isAuthenticationForbiddenin interfaceDomainIsolationProtection
-
checkRequestBlacklisted
public void checkRequestBlacklisted(@NotNull javax.servlet.http.HttpServletRequest request)- Specified by:
checkRequestBlacklistedin interfaceDomainIsolationProtection
-
isRequestBlacklisted
public boolean isRequestBlacklisted(@NotNull javax.servlet.http.HttpServletRequest request)- Specified by:
isRequestBlacklistedin interfaceDomainIsolationProtection
-
isArtifactsOrigin
public boolean isArtifactsOrigin(@NotNull javax.servlet.http.HttpServletRequest request)- Specified by:
isArtifactsOriginin interfaceDomainIsolationProtection
-
-