public class CIDROperations extends Object
#val = @com.pingidentity.sdk.CIDROperations@isInRange(#this.get("context.ClientIp"),"fe80::74da:14b:76d1:eba3/128")
Constructor and Description |
---|
CIDROperations() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isInRange(String ipAddress,
String cidr)
Determines if the given IP address is within the specified CIDR range.
|
public static boolean isInRange(String ipAddress, String cidr) throws UnknownHostException
ipAddress
- The IP address to compare against the CIDR range.cidr
- The CIDR range.UnknownHostException
Copyright 2019 Ping Identity Corp. All rights reserved.