public class LDAPTenantManagerService extends Object implements org.wso2.carbon.user.core.tenant.LDAPTenantManager
| Constructor and Description |
|---|
LDAPTenantManagerService(PartitionManager partitionManager) |
LDAPTenantManagerService(PartitionManager partitionManager,
LDAPConfigurationBuilder ldapConfiguration)
This constructor is used to pass both partition manager and tenant manager references at the
creation of LDAPTenantManagerService.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPartitionToTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
When initializing HybridLDAPTenantManager, the existing partitions for tenants are
initialized.
|
int |
addTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
Add a new partition for a tenant when a new tenant is created.
|
void |
deleteTenant(int i) |
void |
updateTenant(org.wso2.carbon.user.core.tenant.Tenant tenant) |
public LDAPTenantManagerService(PartitionManager partitionManager)
public LDAPTenantManagerService(PartitionManager partitionManager, LDAPConfigurationBuilder ldapConfiguration)
partitionManager - ldapConfiguration - public int addTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
throws org.wso2.carbon.user.core.UserStoreException
addTenant in interface org.wso2.carbon.user.core.tenant.LDAPTenantManagertenant - objectorg.wso2.carbon.user.core.UserStoreExceptionpublic void updateTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
throws org.wso2.carbon.user.core.UserStoreException
updateTenant in interface org.wso2.carbon.user.core.tenant.LDAPTenantManagerorg.wso2.carbon.user.core.UserStoreExceptionpublic void deleteTenant(int i)
throws org.wso2.carbon.user.core.UserStoreException
deleteTenant in interface org.wso2.carbon.user.core.tenant.LDAPTenantManagerorg.wso2.carbon.user.core.UserStoreExceptionpublic void addPartitionToTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
throws org.wso2.carbon.user.core.UserStoreException
addPartitionToTenant in interface org.wso2.carbon.user.core.tenant.LDAPTenantManagertenant - objectorg.wso2.carbon.user.core.UserStoreExceptionCopyright © 2015 WSO2. All rights reserved.