All Projects → italia → spid-ansible-shibboleth-example

italia / spid-ansible-shibboleth-example

Licence: MIT License
Service provider di base con autenticazione SPID

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to spid-ansible-shibboleth-example

ansible-aws-infra-services
Manage your AWS infrastructure and ECS tasks with two separate ansible playbooks
Stars: ✭ 23 (+9.52%)
Mutual labels:  playbook
multi-master-kubernetes
Multi-master Kubernetes cluster on Exoscale
Stars: ✭ 65 (+209.52%)
Mutual labels:  playbook
ansible-haproxy
Ansible HAproxy role for Unified OpenStack Installer and others.
Stars: ✭ 35 (+66.67%)
Mutual labels:  playbook
initial-webserver-setup
Ansible playbook for initial ubuntu 16.04 webserver setup and Laravel zero time deployment
Stars: ✭ 50 (+138.1%)
Mutual labels:  playbook
openvpn
Build your own private VPN server. OpenVPN, Scramblesuit and DNS up in less then 5 minutes
Stars: ✭ 78 (+271.43%)
Mutual labels:  playbook
ansible-role-dsvpn
Install and configure dsvpn on your system.
Stars: ✭ 18 (-14.29%)
Mutual labels:  playbook
easy-ansible
基于Ansible的自动部署平台-Automatical Deployment Platform Based on Ansible。
Stars: ✭ 41 (+95.24%)
Mutual labels:  playbook
ethereum-playbook
CLI tool that configures and deploys Ethereum DApp infrastructures using a static specification. 📚📖
Stars: ✭ 20 (-4.76%)
Mutual labels:  playbook
ansible-role-dns
Install and configure dns on your system.
Stars: ✭ 39 (+85.71%)
Mutual labels:  playbook
ansible-multienv-base
Template for ansible project allowing to manage multiple environments (e.g. staging, production) and harden new hosts
Stars: ✭ 39 (+85.71%)
Mutual labels:  playbook
ansible
Ansible playbooks to deploy a fullblown geOrchestra instance
Stars: ✭ 14 (-33.33%)
Mutual labels:  playbook
ansible-taskrunner
Ansible Taskrunner - ansible-playbook wrapper with YAML-abstracted python click cli options!
Stars: ✭ 14 (-33.33%)
Mutual labels:  playbook
passbolt ansible
A complete (set of) playbook(s) to selfhost passbolt.
Stars: ✭ 15 (-28.57%)
Mutual labels:  playbook
dotfiles
🔨 My dotfiles for setting up my Macs with Ansible
Stars: ✭ 31 (+47.62%)
Mutual labels:  playbook
showme
Rapid diagnostic system status tool (performance monitoring, network scanning, mysql performance monitoring, kubectl status)
Stars: ✭ 24 (+14.29%)
Mutual labels:  playbook
Playbook
The Nodes iOS team Playbook 📖
Stars: ✭ 18 (-14.29%)
Mutual labels:  playbook
ansible-avd
Ansible Arista Validated Design
Stars: ✭ 134 (+538.1%)
Mutual labels:  playbook
ansible-commands
This repository is used to understand how to use ansible commands.
Stars: ✭ 24 (+14.29%)
Mutual labels:  playbook
drupal-pi
Drupal on Docker on a Raspberry Pi. Pi Dramble's little brother.
Stars: ✭ 92 (+338.1%)
Mutual labels:  playbook
wormhole
A minimalistic Ansible-like tool for configuring remote servers via ssh
Stars: ✭ 22 (+4.76%)
Mutual labels:  playbook

Applicazione con autenticazione SPID

Questo playbook Ansible implementa un esempio di applicazione nodejs che serve i propri contenuti in HTTPS e permette di proteggere una parte dell'applicazione tramite autenticazione SPID.

Architettura

Layer architetturali

L'architettura è basata su container Docker ed implementa tre layer applicativi:

  • Layer HTTPS basato su NGINX e Letsencrypt
  • Layer autenticazione SPID basato su NGINX (Openresty) e Shibboleth
  • Layer applicativo (in questo esempio Nodejs ed Express)

Il layer applicativo, essendo un backend del layer di autenticazione, può essere implementato con qualsiasi tecnologia o framework e può anche risiedere su un host diverso da quello su cui risiedono i layer HTTPS e di autenticazione.

Autenticazione

Il layer di autenticazione passa le informazioni di autenticazione al layer applicativo attraverso un set di header HTTP, presenti nel caso la sessione sia stata autenticata.

La gestione delle sessioni di autenticazione è delegata a Shibboleth e nell'esempio attuale é basata sullo StorageService di default che mantiene la cache delle sessioni in memoria. Questo comporta la perdita delle sessioni di autenticazione in caso di riavvio del container Shibboleth.

Modificando la configurazione di default è possibile implementare uno storage persistente tramite database ODBC o Memcache.

Configurazione

Per la configurazione si faccia riferimento dal playbook site.yml.

Esecuzione del playbook

$ ansible-playbook -i "$SERVER_HOST," site.yml

Dove $SERVER_HOST è l'host (raggiungibile via SSH) su cui eseguire il processo di configurazione.

Nota: attualmente il playbook assume che l'host utilizzi apt come sistema di gestione dei pacchetti.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].