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 Details

    • NoCredentialResetImpl

      public NoCredentialResetImpl()
  • Method Details

    • getSettings

      public String getSettings()
      Specified by:
      getSettings in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
    • setSubject

      public void setSubject(pl.edu.icm.unity.engine.api.authn.AuthenticationSubject subject)
      Specified by:
      setSubject in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
    • getSecurityQuestion

      public String getSecurityQuestion()
      Specified by:
      getSecurityQuestion in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
    • verifyStaticData

      public void verifyStaticData(String aswer) throws pl.edu.icm.unity.base.exceptions.WrongArgumentException, pl.edu.icm.unity.base.identity.IllegalIdentityValueException, pl.edu.icm.unity.engine.api.authn.TooManyAttempts
      Specified by:
      verifyStaticData in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
      Throws:
      pl.edu.icm.unity.base.exceptions.WrongArgumentException
      pl.edu.icm.unity.base.identity.IllegalIdentityValueException
      pl.edu.icm.unity.engine.api.authn.TooManyAttempts
    • verifyDynamicData

      public void verifyDynamicData(String emailCode) throws pl.edu.icm.unity.base.exceptions.WrongArgumentException, pl.edu.icm.unity.engine.api.authn.TooManyAttempts
      Specified by:
      verifyDynamicData in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
      Throws:
      pl.edu.icm.unity.base.exceptions.WrongArgumentException
      pl.edu.icm.unity.engine.api.authn.TooManyAttempts
    • sendCode

      public void sendCode(String messageTemplate, boolean onlyNumberCode) throws pl.edu.icm.unity.base.exceptions.EngineException
      Specified by:
      sendCode in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException
    • getCredentialConfiguration

      public String getCredentialConfiguration()
      Specified by:
      getCredentialConfiguration in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
    • updateCredential

      public void updateCredential(String newCredential) throws pl.edu.icm.unity.base.exceptions.EngineException
      Specified by:
      updateCredential in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
      Throws:
      pl.edu.icm.unity.base.exceptions.EngineException
    • getEntityId

      public Long getEntityId()
      Specified by:
      getEntityId in interface pl.edu.icm.unity.engine.api.authn.CredentialReset