This is an example of integrating Castle with a standard Java web application.
- Maven
- Java 7+
Set environment variables CASTLE_SDK_API_SECRET
and CASTLE_SDK_APP_ID
.
export CASTLE_SDK_API_SECRET=....
export CASTLE_SDK_APP_ID=...
Run the web server with:
$ mvn jetty:run
Navigate to: