Skip to main content

John Yeary - JAX-RS Tip of the Day: Basic Authentication with JDBC

John Yeary demonstrates JAX-RS Tip of the Day: Basic Authentication with JDBC:

Unless you have a public API like a weather service, you will likely need some form of authentication, and authorization for your service. A tried and tested mechanism is to use JDBC Realm based authentication. In this example I will create a set of database tables on Apache Derby, set up the security realm on...