Skip to content

castle/castle-java-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Castle Java Example

CircleCI

This is an example of integrating Castle with a standard Java web application.

Prerequisites

  • Maven
  • Java 7+

Running the code

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:

http://localhost:8080/

About

Tomcat server using Castle Java library

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages