Class NoCredentialResetImpl
- java.lang.Object
-
- pl.edu.icm.unity.stdext.credential.NoCredentialResetImpl
-
- All Implemented Interfaces:
pl.edu.icm.unity.engine.api.authn.CredentialReset
public class NoCredentialResetImpl extends java.lang.Object implements pl.edu.icm.unity.engine.api.authn.CredentialReset
-
-
Constructor Summary
Constructors Constructor Description NoCredentialResetImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetCredentialConfiguration()java.lang.LonggetEntityId()java.lang.StringgetSecurityQuestion()java.lang.StringgetSettings()voidsendCode(java.lang.String messageTemplate, boolean onlyNumberCode)voidsetSubject(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject subject)voidupdateCredential(java.lang.String newCredential)voidverifyDynamicData(java.lang.String emailCode)voidverifyStaticData(java.lang.String aswer)
-
-
-
Method Detail
-
getSettings
public java.lang.String getSettings()
- Specified by:
getSettingsin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
setSubject
public void setSubject(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject subject)
- Specified by:
setSubjectin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
getSecurityQuestion
public java.lang.String getSecurityQuestion()
- Specified by:
getSecurityQuestionin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
verifyStaticData
public void verifyStaticData(java.lang.String aswer) throws pl.edu.icm.unity.exceptions.WrongArgumentException, pl.edu.icm.unity.exceptions.IllegalIdentityValueException, pl.edu.icm.unity.exceptions.TooManyAttempts- Specified by:
verifyStaticDatain interfacepl.edu.icm.unity.engine.api.authn.CredentialReset- Throws:
pl.edu.icm.unity.exceptions.WrongArgumentExceptionpl.edu.icm.unity.exceptions.IllegalIdentityValueExceptionpl.edu.icm.unity.exceptions.TooManyAttempts
-
verifyDynamicData
public void verifyDynamicData(java.lang.String emailCode) throws pl.edu.icm.unity.exceptions.WrongArgumentException, pl.edu.icm.unity.exceptions.TooManyAttempts- Specified by:
verifyDynamicDatain interfacepl.edu.icm.unity.engine.api.authn.CredentialReset- Throws:
pl.edu.icm.unity.exceptions.WrongArgumentExceptionpl.edu.icm.unity.exceptions.TooManyAttempts
-
sendCode
public void sendCode(java.lang.String messageTemplate, boolean onlyNumberCode) throws pl.edu.icm.unity.exceptions.EngineException- Specified by:
sendCodein interfacepl.edu.icm.unity.engine.api.authn.CredentialReset- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getCredentialConfiguration
public java.lang.String getCredentialConfiguration()
- Specified by:
getCredentialConfigurationin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
updateCredential
public void updateCredential(java.lang.String newCredential) throws pl.edu.icm.unity.exceptions.EngineException- Specified by:
updateCredentialin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getEntityId
public java.lang.Long getEntityId()
- Specified by:
getEntityIdin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
-