@Internal
public interface InternalWhitelistManager
WhitelistManager
living in a plugin from
the delegation placeholder in JIRA core.Modifier and Type | Method and Description |
---|---|
List<String> |
getRules()
Returns a list of rules that are currently allowed in the whitelist.
|
boolean |
isAllowed(URI uri)
Checks if requests to the provided URI are allowed according to the current whitelist configuration
|
boolean |
isDisabled() |
List<String> |
updateRules(List<String> rules,
boolean disabled)
Used to update the whitelist configuration.
|
List<String> getRules()
List<String> updateRules(List<String> rules, boolean disabled)
The method then returns the peristed rules
rules
- List of rules to persistdisabled
- True if the whitelist should be switched offboolean isAllowed(URI uri)
uri
- The uri a http request is made toboolean isDisabled()
Copyright © 2002-2018 Atlassian. All Rights Reserved.