public class RemoteUserStoreManagerServiceClient extends Object
| Constructor and Description |
|---|
RemoteUserStoreManagerServiceClient(String backEndUrl,
String sessionCookie)
Create Remote user store admin client
|
RemoteUserStoreManagerServiceClient(String backEndUrl,
String userName,
String password)
Create Remote user store admin client using username and password
|
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(String userName,
String credential,
String[] roleList,
org.wso2.carbon.um.ws.api.stub.ClaimValue[] claimValues,
String profileName,
boolean requirePasswordChange)
add user to user store
|
String[] |
getProfileNames(String userName)
get available profiles
|
org.wso2.carbon.um.ws.api.stub.ClaimValue[] |
getUserClaimValuesForClaims(String userName,
String[] claims,
String profileName)
get user claim values for given claim URL's
|
void |
setUserClaimValue(String username,
String claim,
String value,
String profile)
set user claim value
|
public RemoteUserStoreManagerServiceClient(String backEndUrl, String sessionCookie) throws org.apache.axis2.AxisFault
backEndUrl - - url to logsessionCookie - - session cookieorg.apache.axis2.AxisFaultpublic RemoteUserStoreManagerServiceClient(String backEndUrl, String userName, String password) throws org.apache.axis2.AxisFault
backEndUrl - userName - password - org.apache.axis2.AxisFaultpublic void addUser(String userName, String credential, String[] roleList, org.wso2.carbon.um.ws.api.stub.ClaimValue[] claimValues, String profileName, boolean requirePasswordChange) throws org.wso2.carbon.user.core.UserStoreException, RemoteException, org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException
userName - credential - - passwordroleList - - permission rolesclaimValues - - claim valuesprofileName - - user profilerequirePasswordChange - org.wso2.carbon.user.core.UserStoreExceptionRemoteExceptionorg.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionpublic String[] getProfileNames(String userName) throws RemoteException, org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException
userName - RemoteExceptionorg.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionpublic org.wso2.carbon.um.ws.api.stub.ClaimValue[] getUserClaimValuesForClaims(String userName, String[] claims, String profileName) throws RemoteException, org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException
userName - claims - profileName - RemoteExceptionorg.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionpublic void setUserClaimValue(String username, String claim, String value, String profile) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
username - claim - - claim URIvalue - - value of the claimprofile - - user profileorg.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionCopyright © 2019 WSO2 Inc. All rights reserved.