The video Explaining Aveksa Security Entitlements (SecurityContext.csv file) would be a good one to watch before this one.
This video explains how custom aveksa entitlements can be created using below examples.
Example1 : Define an entitlement that when granted to user will allow the user to see all the users in a particular department.
Example2: Define an entitlement that will automatically let a user set on a application's custom user attribute to view those apps. If a user User1 is set for user custom attribute on App1 and App2, he would automatically see App1 and App2 on his login with the definition of this entitlement.