Class PAMVerificator

  • All Implemented Interfaces:
    pl.edu.icm.unity.engine.api.authn.CredentialExchange, pl.edu.icm.unity.engine.api.authn.CredentialVerificator, pl.edu.icm.unity.engine.api.utils.StringConfigurable, pl.edu.icm.unity.stdext.credential.pass.PasswordExchange, pl.edu.icm.unity.types.DescribedObject, pl.edu.icm.unity.types.NamedObject

    public class PAMVerificator
    extends pl.edu.icm.unity.engine.api.authn.remote.AbstractRemoteVerificator
    implements pl.edu.icm.unity.stdext.credential.pass.PasswordExchange
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PAMVerificator.Factory  
      • Nested classes/interfaces inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator

        pl.edu.icm.unity.engine.api.authn.CredentialVerificator.VerificatorType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static String DESCRIPTION  
      static String IDP  
      static String NAME  
      • Fields inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator

        identityResolver, instanceName
      • Fields inherited from interface pl.edu.icm.unity.stdext.credential.pass.PasswordExchange

        ID
    • Constructor Summary

      Constructors 
      Constructor Description
      PAMVerificator​(pl.edu.icm.unity.engine.api.authn.remote.RemoteAuthnResultTranslator translator, pl.edu.icm.unity.engine.api.authn.remote.RemoteAuthnResponseProcessor remoteAuthnProcessor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword​(String username, String password, String formForUnknown, boolean enableAssociation, pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext triggeringContext)  
      pl.edu.icm.unity.engine.api.authn.CredentialReset getCredentialResetBackend()  
      String getSerializedConfiguration()  
      pl.edu.icm.unity.engine.api.authn.CredentialVerificator.VerificatorType getType()  
      void setSerializedConfiguration​(String config)  
      • Methods inherited from class pl.edu.icm.unity.engine.api.authn.remote.AbstractRemoteVerificator

        addGenericMessageIfError, getIdPs, getResult, getResultForNonInteractiveAuthn, getTranslationProfile
      • Methods inherited from class pl.edu.icm.unity.engine.api.authn.AbstractVerificator

        getDescription, getExchangeId, getName, setIdentityResolver, setInstanceName
      • Methods inherited from interface pl.edu.icm.unity.engine.api.authn.CredentialExchange

        getExchangeId
    • Constructor Detail

      • PAMVerificator

        @Autowired
        public PAMVerificator​(pl.edu.icm.unity.engine.api.authn.remote.RemoteAuthnResultTranslator translator,
                              pl.edu.icm.unity.engine.api.authn.remote.RemoteAuthnResponseProcessor remoteAuthnProcessor)
    • Method Detail

      • getSerializedConfiguration

        public String getSerializedConfiguration()
        Specified by:
        getSerializedConfiguration in interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
      • setSerializedConfiguration

        public void setSerializedConfiguration​(String config)
        Specified by:
        setSerializedConfiguration in interface pl.edu.icm.unity.engine.api.utils.StringConfigurable
      • checkPassword

        public pl.edu.icm.unity.engine.api.authn.AuthenticationResult checkPassword​(String username,
                                                                                    String password,
                                                                                    String formForUnknown,
                                                                                    boolean enableAssociation,
                                                                                    pl.edu.icm.unity.engine.api.authn.remote.AuthenticationTriggeringContext triggeringContext)
        Specified by:
        checkPassword in interface pl.edu.icm.unity.stdext.credential.pass.PasswordExchange
      • getCredentialResetBackend

        public pl.edu.icm.unity.engine.api.authn.CredentialReset getCredentialResetBackend()
        Specified by:
        getCredentialResetBackend in interface pl.edu.icm.unity.stdext.credential.pass.PasswordExchange
      • getType

        public pl.edu.icm.unity.engine.api.authn.CredentialVerificator.VerificatorType getType()
        Specified by:
        getType in interface pl.edu.icm.unity.engine.api.authn.CredentialVerificator