As we know, In SpringDataRest, the Repository files are only used (not controllers) and we can use build-in methods for It.
My repository code is:
public interface StudentRepository extends JpaRepository<Student, Integer> {
}
I don't want to add custom methods and add my request processing logic there. I want some configuration or events overriding where i can process the HttpRequest handler, parse the token and check some data in token and based on that token i'll decide to either process that request or discard it with some error.
Thanks.