This commit is contained in:
Ralph Soika 2024-10-28 13:37:22 +01:00
parent e2abb87845
commit f9bee7a6a8
4 changed files with 23 additions and 8 deletions

View file

@ -71,7 +71,7 @@ Es gibt ein Email Konto das wir für den Import von Rechnungen nutzen
** Umstellung Outlook via OAuth ** ** Umstellung Outlook via OAuth **
passwort=A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL passwort=0lG8Q~UigK0f7n-cR8SSiSXhVChkBD3Qm1CqvbID
server name ist egal server name ist egal
Additional Options: Additional Options:

View file

@ -23,6 +23,13 @@ Die Kreditoren/Debitoren Stammdaten werden von Cargosoft im Verzeichnis `/fromCa
Über den Document Importer `CSV` werden die Dokumente regelmäßig importiert bzw. aktualisert Über den Document Importer `CSV` werden die Dokumente regelmäßig importiert bzw. aktualisert
# Cargosoft Schnittstelle (Bremen Mandant 001)
Server: u248962.your-storagebox.de
Pfad: /office-alexander-logistics/cargosoft
Benutzername: u248962-sub2
Passwort: aXa61n9Un3jDNQlL
# Cargosoft Schnittstelle (Bremerhaven Mandant 005) # Cargosoft Schnittstelle (Bremerhaven Mandant 005)
@ -53,6 +60,9 @@ Die Kreditoren/Debitoren Stammdaten werden von Cargosoft im Verzeichnis `/fromCa
Benutzername: u248962-sub9 Benutzername: u248962-sub9
Passwort: GMk7NgDBrmb2QqXg Passwort: GMk7NgDBrmb2QqXg
# Cargosoft Schnittstelle (China Mandant 007)
Server: u248962.your-storagebox.de
# Cargosoft Schnittstelle (China Mandant 002 (?)) Pfad: /office-alexander-logistics/cargosoft-chn
Benutzername: u248962-sub10
Passwort: yswBeN83jMqkMqJa

View file

@ -28,6 +28,8 @@ public class TestIMAPAuhtenticators {
private final static Logger logger = Logger.getLogger(TestIMAPAuhtenticators.class.getName()); private final static Logger logger = Logger.getLogger(TestIMAPAuhtenticators.class.getName());
private final static String secret = "0lG8Q~UigK0f7n-cR8SSiSXhVChkBD3Qm1CqvbID";
/** /**
* Test IMAP connect via OAuth for email address imixs@alexander-logistics.com * Test IMAP connect via OAuth for email address imixs@alexander-logistics.com
* *
@ -42,7 +44,7 @@ public class TestIMAPAuhtenticators {
source.setItemValue(DocumentImportService.SOURCE_ITEM_SERVER, "outlook.office365.com"); source.setItemValue(DocumentImportService.SOURCE_ITEM_SERVER, "outlook.office365.com");
source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993");
source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "imixs@alexander-logistics.com"); source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "imixs@alexander-logistics.com");
source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, secret);
Properties sourceOptions = new Properties(); Properties sourceOptions = new Properties();
sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e"); sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e");
@ -84,7 +86,7 @@ public class TestIMAPAuhtenticators {
source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993");
source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "Imixsbhv@alexander-logistics.com"); source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "Imixsbhv@alexander-logistics.com");
source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, secret);
Properties sourceOptions = new Properties(); Properties sourceOptions = new Properties();
sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e"); sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e");
@ -126,7 +128,7 @@ public class TestIMAPAuhtenticators {
source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PORT, "993");
source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "imixspl@alexander-logistics.com"); source.setItemValue(DocumentImportService.SOURCE_ITEM_USER, "imixspl@alexander-logistics.com");
source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL"); source.setItemValue(DocumentImportService.SOURCE_ITEM_PASSWORD, secret);
Properties sourceOptions = new Properties(); Properties sourceOptions = new Properties();
sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e"); sourceOptions.put("microsoft.tenantid", "51e2f038-0a96-41be-801d-bb4118aa018e");

View file

@ -49,7 +49,10 @@ public class TestIMAPOutlookOAuth {
private static final String TENANT_ID = "51e2f038-0a96-41be-801d-bb4118aa018e"; private static final String TENANT_ID = "51e2f038-0a96-41be-801d-bb4118aa018e";
private static final String CLIENT_ID = "39e9eec5-6939-47dc-9729-3438a9898e63"; private static final String CLIENT_ID = "39e9eec5-6939-47dc-9729-3438a9898e63";
private static final String CLIENT_SECRET = "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL"; // private static final String CLIENT_SECRET =
// "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL";
private static final String CLIENT_SECRET = "0lG8Q~UigK0f7n-cR8SSiSXhVChkBD3Qm1CqvbID";
/* /*
* Neue Daten * Neue Daten
@ -315,7 +318,7 @@ public class TestIMAPOutlookOAuth {
* *
* "ClientId": "39e9eec5-6939-47dc-9729-3438a9898e63", * "ClientId": "39e9eec5-6939-47dc-9729-3438a9898e63",
* *
* "ClientSecret": "A6x8Q~EWVUyt~gfyTHtIJf4ig.F9tajUpEEXMaCL" * "ClientSecret": "............."
* *
* } * }
* *