Interface UserInfoHandler
public interface UserInfoHandler
This API needs to be implemented if someone is willing to extend the behaviour of the
tenant to user mapping.
-
Method Summary
Modifier and TypeMethodDescriptiongetTenantAwareUsername(String username) Need to return tenant aware username for the username provided eg: if the actual username with tenant is: foo@email.com@bar, and user belongs to tenant: bar.com tenant aware username: foo@email.comgetTenantDomain(String username) Return the domain of the given user
-
Method Details
-
getTenantAwareUsername
Need to return tenant aware username for the username provided eg: if the actual username with tenant is: foo@email.com@bar, and user belongs to tenant: bar.com tenant aware username: foo@email.com- Parameters:
username- - Username- Returns:
- - Tenant aware username
-
getTenantDomain
Return the domain of the given user- Parameters:
username- - UserName- Returns:
- - Tenant Domain
-