Skip to content
VibecatDocumentation

Vibecat Exchange

Calendar connections to Exchange on premises (EWS) and Microsoft 365 / Exchange Online (Graph) that web applications get from the server, so that they hold no credential themselves.

Id exchange
Role exchange or admin
Page Plugins > Open or /plugins/exchange/
Parts vibecat-exchange.jar (valve and API, in runtime or in lib of a plain Tomcat 10 / 11) and vibemosphere-exchange.jar (profiles page, in plugins)

Open the configuration

In the administration open Plugins, select the row of this plug-in and press Open. The page opens in an overlay dialog: close it with the X at the top right, with Esc or by clicking outside; Open in a new tab next to the title shows it full size.

Vibecat Exchange: the plug-in page in its overlay dialog

Profiles

New profile defines one connection; Test checks it. A web application gets the profiles that name its context path.

Vibecat Exchange: profiles

Sign-in of a profile:

  • Azure Application Management application (auth: aam): the token comes from the AAM plug-in. Application permission Calendars.ReadWrite (Place.Read.All for the room list); EWS Online needs full_access_as_app and impersonation.
  • Own app registration (secret or PFX), NTLM or Basic (EWS), or a fixed bearer token.

Secrets are stored AES-GCM encrypted in plugin-data\exchange\profiles.json (key in master.key). A stored secret is dropped when the server address or account of the profile changes.

Use in a web application

ExchangeConnections all = (ExchangeConnections) request.getAttribute(Exchange.ATTRIBUTE);
ExchangeConnection x = all.connection("onprem");
x.busy("room1@contoso.com", from, to);

Compile against the jar, but do not put it into WEB-INF/lib.

Limits

  • webapps (empty = nobody), mailboxes and readOnly are enforced by the connection. This is configuration, not a sandbox.
  • Appointments have no attendees: nothing is sent to anyone.
  • No Autodiscover: give the EWS address.
  • Tested against mock servers only - not against a real Exchange server or tenant.

Back to the overview

WIKI · PRIVACY

Your cookie preferences

DokuWiki uses necessary cookies for sessions, sign-in and your preferences. Your choice is stored for one year in a site cookie. Optional external content is loaded only when you allow it. No analytics service is added by this plugin.

Only applies to content explicitly deferred by this plugin. Third-party providers may receive your IP address and set cookies when that content loads.

vibecat/plugins/exchange.txt · Last modified: by *.*.*.*