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
ConstructorsConstructorDescriptionNucleusSyncAuthClient(org.alfresco.hxi_connector.common.adapters.auth.config.properties.AuthProperties authProperties) -
Method Summary
Modifier and TypeMethodDescriptionorg.alfresco.hxi_connector.common.adapters.auth.AuthenticationResultauthenticate(String providerId)
-
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:
authenticatein interfaceorg.alfresco.hxi_connector.common.adapters.auth.AuthenticationClient- Overrides:
authenticatein classorg.alfresco.hxi_connector.common.adapters.auth.DefaultAuthenticationClient
-