Class WebSudoIPAllowListManager

java.lang.Object
com.atlassian.jira.web.component.admin.websudo.WebSudoIPAllowListManager
All Implemented Interfaces:
InitializingComponent

public class WebSudoIPAllowListManager extends Object implements InitializingComponent
This class is used to check if the user's IP address is in the allowlist when user is trying to login for websudo. It uses Atlassian IP for matching the IP address.

Supports matching against IPv4 and IPv6 addresses, and subnets in both wildcard (IPv4 only) and CIDR notation. Examples of valid patterns:

 192.168.1.1
 192.168.1.0/24
 192.168.1.*
 0:0:0:1::1
 0:0:0:1::/64
 
Since:
9.15