Ada Security - OAuth 2.0 client and server framework to secure web applications
Ada Makefile Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
debian
distrib
regtests
samples
src
uml
.gitignore
LICENSE.txt
Makefile.in
NEWS
NOTICE.txt
README.md
aclocal.m4
config.gpr
config.guess
config.sub
configure
configure.in
install-sh
samples.gpr
samples.properties
security.gpr.in
security_tests.gpr.in

README.md

Ada Security Library

Build Status Test Status Download License Commits

This Ada05 library provides some security frameworks needed by some Web applications. It allows a web application to integrate easily with Yahoo!, Facebook and Google+ authentication systems. The library includes:

  • An OpenID client authentication,
  • An OAuth 2.0 client authentication,
  • An OpenID Connect authentication framework,
  • An OAuth 2.0 server authentication framework,
  • A policy based security framework to protect the resources

To use Ada Security library, configure as follows:

   ./configure
   make

The unit tests are built and executed with:

   make test

For the installation, use the following command:

   make install

The package provides a simple AWS server that illustrates the OpenID and OpenConnect authentication. Build it as follows:

   gnatmake -Psamples

Before launching the demo server, you must update the 'samples.properties' file and change the lines that contain PUT-HERE-YOUR-FACEBOOK-xxx and PUT-HERE-GOOGLE-xxx with your client ID and client secrets. These two changes are required by the OAuth and OpenID Connect framework only. Then, run the server:

   bin/auth_demo

and redirect your browser to:

   http://localhost:8080/atlas/login.html

Documentation

The Ada Security sources as well as a wiki documentation is provided on:

Other Documentation

The OAuth literature is quite complete on the Internet and there are several good tutorials and documentation.

References