There are two independent web applications. The first web application: on Spring-boot, with authorization through spring-security, with its own business logic. And the second web application: based on Spring (Spring MVC), without authorization, with its own business logic.
Task: to embed the second application into the first, so that the second is displayed on one of the pages of the first (in an iframe, for example), so that the second app is not available without authorization in the first app. Ideally, connect the second application in the form of war / jar or dependency.
Is it possible to do this? If so, how to do this, or at least where should I look?