@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 |
handleCodeException(org.cloudfoundry.identity.uaa.error.InvalidCodeException t) |
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,
java.lang.String clientId,
java.lang.String redirectUri) |
void |
setCodeStore(org.cloudfoundry.identity.uaa.codestore.ExpiringCodeStore codeStore) |
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,
@RequestParam(required=false,value="client_id")
java.lang.String clientId,
@RequestParam(required=false,value="redirect_uri")
java.lang.String redirectUri)
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@ExceptionHandler(value=org.cloudfoundry.identity.uaa.error.InvalidCodeException.class)
public org.springframework.web.servlet.View handleCodeException(org.cloudfoundry.identity.uaa.error.InvalidCodeException t)
throws ScimException
ScimExceptionpublic void setCodeStore(org.cloudfoundry.identity.uaa.codestore.ExpiringCodeStore codeStore)