Interface ContextHelperService

All Known Implementing Classes:
DefaultContextHelperService

public interface ContextHelperService
This interface is intended to encapsulate functionality for accessing client id and tenant id from the request context.
Author:
Cade Rea (cade-rea)
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the client id from the request context.
    Use the client id from the request context to look up the tenant id.
    void
    setClientId(String clientId)
    Set the client id on the request context.
  • Method Details

    • getClientId

      String getClientId()
      Get the client id from the request context.
      Returns:
      The client id from the request context.
    • setClientId

      void setClientId(String clientId)
      Set the client id on the request context.
      Parameters:
      clientId - The client id parameter from the request.
    • getTenantId

      String getTenantId()
      Use the client id from the request context to look up the tenant id.
      Returns:
      The tenant id that corresponds to the client id in request attributes.