Package org.wso2.carbon.user.api
Interface UserRealmService
-
public interface UserRealmServiceThis is the OSGI service that provides the entry point to the UserRealm. This service holds all UserRealms in the system.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserRealmgetBootstrapRealm()Get the bootstrap realmRealmConfigurationgetBootstrapRealmConfiguration()Get the boot strap realm configuration, this is always build from conf/user-mgt.xmlTenantManagergetTenantManager()Get tenant managerTenantMgtConfigurationgetTenantMgtConfiguration()Get tenant mgt configuration read from tenant-mgt.xmlUserRealmgetTenantUserRealm(int tenantId)Only returns if available in cache.voidsetBootstrapRealmConfiguration(RealmConfiguration realmConfiguration)Set bootstrap realm configurationvoidsetTenantManager(TenantManager tenantManager)
-
-
-
Method Detail
-
getBootstrapRealm
UserRealm getBootstrapRealm() throws UserStoreException
Get the bootstrap realm- Returns:
- Throws:
UserStoreException
-
getTenantManager
TenantManager getTenantManager()
Get tenant manager- Returns:
- TenantManager
-
setTenantManager
void setTenantManager(TenantManager tenantManager) throws UserStoreException
- Parameters:
tenantManager-- Throws:
UserStoreException
-
getTenantUserRealm
UserRealm getTenantUserRealm(int tenantId) throws UserStoreException
Only returns if available in cache.- Parameters:
tenantId-- Returns:
- Throws:
UserStoreException
-
getBootstrapRealmConfiguration
RealmConfiguration getBootstrapRealmConfiguration()
Get the boot strap realm configuration, this is always build from conf/user-mgt.xml- Returns:
- the realm configuration
-
setBootstrapRealmConfiguration
void setBootstrapRealmConfiguration(RealmConfiguration realmConfiguration)
Set bootstrap realm configuration
-
getTenantMgtConfiguration
TenantMgtConfiguration getTenantMgtConfiguration()
Get tenant mgt configuration read from tenant-mgt.xml
-
-