Controlling the access of method
<p>Is there a way to write a Web program when you would deliberately specify which classes are allowed to invoke  this or that method? I am writing Web app in Java and using Spring Web MVC. If it is possible please tell me about the methods or technologies being used for that.
Best regards</p>
