Class LiveIngesterAuthClient

java.lang.Object
org.alfresco.hxi_connector.common.adapters.auth.DefaultAuthenticationClient
org.alfresco.hxi_connector.live_ingester.adapters.auth.LiveIngesterAuthClient
All Implemented Interfaces:
org.alfresco.hxi_connector.common.adapters.auth.AuthenticationClient

@Component public class LiveIngesterAuthClient extends org.alfresco.hxi_connector.common.adapters.auth.DefaultAuthenticationClient
  • Field Summary

    Fields inherited from class org.alfresco.hxi_connector.common.adapters.auth.DefaultAuthenticationClient

    AUTH_ERROR_LOG_MESSAGE, authProperties, EXPECTED_STATUS_CODE
  • Constructor Summary

    Constructors
    Constructor
    Description
    LiveIngesterAuthClient(org.alfresco.hxi_connector.common.adapters.auth.config.properties.AuthProperties authProperties)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.alfresco.hxi_connector.common.adapters.auth.AuthenticationResult
    authenticate(String providerId)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LiveIngesterAuthClient

      public LiveIngesterAuthClient(org.alfresco.hxi_connector.common.adapters.auth.config.properties.AuthProperties authProperties)
  • Method Details

    • authenticate

      @Retryable(retryFor=org.alfresco.hxi_connector.common.exception.EndpointServerErrorException.class, maxAttemptsExpression="#{@authorizationProperties.retry.attempts}", backoff=@Backoff(delayExpression="#{@authorizationProperties.retry.initialDelay}",multiplierExpression="#{@authorizationProperties.retry.delayMultiplier}")) public org.alfresco.hxi_connector.common.adapters.auth.AuthenticationResult authenticate(String providerId)
      Specified by:
      authenticate in interface org.alfresco.hxi_connector.common.adapters.auth.AuthenticationClient
      Overrides:
      authenticate in class org.alfresco.hxi_connector.common.adapters.auth.DefaultAuthenticationClient