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