Apache Shiro Spring-Boot Example This example can be run using the Apache Maven command: mvn spring-boot:run Then browse or use cURL to: http://localhost:8080/troopers curl --user emperor:secret http://localhost:8080/troopers