Interface OutboundWhitelist

All Superinterfaces:
Whitelist

@PublicApi public interface OutboundWhitelist extends Whitelist
Check if outgoing access to a given uri is allowed or not.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowed(URI uri, com.atlassian.sal.api.user.UserKey userKey)
    Checks if requests to the provided URI are allowed according to the current whitelist configuration, including rules that inspect auth status.

    Methods inherited from interface com.atlassian.plugins.whitelist.Whitelist

    isAllowed
  • Method Details

    • isAllowed

      boolean isAllowed(URI uri, com.atlassian.sal.api.user.UserKey userKey)
      Checks if requests to the provided URI are allowed according to the current whitelist configuration, including rules that inspect auth status.
      Parameters:
      uri - the uri to which an http request is made
      userKey - the userKey of the user to check for auth-required rules.
      Returns:
      true if requests are allowed, false otherwise