cancel
Showing results for 
Search instead for 
Did you mean: 

How to override basic http authentication using a plugin?

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

Hi,

I am using .Net Drivers Client class to create a new instance and to connect to nuxeo. I want to do so that I can pass just the username and my login plugin handles the internal logic according to our external authentication. For that purpose I would like to override the basic http authentication ? Could some one give me some pointers on how to approach this?

I am overriding it here https://github.com/sherry-ummen/NuxeoLoginPlugin/blob/master/CompanyAuthenticator-core/src/main/reso... , but does not seem to affect. I don't understand the reason ro as usual I am missing something.

Florent Guillaume Gabriel Barata could you guys help me?

1 REPLY 1

Sherry_Ummen
Champ on-the-rise
Champ on-the-rise

So I fixed it by adding the URL Pattern to override the api calls and the automation calls. Check here https://github.com/sherry-ummen/NuxeoLoginPlugin/blob/master/CompanyAuthenticator-core/src/main/reso...