apache-fortress-demo
apache-fortress-demo copied to clipboard
Sample web app to demo end-to-end security w/ JavaEE, Spring Security and RBAC fine-grained authorization. All connections use SSL.
README for Apache Fortress Demo End-to-End Security Example
Security Layers in this Demo

Document Overview
This document is the starting point for the apache fortress demo web app. It provides directions to download the source package from github, and generate a java document that contains the actual installation instructions.
(NEW) Instructions for installing automatically with Ansible:
- Ansible playbooks to perform steps to install and setup Apache Fortress Demo, including OpenLDAP, Apache Tomcat, MariaDB, generating certs, keys, etc.
- README.md
Prerequisites for target environment
- Debian or Redhat Liunx variant machine with OpenSSL installed.
- Java >= 11
- Apache Maven >= 3
- Apache Tomcat >= 8
- Firefox Web Browser
- Successful installation (of an LDAP server) and passing integration tests in either of these two Apache Fortress Core Quickstart guides:
- SECTION 3. Apache Fortress Core Integration Test in OPENLDAP QUICKSTART
- SECTION 4. Apache Fortress Core Integration Test in APACHEDS QUICKSTART
- OR -
- Run the slapd playbook: README.md
These instructions have been recently modified to use either openldap and apacheds LDAP servers. Be sure to choose the correct instructions, either Apache Directory SSL or OpenLDAP SSL.
Instructions for installing manually:
-
Extract the contents to your local machine.
-
cd apache-fortress-demo-master
-
Set java and maven home env variables.
-
Generate the java document that contains the demo installation instructions:
mvn javadoc:javadoc
- Perform these steps: