GithubHelp home page GithubHelp logo

neuralnoise / directory-fortress-realm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apache/directory-fortress-realm

0.0 2.0 0.0 719 KB

Mirror of Apache Directory Fortress Realm

License: Apache License 2.0

Java 91.68% HTML 6.43% CSS 1.89%

directory-fortress-realm's Introduction

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

README for Apache Fortress Realm

  • Version 2.0.3

Table of Contents

  • Document Overview
  • Tips for first-time users.
  • SECTION 1. Prerequisites.
  • SECTION 2. Download & Install.
  • SECTION 3. Instructions for Application Usage

Document Overview

This document contains instructions to download and install the Apache Fortress Realm. SECTION 3 contains steps to get it working with Apache Tomcat.


Tips for first-time users


SECTION 1. Prerequisites

Minimum hardware requirements:

  • 2 Cores
  • 4GB RAM

Minimum software requirements:

  • Java SDK 8
  • git
  • Apache Maven3++
  • Apache Fortress Core Download & Install in FORTRESS_CORE_HOME package README.md.

Everything else covered in steps that follow. Tested on Debian, Centos & Windows machines.


SECTION 2. Download & Install

  1. Build the source.

a. from git:

git clone --branch 2.0.3 https://gitbox.apache.org/repos/asf/directory-fortress-realm.git
cd directory-fortress-realm
mvn clean install

b. or download package:

wget http://www.apache.org/dist/directory/fortress/dist/2.0.3/fortress-realm-2.0.3-source-release.zip
unzip fortress-realm-2.0.3-source-release.zip
cd fortress-realm-2.0.3
mvn clean install
  1. Now build the javadoc:
mvn javadoc:javadoc

If using java 8, add this param to the pom.xml:

<plugin>
   ...
   <artifactId>maven-javadoc-plugin</artifactId>
   <configuration>
       <additionalparam>-Xdoclint:none</additionalparam>
       ...
   </configuration>
</plugin>
  1. View the generated document here: ./target/site/apidocs/overview-summary.html.

SECTION 3. Instructions for Application Usage

There are two options for web app usage of the fortress realm:

  • Option 1 requires web apps to be dependent on the fortress realm libs but enables usage of the fortress RBAC programmatic authZ apis. It allows multiple realms, each of a different type and version, to be enabled within a single Tomcat instance.

  • Option 2 frees the web app from entanglement with fortress libs, which is easier to manage, but doesn't allow fortress api usage. It limits to a single realm instance, enabled globally, which might not agree with multitenant requirements.

Table of Options

Realm Type Is Global Security? Is Declarative? Is RBAC APIs? Multiple Realms Supported? Fortress Dependencies?
Option 1 No Yes Yes Yes Yes
Option 2 Yes Yes No No No

Option 1. For Single Web Context

enable Java EE security for a single web app running under Tomcat

Apache Fortress Realm System Architecture


Option 2. For Global Security

enable Java EE security for all web apps running under Tomcat

Apache Fortress Realm Host System Architecture


END OF README

directory-fortress-realm's People

Contributors

shawnmckinney avatar smckinn avatar elecharny avatar seelmann avatar coheigea avatar

Watchers

James Cloos avatar Starbuck avatar

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.