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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(AuthPolicy policy) booleanIs the use authorized for this resource?static AuthPolicymerge(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, waitMethods 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:AuthPolicyIs the use authorized for this resource?- Specified by:
isAllowedin interfaceAuthPolicy
-
toString
-