public final class PolicyIntersector extends Object
| Modifier and Type | Method and Description |
|---|---|
static PolicyIntersector |
createLaxPolicyIntersector()
Returns a strict policy intersector that can be used to intersect group of policies.
|
static PolicyIntersector |
createStrictPolicyIntersector()
Returns a strict policy intersector that can be used to intersect group of policies.
|
Policy |
intersect(Policy... policies)
Performs intersection on the input collection of policies and returns the resulting (intersected) policy.
|
public static PolicyIntersector createStrictPolicyIntersector()
public static PolicyIntersector createLaxPolicyIntersector()
public Policy intersect(Policy... policies)
policies - collection of policies to be intersected. Must not be null nor empty, otherwise exception is thrown.null value is never returned.IllegalArgumentException - in case policies argument is either null or empty collection.Copyright © 2006–2017 Oracle Corporation. All rights reserved.