Table of Contents
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.
Profiles
New profile defines one connection; Test checks it. A web application gets the profiles that name its context path.
Sign-in of a profile:
- Azure Application Management application (
auth: aam): the token comes from the AAM plug-in. Application permissionCalendars.ReadWrite(Place.Read.Allfor the room list); EWS Online needsfull_access_as_appand 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),mailboxesandreadOnlyare 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.

