CAS-1296: Refactor the filtering policy based on 3 cases: all, allowed or mapped.
CAS-1296: Added logic for a registered service to invoke the policy
CAS-1296: Added sample configuration for attribute retrieval.