java.lang.Object
org.apache.jena.fuseki.auth.AuthPolicyList
- All Implemented Interfaces:
AuthPolicy
An
AuthPolicy
that combines a number of AuthPolicies
.
All policies must authorize access for this policy to allow access.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(AuthPolicy policy) boolean
Is the use authorized for this resource?static AuthPolicy
merge
(AuthPolicy policy1, AuthPolicy policy2) MergeAuthPolicies
, returning a combination of the two if both are non-null.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.jena.fuseki.auth.AuthPolicy
isDenied
-
Constructor Details
-
AuthPolicyList
public AuthPolicyList()
-
-
Method Details
-
merge
MergeAuthPolicies
, returning a combination of the two if both are non-null. If either is null, return the other. If both null, return null. -
add
-
isAllowed
Description copied from interface:AuthPolicy
Is the use authorized for this resource?- Specified by:
isAllowed
in interfaceAuthPolicy
-
toString
-