title: Is there a way to conditionally apply annotations?
body: <p>In my java-play application I have the annotation <code>@RequiresAuthentication(clientName = "CasClient")</code> inside my controller. </p>
  
  <p>I only want to authenticate users in my production environment. </p>
  
  <p>How can I apply annotations conditionally? </p>
  
  <p>If the way I'm approaching authentication is wrong, what is the conventional way of doing CAS authentication only on production in a java play application?</p>