Package org.gluu.oxtrust.action
Class PasswordResetAction
- java.lang.Object
-
- org.gluu.oxtrust.action.PasswordResetAction
-
- All Implemented Interfaces:
java.io.Serializable
@ConversationScoped @Named("passwordResetAction") public class PasswordResetAction extends java.lang.Object implements java.io.Serializable
User: Dejan Maric- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PasswordResetAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
cancel()
boolean
captchaEnable()
java.lang.String
checkAnswer()
GluuCustomAttribute
getAnswer()
boolean
getAuthenticationRecaptchaEnabled()
java.lang.String
getCode()
java.lang.String
getConfirm()
java.lang.String
getGuid()
java.lang.String
getPassword()
PasswordResetRequest
getRequest()
java.lang.String
getResponse()
java.lang.String
getSecurityAnswer()
java.lang.String
getSecurityQuestion()
boolean
hasSecurityQuestion()
void
hasSecurityQuestion(boolean hasSecurityQuestion)
@javax.validation.constraints.AssertTrue(message="Different passwords entered!") boolean
isPasswordsEquals()
void
redirect()
protected void
sendExpirationError()
void
setAnswer(GluuCustomAttribute answer)
void
setCode(java.lang.String code)
void
setConfirm(java.lang.String confirm)
void
setGuid(java.lang.String guid)
void
setPassword(java.lang.String password)
void
setResponse(java.lang.String response)
void
setSecurityAnswer(java.lang.String securityAnswer)
void
setSecurityQuestion(java.lang.String securityQuestion)
java.lang.String
start()
void
update()
java.lang.String
updateImpl()
-
-
-
Method Detail
-
start
public java.lang.String start() throws java.text.ParseException
- Throws:
java.text.ParseException
-
sendExpirationError
protected void sendExpirationError()
-
update
public void update()
-
updateImpl
public java.lang.String updateImpl()
-
captchaEnable
public boolean captchaEnable()
-
cancel
public java.lang.String cancel()
-
redirect
public void redirect()
-
checkAnswer
public java.lang.String checkAnswer()
-
isPasswordsEquals
@AssertTrue(message="Different passwords entered!") public @javax.validation.constraints.AssertTrue(message="Different passwords entered!") boolean isPasswordsEquals()
-
getRequest
public PasswordResetRequest getRequest()
-
getGuid
public java.lang.String getGuid()
-
setGuid
public void setGuid(java.lang.String guid)
-
getSecurityQuestion
public java.lang.String getSecurityQuestion()
-
setSecurityQuestion
public void setSecurityQuestion(java.lang.String securityQuestion)
-
getSecurityAnswer
public java.lang.String getSecurityAnswer()
-
setSecurityAnswer
public void setSecurityAnswer(java.lang.String securityAnswer)
-
getPassword
public java.lang.String getPassword()
-
setPassword
public void setPassword(java.lang.String password)
-
getConfirm
public java.lang.String getConfirm()
-
setConfirm
public void setConfirm(java.lang.String confirm)
-
getAuthenticationRecaptchaEnabled
public boolean getAuthenticationRecaptchaEnabled()
-
getCode
public java.lang.String getCode()
-
setCode
public void setCode(java.lang.String code)
-
getAnswer
public GluuCustomAttribute getAnswer()
-
setAnswer
public void setAnswer(GluuCustomAttribute answer)
-
hasSecurityQuestion
public boolean hasSecurityQuestion()
-
hasSecurityQuestion
public void hasSecurityQuestion(boolean hasSecurityQuestion)
-
getResponse
public java.lang.String getResponse()
-
setResponse
public void setResponse(java.lang.String response)
-
-