Skip to content

ReadyRoom

ReadyRoom

ReadyRoom (image and project name in-n-out-work, Java package com.winllc.innoutwork) tracks attendance and presence for an organization whose people and structure live in an LDAP directory. Windows workstations report logon, logoff, screen lock and screen unlock events to a Spring Boot server. The server turns those events into each person's working day, rolls them up by directory group and organization, builds an org chart, and emails managers when someone has not arrived by their expected time.

Nobody has to check in by hand. The first sign-in or unlock of the day counts as arriving, a locked screen counts as away, and signing out counts as checking out. People can also put a status on their calendar (a late arrival, or work from home, temporary duty (TDY), training, scheduled leave and so on, which their manager approves), so their managers know where they are when they are not at a workstation.

Naming

The product is called ReadyRoom in the UI and on the product page. Older names still show up in the code and scripts: the container image is in-n-out-work, the Windows client is installed as InOutWorker, and the scheduled tasks are registered under \InOutWork\. All of these names refer to the same application.

Key features

Area What ReadyRoom does
Automatic check-in A PowerShell agent run by Windows Task Scheduler posts login, lock, unlock and logout events. An unlock is stored as a check-in when the person has no check-in yet that day.
Status per person Each person's status for the day is IN, AWAY (screen locked), OUT (checked out) or NONE. A calendar status such as Work From Home or Temporary Duty takes its place when one is set, shown by its name.
Auto check-out A background job checks out anyone who has been locked for longer than check-out-after-minutes, after midnight for a lock left in the evening. The record is flagged as forced.
Absence alerts If someone is not checked in by their expected time plus a grace period on a working day, their directory manager, their delegates and the managers of their groups get an in-app notification and an email. Their directory manager or a delegate records what happened.
Statuses and approvals People set a late arrival or early leave themselves; statuses that excuse an absence (leave, telework, temporary duty, training) are requested and approved by their manager or a delegate on the Approvals page. Delegates are set by administrators.
Reports and exports Group reports as PDF, CSV or Excel, people lists, and scheduled e-mailed reports, with each person's times in their own or their site's time zone. See Reports, exports and time zones.
Public API and webhooks A read-only REST API (/api/v1, OpenAPI document) for scoped API tokens, and HMAC-signed webhooks for absence alerts and status changes. See API reference and Webhooks.
Single sign-on OpenID Connect and SAML 2.0, beside client certificates and the directory password. See Single sign-on.
Privacy and retention What coworkers see of each other is configurable. Old check-ins and statuses can be summarised by month and deleted after a set number of days. Everyone can download their own data; administrators export or erase a person's data.
Home dashboard Each user sees their own status, the last 30 days, whether their workstation agent is reporting, and anything scheduled in the next two weeks. Users with direct reports also see their team.
Groups Browse the directory group trees (groupOfUniqueNames), see each member's status, favorite groups, assign extra group managers (administrators), and generate a group report as a PDF.
Org chart Builds a hierarchy from one flat directory attribute (for example RYS34B becomes RYS → 34 → B) and shows how many people are present in each organization. Parse rules can override how values are split.
My Reports One table of everyone who reports to you in the directory, with 30-day attendance, average arrival and absence-alert history.
Metrics Organization-wide accounted-for rate, status mix, workstation agent coverage, activity through the day, and status breakdowns by organization, employee type, location and branch.
Organization calendar Admins and managers add organization-wide events and holidays. Absence alerts are not sent on holidays.
Flexible sign-in Mutual TLS with X.509 client certificates is the main method, with LDAP username and password as a fallback. Windows (Kerberos) sign-in can optionally be turned on for the agent's check-in calls.

Architecture

flowchart LR
    subgraph WS["Windows workstation"]
        TS["Task Scheduler<br/>logon / lock / unlock / logoff /<br/>remote disconnect / reconnect"]
        PS["Update-WorkStatus.ps1"]
        SF[("%ProgramData%\\InOutWorker<br/>sessions (one file per user), logs")]
        TS --> PS
        PS <--> SF
    end

    subgraph SRV["ReadyRoom server (Spring Boot, :8181)"]
        API["/api/check/*<br/>REST check-in API"]
        UI["/app/*<br/>Thymeleaf web UI"]
        REST["/api/* JSON<br/>(used by the UI)"]
        JOBS["Scheduled jobs<br/>auto check-out, absence alerts,<br/>directory refresh"]
        CACHE["Caffeine caches<br/>users, groups, org chart"]
    end

    BR["Browser"]
    PG[("PostgreSQL")]
    LDAP[("LDAP directory")]
    SMTP["SMTP server"]
    KDC["Active Directory<br/>(optional Kerberos)"]
    SITE["Product page<br/>(nginx, optional)"]

    PS -- "mTLS or Kerberos<br/>(logout: anonymous + sessionId)" --> API
    BR -- "client cert or<br/>LDAP form login" --> UI
    BR --> REST
    BR --> SITE
    SITE -- "/launch redirect" --> UI
    API --> PG
    UI --> PG
    REST --> PG
    JOBS --> PG
    CACHE --> LDAP
    UI --> CACHE
    JOBS -- "email alerts" --> SMTP
    PS -. "Kerberos ticket" .-> KDC

The directory is the source of truth for people, groups, reporting lines and organization attributes. PostgreSQL holds only what the directory cannot: check-in and check-out records, roles, notes, favorite groups, additional managers, per-day statuses, notifications, the organization calendar and org-chart parse rules.

How a working day is recorded

sequenceDiagram
    autonumber
    participant W as Windows (Task Scheduler)
    participant C as Update-WorkStatus.ps1
    participant S as ReadyRoom server
    participant DB as PostgreSQL

    W->>C: Logon (30 s delay)
    C->>S: POST /api/check/in (client certificate or Kerberos)
    S->>DB: CHECK_IN record (DN from the certificate)
    S-->>C: Record JSON including sessionId (only for check-in)
    C->>C: Cache sessionId in the user's session file
    W->>C: Screen lock
    C->>S: POST /api/check/lock
    S->>DB: LOCK record (status AWAY)
    W->>C: Screen unlock
    C->>S: POST /api/check/unlock
    S->>DB: UNLOCK record (or CHECK_IN if no check-in yet today)
    W->>C: Logoff (runs as SYSTEM, profile gone)
    C->>S: POST /api/check/out {sessionId} (no authentication)
    S->>DB: Find the check-in with that sessionId and write a CHECK_OUT under its DN

Logoff cannot authenticate: by the time it runs, the user's profile and certificate store have been unloaded. So /api/check/out is the one unauthenticated check-in endpoint. The agent caches the sessionId returned at login, and the server uses it to find who is logging off. It accepts a sessionId once, and only within 7 days of the check-in. Refused logouts are rate-limited per client address; a logout with a usable sessionId never is.

Components

Component Where it ships Description
Server Container image ghcr.io/winllc/in-n-out-work (in the release package's images/, and run by the Helm chart) Spring Boot 4 application: web UI, REST API, scheduled jobs, LDAP and database access.
Web UI Inside the server Thymeleaf pages using the Tabler UI kit, Tabulator tables, FullCalendar, ApexCharts and flatpickr.
Windows client The release package's windows-client/ folder Update-WorkStatus.ps1, the Install-InOutWorker.ps1 installer, a sample configuration file and five Task Scheduler XML definitions. See Windows client.
Database migrations Inside the server Flyway migrations, applied at startup. There is no migrations/ folder and no migration Job.
Backup scripts The release package's backup.sh and restore.sh; the Helm chart's optional backup CronJob The database and, in the release package, the license volume. See Operations.

Technology stack

Layer Technology
Language and runtime Java 21
Framework Spring Boot 4.1.1 (Web MVC, Security, Data JPA, Data LDAP, Mail, Actuator, Cache)
Security Spring Security 7.1.1: X.509, spring-security-ldap, spring-security-kerberos-core, OAuth 2.0 client (OIDC) and SAML 2.0 service provider
Views Thymeleaf with the layout dialect and Spring Security extras
Database PostgreSQL (16 in the release package and the chart's embedded database). Flyway owns the schema; Hibernate only validates it (ddl-auto: validate)
Observability Micrometer with Prometheus, on a separate management port; ECS JSON logs
Directory Any LDAP v3 server. People are inetOrgPerson by default; groups are groupOfUniqueNames.
Caching Caffeine
Delivery Signed release package (Docker Compose or Podman) and Helm chart
Container Red Hat UBI 9 openjdk-21-runtime with krb5-workstation
Client Windows PowerShell 5.1 and Windows Task Scheduler

Where to go next

If you want to... Read
Install ReadyRoom and connect it to PostgreSQL, LDAP and certificates Installation
Look up a property, environment variable or client parameter Configuration
Roll out and troubleshoot the workstation agent Windows client
Use the web application day to day User guide
Manage roles, group managers, delegates, the calendar, org-chart rules and a person's data Administration
Assess what ReadyRoom keeps about people, for a DPIA or a works council Privacy, DPIA and works council
Run, monitor, back up and upgrade the server Operations
Size it, plan for availability and recover from a disaster Sizing, availability and recovery
Understand authentication, authorization and hardening Security
Run it on FIPS-enabled hosts, or to DISA STIG settings FIPS 140-3 and DISA STIG
Call or integrate with the public API (/api/v1) or the HTTP endpoints API reference
Receive absence alerts and status changes in another system Webhooks
Set up OIDC or SAML single sign-on Single sign-on
Download reports, schedule e-mailed reports, set time zones Reports, exports and time zones
Check accessibility conformance Accessibility
Fix a problem Troubleshooting