You would have to write a custom configuration to create a Feign request interceptor that handles the authentication on requests. Alfresco's default is handled via the BasicAuthRequestInterceptor configured based on the properties.
Thanks @afaust
Can we use this
the only issue is like the class AuthenticationApi is not available after adding the dependency which has been mentioned in the above link.
So don't know how to resolve this dependency.
You could use it - if Alfresco did not, for some reason, "forget" to generate the Java classes for that API based on the Swagger configuration. You should file an issue with that project for this particular bug.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.