My project is already using basic spring secuity auth. I am integrating another system into my project, and in order for it to make requests to the necessary URLs, this system needs to be authorized in mine. But in the system that needs to be integrated, authentication is set by a token, which I can verify on my side. How can I validate or verify this token and then authenticate such a request without breaking the existing username and password authentication? After the authorization, I will give the role to this user so that he can make a request to the desired endpoint. Thanks in advance for your reply and any suggestions.