Class ScimUsersController
java.lang.Object
de.hybris.platform.scimwebservices.v2.controllers.ScimUsersController
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUser(ScimUser scimUser) booleandeleteUser(String userId) getUsers(int startIndex, int count, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) protected static StringMethod to sanitize the input stringupdateUser(String userId, ScimUser scimUser) protected voidValidates the object by using the passed validator
-
Constructor Details
-
ScimUsersController
public ScimUsersController()
-
-
Method Details
-
createUser
-
updateUser
-
getUsers
@GetMapping(produces="application/json") public ScimUserList getUsers(@RequestParam(value="startIndex",defaultValue="1") int startIndex, @RequestParam(value="count",defaultValue="0") int count, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) -
getUser
-
deleteUser
@ResponseStatus(OK) @RequestMapping(value="/{userId}", method=DELETE) public boolean deleteUser(@PathVariable String userId) -
patchUser
-
validate
protected void validate(Object object, String objectName, org.springframework.validation.Validator validator) Validates the object by using the passed validator- Parameters:
object- the object to be validatedobjectName- the object namevalidator- validator which will validate the object
-
sanitize
Method to sanitize the input string- Parameters:
input- the input string- Returns:
- String sanitized string
-