Package org.wso2.carbon.user.api
Interface UserRealmService
public interface UserRealmService
This is the OSGI service that provides the entry point to the UserRealm. This
service holds all UserRealms in the system.
-
Method Summary
Modifier and TypeMethodDescriptionGet the bootstrap realmGet the boot strap realm configuration, this is always build from conf/user-mgt.xmlGet tenant managerGet tenant mgt configuration read from tenant-mgt.xmlgetTenantUserRealm(int tenantId) Only returns if available in cache.voidsetBootstrapRealmConfiguration(RealmConfiguration realmConfiguration) Set bootstrap realm configurationvoidsetTenantManager(TenantManager tenantManager)
-
Method Details
-
getBootstrapRealm
Get the bootstrap realm- Returns:
- Throws:
UserStoreException
-
getTenantManager
TenantManager getTenantManager()Get tenant manager- Returns:
- TenantManager
-
setTenantManager
- Parameters:
tenantManager-- Throws:
UserStoreException
-
getTenantUserRealm
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
Set bootstrap realm configuration -
getTenantMgtConfiguration
TenantMgtConfiguration getTenantMgtConfiguration()Get tenant mgt configuration read from tenant-mgt.xml
-