Uses of Interface
org.apache.jena.fuseki.auth.AuthPolicy
Package
Description
-
Uses of AuthPolicy in org.apache.jena.fuseki.auth
Modifier 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.Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionstatic AuthPolicy
FusekiConfig.allowedUsers
(org.apache.jena.rdf.model.Resource resource) Get the allowed users on a resource. -
Uses of AuthPolicy in org.apache.jena.fuseki.server
Modifier and TypeMethodDescriptionDataService.authPolicy()
Returning null implies no authorization controlEndpoint.Builder.authPolicy()
Endpoint.getAuthPolicy()
Modifier 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)