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 AuthPolicyAuth.ANY_ANONAny user, whether authenticated or not.static AuthPolicyAuth.ANY_USERAny authenticated user.static AuthPolicyAuth.DENY_ALLNever allow.Methods in org.apache.jena.fuseki.auth that return AuthPolicyModifier and TypeMethodDescriptionstatic AuthPolicyAuthPolicyList.merge(AuthPolicy policy1, AuthPolicy policy2) MergeAuthPolicies, returning a combination of the two if both are non-null.static AuthPolicyAuth.policyAllowSpecific(String... allowedUsers) A policy that allows specific users (convenience wrapped forAuth.policyAllowSpecific(Collection)).static AuthPolicyAuth.policyAllowSpecific(Collection<String> allowedUsers) A policy that allows specific users.Methods in org.apache.jena.fuseki.auth with parameters of type AuthPolicyModifier and TypeMethodDescriptionvoidAuthPolicyList.add(AuthPolicy policy) static booleanAuth.allow(String user, AuthPolicy policy) Test whether a user (principal) is allowed by a authorization policy.static booleanAuth.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 AuthPolicyAuthPolicyList.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 AuthPolicyFusekiConfig.allowedUsers(org.apache.jena.graph.Graph graph, org.apache.jena.graph.Node resource) Get the allowed users on a resource.static AuthPolicyFusekiConfig.allowedUsers(org.apache.jena.rdf.model.Resource server) Deprecated. -
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 EndpointEndpoint.create(Operation operation, String endpointName, AuthPolicy requestAuth) Build an endpointDataService.Builder.setAuthPolicy(AuthPolicy authPolicy)