Uses of Class
org.gcube.informationsystem.resourceregistry.pep.PolicyEnforcementPoint.EndpointPolicySpec
Packages that use PolicyEnforcementPoint.EndpointPolicySpec
-
Uses of PolicyEnforcementPoint.EndpointPolicySpec in org.gcube.informationsystem.resourceregistry.pep
Methods in org.gcube.informationsystem.resourceregistry.pep with parameters of type PolicyEnforcementPoint.EndpointPolicySpecModifier and TypeMethodDescriptionprotected voidPolicyEnforcementPoint.enforceAllowedRoles(PolicyEnforcementPoint.EndpointPolicySpec policy) Enforces the Level 1 endpoint access rule: a caller holding none of the policy's roles (including a caller with no Resource Registry role at all) is rejected before any parsing, lookup, or token Context resolution.protected voidPolicyEnforcementPoint.enforcePolicy(PolicyEnforcementPoint.EndpointPolicySpec policy, UUID targetUuid, UUID parentUuid) Enforces the endpoint-level and context-level authorization rules specified by the given policy specification, and automatically validates query parameters.protected voidPolicyEnforcementPoint.enforcePrivilegedQueryParameters(PolicyEnforcementPoint.EndpointPolicySpec policy) Rejects with403 Forbiddenevery privilege-expanding value declared by the policy'sPolicyEnforcementPoint.QueryParamSpecs when the caller holds none of the entitled roles.