Interface AuthenticationProvider

    • Method Detail

      • augmentResponseByAuthenticationChallenge

        void augmentResponseByAuthenticationChallenge​(javax.servlet.http.HttpServletResponse response,
                                                      ProcessEngine engine)

        Callback to add an authentication challenge to the response to the client. Called in case of unsuccessful authentication.

        For example, a Http Basic auth implementation may set the WWW-Authenticate header to Basic realm="engine name".

        Parameters:
        request - the response to augment
        engine - the process engine the request addressed. May be considered as an authentication realm to create a specific authentication challenge