public static Cookie getCookie(final WebContext context, final String name) {
        return getCookie(context.getRequestCookies(), name);
    }
Get a specific cookie by its name.

@param context the current web context
@param name the name of the cookie
@return the cookie
pac4j-core/src/main/java/org/pac4j/core/context/WebContextHelper.java