Class WebSudoIpAllowlistServiceImpl

java.lang.Object
com.atlassian.bamboo.websudo.WebSudoIpAllowlistServiceImpl
All Implemented Interfaces:
WebSudoIpAllowlistService

public class WebSudoIpAllowlistServiceImpl extends Object implements WebSudoIpAllowlistService
  • Constructor Details

    • WebSudoIpAllowlistServiceImpl

      public WebSudoIpAllowlistServiceImpl(BootstrapManager bootstrapManager)
  • Method Details

    • isIpAddressAllowlisted

      public boolean isIpAddressAllowlisted(@Nullable @Nullable javax.servlet.http.HttpServletRequest request)
      Specified by:
      isIpAddressAllowlisted in interface WebSudoIpAllowlistService
      Parameters:
      request - the request from which the remote address will be extracted.
      Returns:
      true if the remote address of the client is on the allowlist (or IP based filtering is disabled), otherwise false.