public interface IUserService
| Modifier and Type | Method and Description |
|---|---|
DeputyXto |
addDeputy(UserInfoXto user,
UserInfoXto deputyUser,
DeputyOptionsXto options)
Adds a new deputy user for a given user.
|
UserXto |
createUser(UserXto user)
Creates a new user with default realm ID.
|
UserGroupXto |
createUserGroup(UserGroupXto userGroup)
Creates a new user group.
|
UserRealmXto |
createUserRealm(String id,
String name,
String description)
Creates a new user realm.
|
void |
dropUserRealm(String id)
Drops the user realm associated with the given ID.
|
void |
generatePasswordResetToken(String realm,
String account)
Generates a token which is required to perform resetPassword.
|
DeputiesXto |
getDeputies(UserInfoXto user)
Returns a list of all deputy users for the given user.
|
UserXto |
getSessionUser()
Retrieves information on the current user.
|
UserXto |
getUser(long oid)
Retrieves the specified user by userOid.
|
UserGroupXto |
getUserGroup(long oid)
Retrieves the specified user group.
|
org.eclipse.stardust.engine.api.ws.GetUserRealmsResponse.UserRealmsXto |
getUserRealms()
Retrieves all existing user realms.
|
DeputiesXto |
getUsersBeingDeputyFor(UserInfoXto deputyUser)
Returns a list of all users for which the given user is an deputy user.
|
UserXto |
invalidateUser(String accountId,
String realmId)
Invalidates the user with the specified account.
|
UserGroupXto |
invalidateUserGroup(Long userGroupOid,
String userGroupId)
Invalidates the specified user group.
|
boolean |
isInternalAuthentication()
Checks if internal authentication is used.
|
boolean |
isInternalAuthorization()
Checks if internal authorization is used.
|
DeputyXto |
modifyDeputy(UserInfoXto user,
UserInfoXto deputyUser,
DeputyOptionsXto options)
Modifies an existing deputy user for a given user.
|
UserXto |
modifyLoginUser(String oldPassword,
String firstName,
String lastName,
String newPassword,
String eMail)
Modifies the current user.
|
UserXto |
modifyUser(UserXto user,
Boolean generatePassword)
Modifies the specified user.
|
UserGroupXto |
modifyUserGroup(UserGroupXto userGroup)
Modifies the specified user group.
|
void |
removeDeputy(UserInfoXto user,
UserInfoXto deputyUser)
Removes an existing deputy user for a given user.
|
void |
resetPassword(String account,
MapXto properties,
String token)
Resets the password of specified user by generated password according to configured password rules.
|
@RequestWrapper(localName="generatePasswordResetToken", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GeneratePasswordResetToken") @ResponseWrapper(localName="generatePasswordResetTokenResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GeneratePasswordResetTokenResponse") void generatePasswordResetToken(String realm, String account) throws BpmFault
BpmFault@RequestWrapper(localName="getSessionUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetSessionUser") @ResponseWrapper(localName="getSessionUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetSessionUserResponse") UserXto getSessionUser() throws BpmFault
BpmFault@RequestWrapper(localName="getDeputies", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetDeputies") @ResponseWrapper(localName="getDeputiesResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetDeputiesResponse") DeputiesXto getDeputies(UserInfoXto user) throws BpmFault
BpmFault@RequestWrapper(localName="getUserRealms", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUserRealms") @ResponseWrapper(localName="getUserRealmsResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUserRealmsResponse") org.eclipse.stardust.engine.api.ws.GetUserRealmsResponse.UserRealmsXto getUserRealms() throws BpmFault
BpmFault@RequestWrapper(localName="isInternalAuthentication", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.IsInternalAuthentication") @ResponseWrapper(localName="isInternalAuthenticationResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.IsInternalAuthenticationResponse") boolean isInternalAuthentication() throws BpmFault
BpmFault@RequestWrapper(localName="createUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUser") @ResponseWrapper(localName="createUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUserResponse") UserXto createUser(UserXto user) throws BpmFault
BpmFault@RequestWrapper(localName="getUserGroup", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUserGroup") @ResponseWrapper(localName="getUserGroupResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUserGroupResponse") UserGroupXto getUserGroup(long oid) throws BpmFault
BpmFault@RequestWrapper(localName="modifyLoginUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyLoginUser") @ResponseWrapper(localName="modifyLoginUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyLoginUserResponse") UserXto modifyLoginUser(String oldPassword, String firstName, String lastName, String newPassword, String eMail) throws BpmFault
BpmFault@RequestWrapper(localName="getUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUser") @ResponseWrapper(localName="getUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUserResponse") UserXto getUser(long oid) throws BpmFault
BpmFault@RequestWrapper(localName="dropUserRealm", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.DropUserRealm") @ResponseWrapper(localName="dropUserRealmResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.DropUserRealmResponse") void dropUserRealm(String id) throws BpmFault
BpmFault@RequestWrapper(localName="createUserGroup", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUserGroup") @ResponseWrapper(localName="createUserGroupResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUserGroupResponse") UserGroupXto createUserGroup(UserGroupXto userGroup) throws BpmFault
BpmFault@RequestWrapper(localName="invalidateUserGroup", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.InvalidateUserGroup") @ResponseWrapper(localName="invalidateUserGroupResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.InvalidateUserGroupResponse") UserGroupXto invalidateUserGroup(Long userGroupOid, String userGroupId) throws BpmFault
BpmFault@RequestWrapper(localName="resetPassword", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ResetPassword") @ResponseWrapper(localName="resetPasswordResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ResetPasswordResponse") void resetPassword(String account, MapXto properties, String token) throws BpmFault
BpmFault@RequestWrapper(localName="modifyDeputy", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyDeputy") @ResponseWrapper(localName="modifyDeputyResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyDeputyResponse") DeputyXto modifyDeputy(UserInfoXto user, UserInfoXto deputyUser, DeputyOptionsXto options) throws BpmFault
BpmFault@RequestWrapper(localName="invalidateUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.InvalidateUser") @ResponseWrapper(localName="invalidateUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.InvalidateUserResponse") UserXto invalidateUser(String accountId, String realmId) throws BpmFault
BpmFault@RequestWrapper(localName="addDeputy", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.AddDeputy") @ResponseWrapper(localName="addDeputyResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.AddDeputyResponse") DeputyXto addDeputy(UserInfoXto user, UserInfoXto deputyUser, DeputyOptionsXto options) throws BpmFault
BpmFault@RequestWrapper(localName="isInternalAuthorization", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.IsInternalAuthorization") @ResponseWrapper(localName="isInternalAuthorizationResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.IsInternalAuthorizationResponse") boolean isInternalAuthorization() throws BpmFault
BpmFault@RequestWrapper(localName="modifyUserGroup", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyUserGroup") @ResponseWrapper(localName="modifyUserGroupResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyUserGroupResponse") UserGroupXto modifyUserGroup(UserGroupXto userGroup) throws BpmFault
BpmFault@RequestWrapper(localName="removeDeputy", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.RemoveDeputy") @ResponseWrapper(localName="removeDeputyResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.RemoveDeputyResponse") void removeDeputy(UserInfoXto user, UserInfoXto deputyUser) throws BpmFault
BpmFault@RequestWrapper(localName="modifyUser", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyUser") @ResponseWrapper(localName="modifyUserResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.ModifyUserResponse") UserXto modifyUser(UserXto user, Boolean generatePassword) throws BpmFault
BpmFault@RequestWrapper(localName="createUserRealm", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUserRealm") @ResponseWrapper(localName="createUserRealmResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.CreateUserRealmResponse") UserRealmXto createUserRealm(String id, String name, String description) throws BpmFault
BpmFault@RequestWrapper(localName="getUsersBeingDeputyFor", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUsersBeingDeputyFor") @ResponseWrapper(localName="getUsersBeingDeputyForResponse", targetNamespace="http://eclipse.org/stardust/ws/v2012a/api", className="org.eclipse.stardust.engine.api.ws.GetUsersBeingDeputyForResponse") DeputiesXto getUsersBeingDeputyFor(UserInfoXto deputyUser) throws BpmFault
BpmFaultCopyright © 2016 Eclipse Stardust. All Rights Reserved.