public class UserStoreConfigAdminServiceClient extends Object
| Constructor and Description |
|---|
UserStoreConfigAdminServiceClient(String backendServerURL,
String sessionCookie)
Constructor UserStoreConfigAdminServiceClient
|
UserStoreConfigAdminServiceClient(String backendServerURL,
String userName,
String password)
Constructor UserStoreConfigAdminServiceClient
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUserStore(org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO)
Save configuration to file system
|
void |
changeUserStoreState(String domain,
boolean isDisabled)
Toggle user store state (enable/disable)
|
org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO |
createUserStoreDTO(String className,
String domainId,
org.wso2.carbon.identity.user.store.configuration.stub.dto.PropertyDTO[] properties)
Create UserDTO to simulate UI call
|
void |
deleteUserStore(String userStore)
Deletes a given user store
|
void |
deleteUserStoresSet(String[] userStores)
Deletes a given list of user stores
|
org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO[] |
getActiveDomains()
Get all the configured domains
|
String[] |
getAvailableUserStoreClasses()
Get available user store implementations
|
org.wso2.carbon.identity.user.store.configuration.stub.api.Properties |
getUserStoreProperties(String className)
Get properties required for the given user store
|
void |
updateUserStore(org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO)
Update user store without changing the domain name
|
void |
updateUserStoreWithDomainName(String previousDomain,
org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO)
Rename user store including property changes
|
public UserStoreConfigAdminServiceClient(String backendServerURL, String sessionCookie) throws org.apache.axis2.AxisFault
sessionCookie - - session cookiebackendServerURL - - backend server URLorg.apache.axis2.AxisFaultpublic UserStoreConfigAdminServiceClient(String backendServerURL, String userName, String password) throws org.apache.axis2.AxisFault
userName - - user namebackendServerURL - - backend server URLorg.apache.axis2.AxisFaultpublic org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO[] getActiveDomains()
throws Exception
Exceptionpublic String[] getAvailableUserStoreClasses() throws Exception
Exceptionpublic org.wso2.carbon.identity.user.store.configuration.stub.api.Properties getUserStoreProperties(String className) throws Exception
className - : list of properties required by each user store managerExceptionpublic void addUserStore(org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO)
throws Exception
userStoreDTO - : representation of new user store to be persistedExceptionpublic void deleteUserStoresSet(String[] userStores) throws Exception
userStores - : domain names of user stores to deletedExceptionpublic void deleteUserStore(String userStore) throws Exception
userStore - : domain name of the user store to deletedExceptionpublic void changeUserStoreState(String domain, boolean isDisabled) throws Exception
domain - : domain name of the user store to enable/dissableisDisabled - : set true to disable user storeExceptionpublic void updateUserStoreWithDomainName(String previousDomain, org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO) throws Exception
previousDomain - Previous domain name of the user storeuserStoreDTO - New properties of the user storeExceptionpublic void updateUserStore(org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO userStoreDTO)
throws Exception
userStoreDTO - New properties of the user storeExceptionpublic org.wso2.carbon.identity.user.store.configuration.stub.dto.UserStoreDTO createUserStoreDTO(String className, String domainId, org.wso2.carbon.identity.user.store.configuration.stub.dto.PropertyDTO[] properties)
className - domainId - properties - Copyright © 2007–2016 WSO2. All rights reserved.