Implement annotation based security constraints