Class 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 Detail

      • NoCredentialResetImpl

        public NoCredentialResetImpl()
    • Method Detail

      • 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.exceptions.WrongArgumentException,
                                     pl.edu.icm.unity.exceptions.IllegalIdentityValueException,
                                     pl.edu.icm.unity.exceptions.TooManyAttempts
        Specified by:
        verifyStaticData in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
        Throws:
        pl.edu.icm.unity.exceptions.WrongArgumentException
        pl.edu.icm.unity.exceptions.IllegalIdentityValueException
        pl.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:
        verifyDynamicData in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
        Throws:
        pl.edu.icm.unity.exceptions.WrongArgumentException
        pl.edu.icm.unity.exceptions.TooManyAttempts
      • sendCode

        public void sendCode​(String messageTemplate,
                             boolean onlyNumberCode)
                      throws pl.edu.icm.unity.exceptions.EngineException
        Specified by:
        sendCode in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
        Throws:
        pl.edu.icm.unity.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.exceptions.EngineException
        Specified by:
        updateCredential in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • getEntityId

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