Package com.atlassian.bamboo.websudo
Class WebSudoIpAllowlistServiceImpl
java.lang.Object
com.atlassian.bamboo.websudo.WebSudoIpAllowlistServiceImpl
- All Implemented Interfaces:
WebSudoIpAllowlistService
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isIpAddressAllowlisted
(@Nullable javax.servlet.http.HttpServletRequest request)
-
Constructor Details
-
WebSudoIpAllowlistServiceImpl
-
-
Method Details
-
isIpAddressAllowlisted
public boolean isIpAddressAllowlisted(@Nullable @Nullable javax.servlet.http.HttpServletRequest request) - Specified by:
isIpAddressAllowlisted
in interfaceWebSudoIpAllowlistService
- 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.
-