public final class AccessDisablingHelperConfig extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AccessDisablingHelperConfig.EndpointDisablingConfigBuilder |
Modifier and Type | Method and Description |
---|---|
static AccessDisablingHelperConfig.EndpointDisablingConfigBuilder |
builder() |
Predicate<ApplicationUser> |
getAdditionalCondition()
A condition which has to be evaluated to true to enable access to endpoint.
|
String |
getBlockAccessSince()
Jira version for which feature flag will switch from opt-in to opt-out.
|
String |
getFeatureFlag()
name of feature flag used to disabled/enable restrictions
|
String |
getLogDeprecatedSince()
Jira version for which helper will print debug log about deprecation of feature flag
|
GlobalPermissionKey |
getPermissionKey()
GlobalPermissionKey which is necessary to access endpoint. |
boolean |
isBlockAnonymous()
If set to true blocks access for anonymous users.
|
public static AccessDisablingHelperConfig.EndpointDisablingConfigBuilder builder()
public String getFeatureFlag()
public String getBlockAccessSince()
public String getLogDeprecatedSince()
public boolean isBlockAnonymous()
public GlobalPermissionKey getPermissionKey()
GlobalPermissionKey
which is necessary to access endpoint. Users without this
permission don't have access to protected endpoint.
if set to null then check is disabled.public Predicate<ApplicationUser> getAdditionalCondition()
Copyright © 2002-2022 Atlassian. All Rights Reserved.