Uses of Interface
org.apache.jena.fuseki.auth.AuthPolicy
Packages that use AuthPolicy
Package
Description
-
Uses of AuthPolicy in org.apache.jena.fuseki.auth
Classes in org.apache.jena.fuseki.auth that implement AuthPolicyFields in org.apache.jena.fuseki.auth declared as AuthPolicyModifier and TypeFieldDescriptionstatic AuthPolicy
Auth.ANY_ANON
Any user, whether authenticated or not.static AuthPolicy
Auth.ANY_USER
Any authenticated user.static AuthPolicy
Auth.DENY_ALL
Never allow.Methods in org.apache.jena.fuseki.auth that return AuthPolicyModifier and TypeMethodDescriptionstatic AuthPolicy
AuthPolicyList.merge
(AuthPolicy policy1, AuthPolicy policy2) MergeAuthPolicies
, returning a combination of the two if both are non-null.static AuthPolicy
Auth.policyAllowSpecific
(String... allowedUsers) A policy that allows specific users (convenience wrapped forAuth.policyAllowSpecific(Collection)
).static AuthPolicy
Auth.policyAllowSpecific
(Collection<String> allowedUsers) A policy that allows specific users.Methods in org.apache.jena.fuseki.auth with parameters of type AuthPolicyModifier and TypeMethodDescriptionvoid
AuthPolicyList.add
(AuthPolicy policy) static boolean
Auth.allow
(String user, AuthPolicy policy) Test whether a user (principal) is allowed by a authorization policy.static boolean
Auth.allow
(String user, AuthPolicy policy, Runnable notAllowed) Test whether a user (principal) is allowed by a authorization policy and perform an action if the policy does not allow the user.static AuthPolicy
AuthPolicyList.merge
(AuthPolicy policy1, AuthPolicy policy2) MergeAuthPolicies
, returning a combination of the two if both are non-null. -
Uses of AuthPolicy in org.apache.jena.fuseki.build
Methods in org.apache.jena.fuseki.build that return AuthPolicyModifier and TypeMethodDescriptionstatic AuthPolicy
FusekiConfig.allowedUsers
(Resource resource) Get the allowed users on a resource. -
Uses of AuthPolicy in org.apache.jena.fuseki.server
Methods in org.apache.jena.fuseki.server that return AuthPolicyModifier and TypeMethodDescriptionDataService.authPolicy()
Returning null implies no authorization controlEndpoint.Builder.authPolicy()
Endpoint.getAuthPolicy()
Methods in org.apache.jena.fuseki.server with parameters of type AuthPolicyModifier and TypeMethodDescriptionDataService.Builder.addEndpoint
(Operation operation, String endpointName, AuthPolicy authPolicy) DataService.Builder.addEndpoint
(Operation operation, AuthPolicy authPolicy) Endpoint.Builder.authPolicy
(AuthPolicy authPolicy) static Endpoint
Endpoint.create
(Operation operation, String endpointName, AuthPolicy requestAuth) Build an endpointDataService.Builder.setAuthPolicy
(AuthPolicy authPolicy)