Package io.jmix.security.impl.constraint
Class GraphQLOperationConstraintImpl
java.lang.Object
io.jmix.security.impl.constraint.GraphQLOperationConstraintImpl
- All Implemented Interfaces:
AccessConstraint<GraphQLOperationAccessContext>
,GraphQLOperationConstraint<GraphQLOperationAccessContext>
@Component("sec_GraphQLOperationConstraintImpl")
@Scope("prototype")
public class GraphQLOperationConstraintImpl
extends Object
implements GraphQLOperationConstraint<GraphQLOperationAccessContext>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
applyTo
(GraphQLOperationAccessContext context) Applies the constraint to the given access context.Returns the access constraint type.void
setPolicyStore
(PolicyStore policyStore) void
setSecureOperations
(SecureOperations secureOperations)
-
Field Details
-
PERMANENTLY_ALLOWED_OPERATIONS
-
secureOperations
-
policyStore
-
-
Constructor Details
-
GraphQLOperationConstraintImpl
public GraphQLOperationConstraintImpl()
-
-
Method Details
-
setSecureOperations
-
setPolicyStore
-
getContextType
Description copied from interface:AccessConstraint
Returns the access constraint type.- Specified by:
getContextType
in interfaceAccessConstraint<GraphQLOperationAccessContext>
-
applyTo
Description copied from interface:AccessConstraint
Applies the constraint to the given access context.- Specified by:
applyTo
in interfaceAccessConstraint<GraphQLOperationAccessContext>
-