Class QueryEnforceAuthorizationSubscriptionService
java.lang.Object
io.sapl.springdatacommon.services.QueryEnforceAuthorizationSubscriptionService
This service is responsible for processing the
QueryEnforce
annotation.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.sapl.api.pdp.AuthorizationSubscriptiongetAuthorizationSubscription(org.aopalliance.intercept.MethodInvocation methodInvocation, QueryEnforce enforceAnnotation) The entry method checks whether anQueryEnforceannotation exists at all and builds anAuthorizationSubscriptionaccordingly from the information obtained.
-
Constructor Details
-
QueryEnforceAuthorizationSubscriptionService
public QueryEnforceAuthorizationSubscriptionService()
-
-
Method Details
-
getAuthorizationSubscription
public io.sapl.api.pdp.AuthorizationSubscription getAuthorizationSubscription(org.aopalliance.intercept.MethodInvocation methodInvocation, QueryEnforce enforceAnnotation) The entry method checks whether anQueryEnforceannotation exists at all and builds anAuthorizationSubscriptionaccordingly from the information obtained.- Parameters:
methodInvocation- from the interfaceMethodInterceptor- Returns:
- the found AuthorizationSubscription.
-