Hello, We use dropwizard-auth module and implements our own Authenticator with BasicCredentials. It works perfectly except that we want to return a specific message on authentication error to indicate that user account has been locked after N number of bad authentication.
I don't find a easy way to do this, except to rewrite an AuthFilter with lot of duplicate codes. BasicCredentialAuthFilter class has a private constructor so we cannot extend it directly. We tried also to implement an exception mapper but DropWizard authentication module already catch authentication exception. Do you have an idea of simple way to customize authentication error message ? -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
