Interface InboundMessageTenantExtractor

  • All Known Implementing Classes:
    ConfiguredInboundMessageTenantExtractor

    public interface InboundMessageTenantExtractor
    A service provider interface hooking in the business logic to extract or resolve the tenant id out of a new inbound message not yet been mapped to a user account object.
    Author:
    Micha Kiener
    • Method Detail

      • extractTenantId

        String extractTenantId​(InboundMessage inboundMessage)
        Extracts the tenant id out of the provided new inbound message which is not yet mapped to a user account object and hence no direct tenant is yet available. Most likely, the tenant is somehow encoded within the message content or indirectly using an activation code pointing to a user object or case instance running the onboarding process.
        Parameters:
        inboundMessage - the inbound message to extract the tenant id from (most likely encoded within the message content or a default one)
        Returns:
        the tenant id extracted out of the inbound message