added interface for access control classes

Extracted an interface defining mandatory methods for access control.
Made the existing access control classes implement it.