Automatische Authenticator-Konfiguration für die Serviceware Plattform

Wie Sie Serviceware Authenticator automatisch konfigurieren, erfahren Sie im folgenden Abschnitt.

Um Serviceware Authenticator automatisch zu konfigurieren, müssen die folgenden Parameter in das Konfigurations-Script geschrieben werden:
Installdir
execution_type
auth_admin_use
auth_admin_pwd
mssql_server
mssql_instance
mssql_port
mssql_auth_db_name
mssql_authentication_type
mssql_user
mssql_pwd
windows_user
windows_pwd
Wenn das Passwort nicht als Parameter weitergegeben wird, wird es im Verlauf der Konfiguration erstellt.
auth_service_user
[Optional]
auth_service_pwd
Wenn das Passwort nicht als Parameter weitergegeben wird, wird es im Verlauf der Konfiguration erstellt.
customer_name
server_name
financial_client_secret
optional
processes_service_portfolio_m2m_client_secret
optional
portal_m2m_client_secret
optional
service_portfolio_client_secret
optional
server_name_sp
optional
server_name_financial
optional
server_name_notifications
optional
server_name_portal
optional
server_name_processes
optional
server_name_knowledge
optional
server_name_usermanagement
optional
Generate_all_passwords
optional
Default = false

Beispiel:

cd $env:SW_HOME\Common\Config 
.\configure_authenticator 
-execution_type "script" -installdir "C://serviceware" -auth_admin_user "admin" 
-auth_admin_pwd "password" -mssql_server "um-sql2019-01.hl-test.local" 
-mssql_instance "INS1" -mssql_port "1433" -mssql_auth_db_name "auth17_db" 
-mssql_authentication_type "WINDOWS" -windows_user "hl-test\john.doe" 
-windows_pwd "password" -customer_name "moria" -server_name "moria.server" 
-financial_client_secret "REmdYJAB-9D5T-HrIB-hkWa-vsvHpefDwLEk" 
-processes_service_portfolio_m2m_client_secret "blCMk4r3-NYeg-8mtW-4gVs-t4hi86Kp4rOO" 
-portal_m2m_client_secret "tUvcC1s1-ApbJ-B94Z-ghar-CPGyJnSIG9Da" 
-service_portfolio_client_secret "2cAjnugg-YYP6-K3SD-rfi8-1AFVx0acjCdc" 
-server_name_processes “another.server.com” -server_name_sp “even.another.server.com” 

Die Installation wird erfolgreich mit der Meldung Generic installation correct beendet.

Als Alternative können die Passworte aus den Umgebungsvariablen übernommen werden, wenn die Konfiguration im Embedded-Mode ausgeführt wird.

SW_AUTHENTICATOR_SERVICEUSERPASSWORD instead of -auth_service_pwd
SW_AUTHENTICATOR_ADMINPASSWORD instead of -auth_admin_pwd
SW_AUTHENTICATOR_WINDOWSPASSWORD instead of -windows_pwd
SW_AUTHENTICATOR_MSSQLPASSWORD instead of -mssql_pwd