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