Code Monkey home page Code Monkey logo

ada-security's Introduction

Ada Security Library

Alire Build Status Test Status Coverage Documentation Status Download License GitLab Commits

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. It allows a web application to integrate easily with Yahoo!, Gitlab, Github, Facebook and Google+ authentication systems. The Ada05 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

Ada Security Overview

The Ada Security library is used by the Ada Web Application to provide authentication and access control to users within the web applications.

Version 1.5.1 - Under development

  • Cleanup build environment to drop configure

Version 1.5.0 - Jul 2023

  • Add Create function for API key grant types

List all versions

Build with Alire

alr with security

Build with configure

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. Because OAuth2 relies exclusively on HTTPS, you must use an AWS server that has the SSL support. Build it as follows:

   gprbuild -Psamples

Before launching the demo server, you must update the 'samples.properties' file and change the lines that contain PUT-HERE-YOUR-FACEBOOK-xxx with your client ID and client secrets. This change is 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

ada-security's People

Contributors

dependabot[bot] avatar jquorning avatar persan avatar stcarrez avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ada-security's Issues

Doesn't compile from trunk

OS: Ubuntu 20.04
GNAT: 9.3.0

Output Starts here ----------------------------------------------------------------------

developer  ~  Downloads ada-security-master  ./config
config.guess config.status config.sub configure
 developer  ~ Downloads  ada-security-master  ./configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for gprbuild... gprbuild
checking for gprclean... gprclean
checking for gprinstall... gprinstall
checking whether make sets $(MAKE)... yes
checking whether ln -s works... yes
checking shared library support... no
checking default library type... static
checking distribution build... yes
checking coverage support... no
checking number of processors... 8
checking preparing for GNAT project security... done
checking for pandoc... no
checking for dynamo... no
checking Ada Utility Library... yes
configure: creating ./config.status
config.status: creating Makefile.conf
config.status: creating security.gpr
config.status: creating security_tests.gpr
config.status: creating samples.gpr
 developer  ~  Downloads ada-security-master  make
gprbuild -m -q -p -Psecurity.gpr -XBUILD=distrib -XPROCESSORS=8 -XSECURITY_LIBRARY_TYPE=static
utilada_xml.gpr:7:17: a project with no sources cannot be a library project
gprbuild: "security.gpr" processing failed
make: *** [Makefile:53: static] Error 4

Output Ends here -----------------------------------------------------------------------

Any advice?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.