...
Code Block | ||
---|---|---|
| ||
<bean id="MyCondition" class="org.opensaml.profile.logic.IPRangePredicate" p:httpServletRequest-ref="shibboleth.HttpServletRequest" p:ranges="#{ '192.168.1.0/24', '192.168.2.0/28' }" /> |
See this link for more details
Attribute Checking
Some components may need to check for the presence (or absence) of a particular attribute or value for a user. A basic condition is provided for this purpose, or may be a useful code example to follow to implement something more complex.
...