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(TenantAdminService service) |
boolean |
tenantExists(String tenant)
Determine whether tenant exists and enabled
|
public void setTenantAdminService(TenantAdminService service)
public boolean tenantExists(String tenant)
tenant
- Stringpublic boolean authenticateTenant(String username, String networkId)
authenticateTenant
in interface TenantAuthentication
username
- StringnetworkId
- StringCopyright © 2005–2017 Alfresco Software. All rights reserved.