Interface WebSocketPrincipalTenantExtractor


public interface WebSocketPrincipalTenantExtractor
Author:
Filip Hrisafov
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getTenantId​(java.security.Principal principal)
    Retrieve the tenantId for the given principal.
  • Method Details

    • getTenantId

      java.lang.String getTenantId​(java.security.Principal principal)
      Retrieve the tenantId for the given principal.
      Parameters:
      principal - the principal for which the tenantId should be extracted
      Returns:
      the tenant id of the principal