Class TenantUserDirectory

java.lang.Object
africa.absa.inception.security.TenantUserDirectory
All Implemented Interfaces:
Serializable

public class TenantUserDirectory extends Object implements Serializable
The TenantUserDirectory class holds the information for a tenant user directory.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • TenantUserDirectory

      public TenantUserDirectory()
      Constructs a new TenantUserDirectory.
    • TenantUserDirectory

      public TenantUserDirectory(UUID tenantId, UUID userDirectoryId)
      Constructs a new TenantUserDirectory.
      Parameters:
      tenantId - the ID for the tenant
      userDirectoryId - the ID for the user directory
  • Method Details

    • getTenantId

      public UUID getTenantId()
      Returns the ID for the tenant.
      Returns:
      the ID for the tenant
    • getUserDirectoryId

      public UUID getUserDirectoryId()
      Returns the ID for the user directory.
      Returns:
      the ID for the user directory
    • setTenantId

      public void setTenantId(UUID tenantId)
      Set the ID for the tenant.
      Parameters:
      tenantId - the ID for the tenant
    • setUserDirectoryId

      public void setUserDirectoryId(UUID userDirectoryId)
      Set the ID for the user directory.
      Parameters:
      userDirectoryId - the ID for the user directory