Package org.alfresco.rest.sdk.feign
Class DelegatedAuthenticationRequestInterceptor
java.lang.Object
org.alfresco.rest.sdk.feign.DelegatedAuthenticationRequestInterceptor
- All Implemented Interfaces:
feign.RequestInterceptor
public class DelegatedAuthenticationRequestInterceptor
extends Object
implements feign.RequestInterceptor
Feign
RequestInterceptor that delegates the authentication in an external class implementing DelegatedAuthenticationProvider.-
Constructor Summary
ConstructorsConstructorDescriptionDelegatedAuthenticationRequestInterceptor(DelegatedAuthenticationProvider delegatedAuthenticationProvider) Constructor. -
Method Summary
-
Constructor Details
-
DelegatedAuthenticationRequestInterceptor
public DelegatedAuthenticationRequestInterceptor(DelegatedAuthenticationProvider delegatedAuthenticationProvider) Constructor.- Parameters:
delegatedAuthenticationProvider- givenDelegatedAuthenticationProvider
-
-
Method Details
-
apply
public void apply(feign.RequestTemplate requestTemplate) - Specified by:
applyin interfacefeign.RequestInterceptor
-