Spring Cloud
Under the Spring Cloud microservice system, general authentication occurs at the gateway. Please refer to casdoor-springcloud-gateway-example.
If you want to use Casdoor in a single service, you can refer to casdoor-spring-boot-example.
No matter in the gateway layer or in the single service, both use casdoor-spring-boot-starter.
What's more
You can explore the following projects/docs to learn more about the integration of Java with Casdoor.