Class Authentication


  • public class Authentication
    extends Object
    Constants and utility methods for HTTP authentication
    • Method Detail

      • extractAuthHeader

        public static void extractAuthHeader​(javax.servlet.http.HttpServletRequest request,
                                             BiConsumer<String,​String> callback)
        Extracts username/password from Authorization header. Callback is invoked only when Authorization header is present.