Class ZoneTraitDescriptor.IpAddressPredicate
- java.lang.Object
-
- com.inductiveautomation.ignition.gateway.authentication.securityzones.ZoneTraitDescriptor.IpAddressPredicate
-
- All Implemented Interfaces:
com.google.common.base.Predicate<java.lang.Object>
,java.util.function.Predicate<java.lang.Object>
- Enclosing class:
- ZoneTraitDescriptor<T>
protected static class ZoneTraitDescriptor.IpAddressPredicate extends java.lang.Object implements com.google.common.base.Predicate<java.lang.Object>
Tests an input IP address against a comma-delimited pattern list. Wildcards are valid for address subnets, like so:a pattern of 10.20.5.*,10.22.*.* will return true for 10.20.5.200
You can also specify a range in an address subnet. This predicate will check each subnet in the input address, and return true only if all subnets are within the range in a pattern address. Example:
10.20.*.0-220,10.20.6.0-9 will return true for 10.20.5.200
-
-
Constructor Summary
Constructors Constructor Description IpAddressPredicate(java.lang.String pattern)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
apply(java.lang.Object input)
-