Class ExchangeFileSystem

java.lang.Object
org.frankframework.filesystem.AbstractFileSystem<MailItemId>
org.frankframework.filesystem.exchange.ExchangeFileSystem
All Implemented Interfaces:
AutoCloseable, HasApplicationContext, HasPhysicalDestination, IScopeProvider, HasKeystore, HasTruststore, IBasicFileSystem<MailItemId>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class ExchangeFileSystem extends AbstractFileSystem<MailItemId> implements HasKeystore, HasTruststore, org.springframework.context.ApplicationContextAware
Implementation of a IBasicFileSystem of an Exchange Mailbox.
To make use of oauth authentication:
  1. Create an application in Azure AD -> App Registrations. For more information please read how-to-authenticate-an-ews-application-by-using-oauth
  2. Request the required API permissions within desired scope https://outlook.office365.com/ in Azure AD -> App Registrations -> MyApp -> API Permissions.
  3. Create a secret for your application in Azure AD -> App Registrations -> MyApp -> Certificates and Secrets
  4. Configure the clientSecret directly as password or as the password of a JAAS entry referred to by authAlias. Only available upon creation of your secret in the previous step.
  5. Configure the clientId directly as username or as the username of a JAAS entry referred to by authAlias which could be retrieved from Azure AD -> App Registrations -> MyApp -> Overview
  6. Configure the tenantId which could be retrieved from Azure AD -> App Registrations -> MyApp -> Overview
  7. Make sure your application is able to reach https://login.microsoftonline.com. Required for token retrieval.