Interface UserInfoHandler
-
public interface UserInfoHandlerThis API needs to be implemented if someone is willing to extend the behaviour of the tenant to user mapping.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetTenantAwareUsername(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.comStringgetTenantDomain(String username)Return the domain of the given user
-
-
-
Method Detail
-
getTenantAwareUsername
String getTenantAwareUsername(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.com- Parameters:
username- - Username- Returns:
- - Tenant aware username
-
-