Class PasswordResetController
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.ria.web.login.PasswordResetController
-
@Controller @RequestMapping("/password_reset") public class PasswordResetController extends java.lang.Object
Controller for handling password reset flow
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
PASSWORD_RESET_PAGE
-
Constructor Summary
Constructors Constructor Description PasswordResetController(PasswordResetService passwordResetService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getResetPage(java.lang.String resetId, boolean expired, org.springframework.ui.Model model)
Get the password reset page
-
-
-
Field Detail
-
PASSWORD_RESET_PAGE
public static final java.lang.String PASSWORD_RESET_PAGE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PasswordResetController
@Autowired public PasswordResetController(PasswordResetService passwordResetService)
-
-
Method Detail
-
getResetPage
@RequestMapping(value="/{resetId}", method=GET) public java.lang.String getResetPage(@PathVariable java.lang.String resetId, @RequestParam(required=false,defaultValue="false") boolean expired, org.springframework.ui.Model model)
Get the password reset page- Parameters:
resetId
- The ID of thePasswordReset
expired
- indicates whether we're showing the reset page because of an expired password or a reset request.model
- A model for the page- Returns:
- The string name of the page
-
-