@Controller
public class PasswordChangeEndpoint
extends java.lang.Object
| Constructor and Description |
|---|
PasswordChangeEndpoint() |
| Modifier and Type | Method and Description |
|---|---|
org.cloudfoundry.identity.uaa.message.SimpleMessage |
changePassword(java.lang.String userId,
org.cloudfoundry.identity.uaa.message.PasswordChangeRequest change) |
org.springframework.web.servlet.View |
handleException(InvalidPasswordException t) |
org.springframework.web.servlet.View |
handleException(ScimException e) |
org.springframework.web.servlet.View |
handleException(ScimResourceNotFoundException e) |
void |
setMessageConverters(org.springframework.http.converter.HttpMessageConverter<?>[] messageConverters)
Set the message body converters to use.
|
void |
setPasswordValidator(PasswordValidator passwordValidator) |
void |
setScimUserProvisioning(ScimUserProvisioning provisioning) |
public void setScimUserProvisioning(ScimUserProvisioning provisioning)
public void setPasswordValidator(PasswordValidator passwordValidator)
public void setMessageConverters(org.springframework.http.converter.HttpMessageConverter<?>[] messageConverters)
These converters are used to convert from and to HTTP requests and responses.
@RequestMapping(value="/Users/{userId}/password",
method=PUT)
@ResponseBody
public org.cloudfoundry.identity.uaa.message.SimpleMessage changePassword(@PathVariable
java.lang.String userId,
@RequestBody
org.cloudfoundry.identity.uaa.message.PasswordChangeRequest change)
@ExceptionHandler public org.springframework.web.servlet.View handleException(ScimResourceNotFoundException e)
@ExceptionHandler(value=ScimException.class) public org.springframework.web.servlet.View handleException(ScimException e)
@ExceptionHandler(value=InvalidPasswordException.class) public org.springframework.web.servlet.View handleException(InvalidPasswordException t) throws ScimException
ScimException