Skip to content
Stephane Carrez edited this page May 25, 2015 · 7 revisions

Ada Security provides a security framework which allows applications to define and enforce security policies. This framework allows users to authenticate by using OpenID Authentication 2.0 as well as OAuth 2.0 protocol.

  • A security policy manager defines and implements the set of security rules that specify how to protect the system or the resources.
  • A user is authenticated in the application. Authentication can be based on OpenID, OAuth or another system.
  • A security context holds the contextual information that allows the security policy manager to verify that the user is allowed to access the protected resource according to the policy rules.

The Ada Security framework is used in Ada Web Application and Ada Server Faces for the protection of web pages.

The framework uses the Ada Utility Library.

It provides a simple web authentication demo on top of Ada Web Server.

NEWS

Version 1.1.1 - Jul 2014

  • Fix minor configuration issue with GNAT 2014

Version 1.1 - Mar 2014

  • New authentication framework that supports OpenID, OpenID Connect, OAuth, Facebook login
  • AWS demo for a Google, Yahoo!, Facebook, Google+ authentication
  • Support to extract JSON Web Token (JWT)
  • Support for the creation of Debian packages

Version 1.0 - Jan 2013

  • OpenID implementation based on Ada Server Faces
  • OAuth 2.0 client implementation
  • Security policy core implementation

Documentation

Security

Security_Policies

Security_Auth

Security_OAuth

Build

Build with the following commands:

   ./configure
   make

The unit tests are built and executed by the following command:

   make test

The AWS demo can be built by using:

   gnatmake -Psamples

Installation

The installation on Ubuntu or Debian-based system is possible by using the install target:

   sudo make install