org.wso2.carbon.um.ws.api
Class WSRealmTenantManager
java.lang.Object
org.wso2.carbon.um.ws.api.WSRealmTenantManager
- All Implemented Interfaces:
- org.wso2.carbon.user.api.TenantManager
public class WSRealmTenantManager
- extends Object
- implements org.wso2.carbon.user.core.tenant.TenantManager
This is the Tenant manager used with WSRealm.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSRealmTenantManager
public WSRealmTenantManager(String userName,
String password,
String url)
throws Exception
- Throws:
Exception
activateTenant
public void activateTenant(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
activateTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
addTenant
public int addTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
throws org.wso2.carbon.user.core.UserStoreException
- Throws:
org.wso2.carbon.user.core.UserStoreException
deactivateTenant
public void deactivateTenant(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
deactivateTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
deleteTenant
public void deleteTenant(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
deleteTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
deleteTenant
public void deleteTenant(int i,
boolean b)
throws org.wso2.carbon.user.api.UserStoreException
- Specified by:
deleteTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.api.UserStoreException
getAllTenants
public org.wso2.carbon.user.core.tenant.Tenant[] getAllTenants()
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
getAllTenants in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
getAllTenantsForTenantDomainStr
public org.wso2.carbon.user.api.Tenant[] getAllTenantsForTenantDomainStr(String s)
throws org.wso2.carbon.user.api.UserStoreException
- Specified by:
getAllTenantsForTenantDomainStr in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.api.UserStoreException
getDomain
public String getDomain(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
getDomain in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
getSuperTenantDomain
public String getSuperTenantDomain()
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
getSuperTenantDomain in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
getAllTenantDomainStrOfUser
public String[] getAllTenantDomainStrOfUser(String s)
throws org.wso2.carbon.user.api.UserStoreException
- Throws:
org.wso2.carbon.user.api.UserStoreException
addTenant
public int addTenant(org.wso2.carbon.user.api.Tenant tenant)
throws org.wso2.carbon.user.api.UserStoreException
- Specified by:
addTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.api.UserStoreException
updateTenant
public void updateTenant(org.wso2.carbon.user.api.Tenant tenant)
throws org.wso2.carbon.user.api.UserStoreException
- Specified by:
updateTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.api.UserStoreException
getTenant
public org.wso2.carbon.user.core.tenant.Tenant getTenant(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
getTenant in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
getTenantId
public int getTenantId(String domain)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
getTenantId in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
isTenantActive
public boolean isTenantActive(int tenantId)
throws org.wso2.carbon.user.core.UserStoreException
- Specified by:
isTenantActive in interface org.wso2.carbon.user.api.TenantManager
- Throws:
org.wso2.carbon.user.core.UserStoreException
setBundleContext
public void setBundleContext(org.osgi.framework.BundleContext bundleContext)
updateTenant
public void updateTenant(org.wso2.carbon.user.core.tenant.Tenant tenant)
throws org.wso2.carbon.user.core.UserStoreException
- Throws:
org.wso2.carbon.user.core.UserStoreException
initializeExistingPartitions
public void initializeExistingPartitions()
- This method was added to TenantManager interface to support tenant management with LDAP.
Hence no implementation currently in this context.
Copyright © 2015 WSO2. All rights reserved.