public class SendPasswordResetInstructionsAction
extends org.springframework.webflow.action.AbstractAction
SendPasswordResetInstructionsAction.| Modifier and Type | Field and Description |
|---|---|
protected org.apereo.cas.configuration.CasConfigurationProperties |
casProperties
The CAS configuration properties.
|
protected org.apereo.cas.util.io.CommunicationsManager |
communicationsManager
The communication manager for SMS/emails.
|
static java.lang.String |
PARAMETER_NAME_TOKEN
Param name for the token.
|
protected org.apereo.cas.pm.PasswordManagementService |
passwordManagementService
The password management service.
|
| Constructor and Description |
|---|
SendPasswordResetInstructionsAction() |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
buildPasswordResetUrl(java.lang.String username,
org.apereo.cas.pm.PasswordManagementService passwordManagementService,
org.apereo.cas.configuration.CasConfigurationProperties casProperties)
Utility method to generate a password reset URL.
|
protected org.springframework.webflow.execution.Event |
doExecute(org.springframework.webflow.execution.RequestContext requestContext) |
protected boolean |
sendPasswordResetEmailToAccount(java.lang.String to,
java.lang.String url)
Send password reset email to account.
|
public static final java.lang.String PARAMETER_NAME_TOKEN
protected final org.apereo.cas.configuration.CasConfigurationProperties casProperties
protected final org.apereo.cas.util.io.CommunicationsManager communicationsManager
protected final org.apereo.cas.pm.PasswordManagementService passwordManagementService
protected org.springframework.webflow.execution.Event doExecute(org.springframework.webflow.execution.RequestContext requestContext)
doExecute in class org.springframework.webflow.action.AbstractActionpublic static java.lang.String buildPasswordResetUrl(java.lang.String username,
org.apereo.cas.pm.PasswordManagementService passwordManagementService,
org.apereo.cas.configuration.CasConfigurationProperties casProperties)
username - usernamepasswordManagementService - passwordManagementServicecasProperties - casPropertiesprotected boolean sendPasswordResetEmailToAccount(java.lang.String to,
java.lang.String url)
to - the tourl - the url