| java.lang.Object | |
| ↳ | com.atlassian.jira.bc.whitelist.DefaultWhitelistManager |
Default implementation that delegates to the WhitelistManager in jira-gadgets-plugin
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list of rules that are currently allowed in the whitelist.
| |||||||||||
Checks if requests to the provided URI are allowed according to the current whitelist configuration
| |||||||||||
Returns true if the whitelist is currently disabled (meaning all requests are allowed).
| |||||||||||
Used to update the whitelist configuration.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||
From interface
com.atlassian.jira.bc.whitelist.WhitelistManager
| |||||||||||||||||||
Returns a list of rules that are currently allowed in the whitelist. The list will contain entries like:
Checks if requests to the provided URI are allowed according to the current whitelist configuration
| uri | The uri a http request is made to |
|---|
Returns true if the whitelist is currently disabled (meaning all requests are allowed).
Used to update the whitelist configuration. Takes a list of rules as well as a boolean flag that allows switching the whitelist off completely.
The method then returns the peristed rules
| newRules | List of rules to persist |
|---|---|
| disabled | True if the whitelist should be switched off |

