public class PublicApiTenantAuthentication extends Object implements TenantAuthentication
| Constructor and Description |
|---|
PublicApiTenantAuthentication() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticateTenant(String username,
String networkId)
Authenticate user against network/tenant.
|
void |
setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService service) |
boolean |
tenantExists(String tenant)
Determine whether tenant exists and enabled
|
public void setTenantAdminService(org.alfresco.repo.tenant.TenantAdminService service)
public boolean tenantExists(String tenant)
tenant - Stringpublic boolean authenticateTenant(String username, String networkId)
authenticateTenant in interface TenantAuthenticationusername - StringnetworkId - StringCopyright © 2005–2018 Alfresco Software. All rights reserved.