You can define a custom access intent policy, which can be configured for 2.x entity beans.
Steps for this task
What to do next
Applying access intent policies to entity beans.Related information
Access intent assembly settings
Access intent policies
Access intent service