Implementing different auth method

Hello

I’‘m having some problems with implementing new, custom auth method. I created new class in auth/ directory, added necesary stuff, and added appropriate definition to config file. Unfortunatelly it doesn’'t seem to work.

It seems that my class is invoked when logging through www console - I can see it in the logs, but when logging with external program (like, say psi), it falls back to te normal way of authenticating.

Is there another place I need to change?

Thanks in advance for your help

Bye

Hi Marcin,

Did you also create a custom UserProvider class?

Thanks,

Ryan

At the moment of writing the previous mail I hadn’‘t. But now I have it also. I added there a few lines of code, but they weren’'t critical.

It works quite well now.

Just found another thing to stuck on - where should I look for switching off digest authentication?

Bye

Override isDigestSupported() to return false in your AuthProvider implementation.

Hope that helps

–Conor.

It works quite well now.

Glad to hear it. Be sure to mark your question as answered and award any points as you see fit.

Thanks,

Ryan