WhitelistService
and
OutboundWhitelist
. Since v6.1.@PublicApi @Deprecated public interface WhitelistManager
Modifier and Type | Method and Description |
---|---|
List<String> |
getRules()
Deprecated.
Replaced by
WhitelistService.getAll() . Since v6.1. |
boolean |
isAllowed(URI uri)
Deprecated.
Replaced by
Whitelist.isAllowed(java.net.URI) . Since v6.1. |
boolean |
isDisabled()
Deprecated.
Replaced by
WhitelistService.isWhitelistEnabled() . Since v6.1. |
List<String> |
updateRules(List<String> rules,
boolean disabled)
Deprecated.
Replaced by
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule) ,
WhitelistService.remove(int) ,
WhitelistService.disableWhitelist() and
WhitelistService.enableWhitelist() . Since v6.1. |
@Deprecated List<String> getRules()
WhitelistService.getAll()
. Since v6.1.@Deprecated List<String> updateRules(List<String> rules, boolean disabled)
WhitelistService.add(com.atlassian.plugins.whitelist.WhitelistRule)
,
WhitelistService.remove(int)
,
WhitelistService.disableWhitelist()
and
WhitelistService.enableWhitelist()
. Since v6.1.The method then returns the peristed rules
rules
- List of rules to persistdisabled
- True if the whitelist should be switched off@Deprecated boolean isAllowed(URI uri)
Whitelist.isAllowed(java.net.URI)
. Since v6.1.uri
- The uri a http request is made to@Deprecated boolean isDisabled()
WhitelistService.isWhitelistEnabled()
. Since v6.1.Copyright © 2002-2019 Atlassian. All Rights Reserved.