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

      • NoCredentialResetImpl

        public NoCredentialResetImpl()
    • Method Detail

      • getSettings

        public java.lang.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 java.lang.String getSecurityQuestion()
        Specified by:
        getSecurityQuestion in interface pl.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:
        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​(java.lang.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​(java.lang.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 java.lang.String getCredentialConfiguration()
        Specified by:
        getCredentialConfiguration in interface pl.edu.icm.unity.engine.api.authn.CredentialReset
      • updateCredential

        public void updateCredential​(java.lang.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 java.lang.Long getEntityId()
        Specified by:
        getEntityId in interface pl.edu.icm.unity.engine.api.authn.CredentialReset