Hi Dan,

Since your latest changes to the authentication engine, I don't know 
how to handle authentication in my REST authenticator.

If my authenticator returns false for: 
        isValid(AuthenticationRequest request)
i.e. if the credentials are not valid, I get an error message:

HTTP ERROR 500

Problem accessing /logon.app. Reason:

    No authenticator available for processing 
org.apache.isis.core.runtime.authentication.AuthenticationRequestPassword

Caused by:

org.apache.isis.core.runtime.authentication.standard.NoAuthenticatorException: 
No authenticator available for processing 
org.apache.isis.core.runtime.authentication.AuthenticationRequestPassword
        at 
org.apache.isis.core.runtime.authentication.standard.AuthenticationManagerStandard.authenticate(AuthenticationManagerStandard.java:126)
        at 
org.apache.isis.viewer.html.servlet.LogonServlet.authenticate(LogonServlet.java:126)


If I return true, then you can login with any credentials whatsoever.

Something is not quite right with this... what should I be doing?

Regards,
Kevin

Reply via email to