-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove obsolete infor from administrator manual
- Loading branch information
Martijn Dirkse
committed
Oct 25, 2024
1 parent
1551d6f
commit f3fff5a
Showing
15 changed files
with
75 additions
and
49 deletions.
There are no files selected for viewing
4 changes: 0 additions & 4 deletions
4
docs/source/advancedDevelopment/authorization/authorization.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
docs/source/advancedDevelopment/authorization/authorizationMethodsAndRoles.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
docs/source/advancedDevelopment/authorization/consoleAndLadybug.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
docs/source/advancedDevelopment/authorization/httpInterfaces.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
docs/source/advancedDevelopment/authorization/internalNetwork.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 4 additions & 2 deletions
6
docs/source/deploying/IdentityProviders/MicrosoftEntraId/microsoftEntraId.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,12 @@ | ||
.. _deploymentDtapAndProperties: | ||
.. _deploymentDtapAndInstance: | ||
|
||
The DTAP stage and setting properties | ||
------------------------------------- | ||
The instance name and the DTAP stage | ||
==================================== | ||
|
||
In the previous sections :ref:`deploymentTomcat4Frank` and :ref:`deploymentTomcat`, you learned how to get the Frank!Framework running. This section and the next are about fine-tuning the Frank!Framework. The details of your application server are not so important anymore; you can read this section without understanding the previous. | ||
This section describes two basic properties you have to set as a system administrator: ``instance.name`` and ``dtap.stage``. Property ``instance.name`` is a name for the set of configurations that is hosted on a single server or on a group of servers running in parallel. The Frank!Framework uses this name in many ways, so it is important that you provide it. | ||
|
||
As a system administrator, you should understand the life cycle of a Frank config. During this life cycle, a Frank is deployed on different instances of the Frank!Framework. During its development, the config lives on the development environment (D). When the developers consider releasing, they bring their work to another instance of the Frank!Framework, the test environment (T). When the tests are successful, the Frank config is released to the customer. The customer should do acceptance tests on a dedicate Frank!Framework instance (A). Only after acceptance testing succeeds, the work should go to production (P). These four letters form the famous DTAP acronym. The Frank!Framework uses an extra (fifth) stage: the letter, L, the local development computer of a single developer. | ||
Property ``dtap.stage`` is about the life cycle of a Frank config. During this life cycle, a Frank is typically deployed on different servers (or server groups). During its development, the config lives on the development environment (D). When the developers consider releasing, they bring their work to another environment, the test environment (T). When the tests are successful, the Frank config is released to the customer. The customer should do acceptance tests on a dedicate environment (A). Only after acceptance testing succeeds, the work should go to production (P). These four letters form the famous DTAP acronym. The Frank!Framework uses an extra (fifth) stage: ``LOC``, the local development computer of a single developer. Please note that ``instance.name`` is usually the same for each DTAP stage. | ||
|
||
As a system administrator, you have to set the DTAP stage by setting the system property ``dtap.stage``. You already did this in section :ref:`deploymentTomcat`. The allowed values are ``LOC``, ``DEV``, ``TST``, ``ACC`` and ``PRD``. If you use the Frank!Runner, you get DTAP stage "LOC" by default. | ||
As a system administrator, you have to set the DTAP stage by setting the system property ``dtap.stage``. The allowed values are ``LOC``, ``DEV``, ``TST``, ``ACC`` and ``PRD``. | ||
|
||
Remember that there are two methods to set system properties when you are using Apache Tomcat: | ||
|
||
#. You can set Java properties with the command line that starts Apache Tomcat or the Frank!Runner. You use command-line arguments like ``-D<property-name>=<value>``, for example ``-Ddtap.stage=ACC``. If you have spaces in your value, add quotes. | ||
#. You can add properties to the text file ``<tomcat root>/conf/catalina.properties``. | ||
|
||
There are many more properties than "dtap.stage" that have impact on the Frank!Framework, but you do not have to know much about them. Frank!Developers are responsible for setting them. They can configure different properties for different DTAP stages, allowing them to do a lot of fine-tuning for you already. Occasionally, a Frank developer may ask you to set a property when you are cooperating to fix an issue. The Frank developer should understand the impact in this case. | ||
Frank developers can make their application dependent on the DTAP stage. This may help you to configure different databases and different queues for each DTAP stage. Please contact the developer of the Frank application for more information. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.. _deployingRequiringAuthorization: | ||
|
||
Requiring authorization | ||
======================= | ||
|
||
If you work with a Docker image, authorization should have been cared for. Otherwise you may need the information in :ref:`advancedDevelopmentAuthorization`. That section explains authorization to Frank developers. | ||
|
||
.. WARNING:: | ||
|
||
Application servers provide mechanisms outside the Frank!Framework to require authorization. The Frank!Framework has been developed to run on multiple brands of application servers. Therefore the Frank!Framework has its own mechanisms. It is recommended to use these and it is deprecated to use the authorization options of the applciation server. | ||
|
||
This section assumes that authorization has been set up for you. Frank developers can choose the used authorization mechanism. The subsections below explain for each mechanism how you should configure users, passwords and roles. | ||
|
||
YAML authorization | ||
------------------ | ||
|
||
This mechanism expects that users, passwords and roles are in a YAML file that you provide. If you use a Docker image derived from the Frank!Framework on Tomcat Docker image, then the file is expected at ``opt/frank/resources/localUsers.yml``. Here is an example: | ||
|
||
.. code-block:: none | ||
users: | ||
- username: joe | ||
password: myPassword | ||
roles: IbisWebService,IbisObserver | ||
This file says that user ``joe`` has the roles ``IbisWebService`` and ``IbisObserver``. The roles known by the Frank!Framework are listed in the next section :ref:`deploymentOverviewSecurityRoles`. When there are multiple roles they have to be separated by a comma. | ||
|
||
Active Directory | ||
---------------- | ||
|
||
With this authorization mechanism, you are responsible for configuring users, password and Active Directory roles. The Frank!Framework needs a role mapping file, a file that translates Active Directory roles to the Frank!Framework roles. Here is an example: | ||
|
||
.. code-block:: none | ||
IbisTester=xxx,yyy | ||
IbisAdmin=zzz | ||
This example assumes that ``xxx``, ``yyy`` and ``zzz`` are LDAP roles. To the left of the ``=`` sign is the Frank!Framework role corresponding to the Active Directory roles. | ||
|
||
.. NOTE:: | ||
|
||
Information about the other authorization mechanisms supported by the Frank!Framework is not available yet. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters