Class NucleusSyncAuthClient

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

@Component public class NucleusSyncAuthClient 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
    NucleusSyncAuthClient(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

    • NucleusSyncAuthClient

      public NucleusSyncAuthClient(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="#{${http-client.max-attempts:3}}", backoff=@Backoff(delayExpression="#{${http-client.initial-delay-ms:2000}}",multiplierExpression="#{${http-client.multiplier:2}}",maxDelayExpression="#{${http-client.max-delay-ms:10000}}")) 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