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 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 StringgetCredentialConfiguration()LonggetEntityId()StringgetSecurityQuestion()StringgetSettings()voidsendCode(String messageTemplate, boolean onlyNumberCode)voidsetSubject(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject subject)voidupdateCredential(String newCredential)voidverifyDynamicData(String emailCode)voidverifyStaticData(String aswer)
-
-
-
Method Detail
-
getSettings
public 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 String getSecurityQuestion()
- Specified by:
getSecurityQuestionin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
verifyStaticData
public void verifyStaticData(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(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(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 String getCredentialConfiguration()
- Specified by:
getCredentialConfigurationin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
updateCredential
public void updateCredential(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 Long getEntityId()
- Specified by:
getEntityIdin interfacepl.edu.icm.unity.engine.api.authn.CredentialReset
-
-