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 |
addRole(String roleName,
String[] userList,
org.wso2.carbon.um.ws.api.stub.PermissionDTO[] permissions) |
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
|
void |
deleteRole(String roleName) |
void |
deleteUser(String userName) |
String[] |
getProfileNames(String userName)
get available profiles
|
String[] |
getRoleListOfUser(String userName) |
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 |
removeUser(String user)
Used to delete user.
|
void |
setUserClaimValue(String username,
String claim,
String value,
String profile)
set user claim value
|
void |
updateRoleListOfUser(String userName,
String[] deletedRoles,
String[] newRoles) |
void |
updateUser(String user,
String password) |
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.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void removeUser(String user) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
user - org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void updateUser(String user, String password) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
user - password - org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void updateRoleListOfUser(String userName, String[] deletedRoles, String[] newRoles) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic String[] getRoleListOfUser(String userName) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void addRole(String roleName, String[] userList, org.wso2.carbon.um.ws.api.stub.PermissionDTO[] permissions) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void deleteRole(String roleName) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionpublic void deleteUser(String userName) throws org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionException, RemoteException
org.wso2.carbon.um.ws.api.stub.RemoteUserStoreManagerServiceUserStoreExceptionExceptionRemoteExceptionCopyright © 2022 WSO2 Inc. All rights reserved.