@Controller
public class PasswordResetEndpoint
extends java.lang.Object
| Constructor and Description |
|---|
PasswordResetEndpoint(ResetPasswordService resetPasswordService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.String>> |
changePassword(PasswordReset passwordReset) |
org.springframework.web.servlet.View |
handleException(InvalidPasswordException t) |
org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.String>> |
resetPassword(java.lang.String email) |
void |
setMessageConverters(org.springframework.http.converter.HttpMessageConverter<?>[] messageConverters) |
public PasswordResetEndpoint(ResetPasswordService resetPasswordService)
public void setMessageConverters(org.springframework.http.converter.HttpMessageConverter<?>[] messageConverters)
@RequestMapping(value="/password_resets",
method=POST)
public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.String>> resetPassword(@RequestBody
java.lang.String email)
throws java.io.IOException
java.io.IOException@RequestMapping(value="/password_change",
method=POST)
public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,java.lang.String>> changePassword(@RequestBody
PasswordReset passwordReset)
@ExceptionHandler(value=InvalidPasswordException.class) public org.springframework.web.servlet.View handleException(InvalidPasswordException t) throws ScimException
ScimException