public class RegistryRealm extends Object implements org.wso2.carbon.user.core.UserRealm
Constructor and Description |
---|
RegistryRealm()
This constructor is provided for extending the RegistryRealm.
|
RegistryRealm(org.wso2.carbon.user.core.UserRealm userRealm)
Construct a realm wrapping a user realm.
|
Modifier and Type | Method and Description |
---|---|
void |
cleanUp()
Clean up the realm
|
org.wso2.carbon.user.core.AuthorizationManager |
getAuthorizationManager()
Method to get the authorization manager
|
org.wso2.carbon.user.core.claim.ClaimManager |
getClaimManager()
Method to get the claim manager.
|
org.wso2.carbon.user.core.profile.ProfileConfigurationManager |
getProfileConfigurationManager()
Method to get the profile configuration manager.
|
org.wso2.carbon.user.core.UserRealm |
getRealm()
Method to get the realm.
|
org.wso2.carbon.user.api.RealmConfiguration |
getRealmConfiguration()
Get the realm configuration
|
org.wso2.carbon.user.core.UserStoreManager |
getUserStoreManager()
Method to get the user store manager.
|
void |
init(org.wso2.carbon.user.api.RealmConfiguration configBean,
Map<String,org.wso2.carbon.user.core.claim.ClaimMapping> claimMapping,
Map<String,org.wso2.carbon.user.core.profile.ProfileConfiguration> profileConfigs,
int tenantId)
Method to initialize the realm.
|
void |
init(org.wso2.carbon.user.api.RealmConfiguration configBean,
Map<String,Object> properties,
int tenantId) |
public RegistryRealm()
public RegistryRealm(org.wso2.carbon.user.core.UserRealm userRealm) throws RegistryException
userRealm
- the user realm.RegistryException
- throws if the operation failed.public void init(org.wso2.carbon.user.api.RealmConfiguration configBean, Map<String,org.wso2.carbon.user.core.claim.ClaimMapping> claimMapping, Map<String,org.wso2.carbon.user.core.profile.ProfileConfiguration> profileConfigs, int tenantId) throws org.wso2.carbon.user.core.UserStoreException
configBean
- the realm configuration.claimMapping
- the claims as a mapprofileConfigs
- profile configuration.tenantId
- tenant id.org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public void init(org.wso2.carbon.user.api.RealmConfiguration configBean, Map<String,Object> properties, int tenantId) throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
public org.wso2.carbon.user.core.AuthorizationManager getAuthorizationManager() throws org.wso2.carbon.user.core.UserStoreException
getAuthorizationManager
in interface org.wso2.carbon.user.api.UserRealm
org.wso2.carbon.user.core.UserStoreException
public org.wso2.carbon.user.core.UserStoreManager getUserStoreManager() throws org.wso2.carbon.user.core.UserStoreException
getUserStoreManager
in interface org.wso2.carbon.user.api.UserRealm
org.wso2.carbon.user.core.UserStoreException
- throws if the user store manager failed.public org.wso2.carbon.user.core.UserRealm getRealm() throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public void cleanUp() throws org.wso2.carbon.user.core.UserStoreException
org.wso2.carbon.user.core.UserStoreException
- if the operation is failed.public org.wso2.carbon.user.api.RealmConfiguration getRealmConfiguration() throws org.wso2.carbon.user.core.UserStoreException
getRealmConfiguration
in interface org.wso2.carbon.user.api.UserRealm
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public org.wso2.carbon.user.core.profile.ProfileConfigurationManager getProfileConfigurationManager() throws org.wso2.carbon.user.core.UserStoreException
getProfileConfigurationManager
in interface org.wso2.carbon.user.api.UserRealm
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.public org.wso2.carbon.user.core.claim.ClaimManager getClaimManager() throws org.wso2.carbon.user.core.UserStoreException
getClaimManager
in interface org.wso2.carbon.user.api.UserRealm
org.wso2.carbon.user.core.UserStoreException
- throws if the operation failed.Copyright © 2016 WSO2 Inc. All Rights Reserved.