Can anyone point me to a working example/ demo of the cookie opt out service for AEM sites?
Sign in to like this content
Thanks for the links @Asutosh_Jena_ , your second link is the one in my original post.
I would like to see a working example of this cookie opt out feature so that i see how a working implementation differs from mine, so that I can spot what is wrong.
/** * A library to determine whether any opt-out cookie is set and whether a given cookie name is white-listed. * * The opt-out and white-list cookie names are determined by a server-side configuration * (<code>com.adobe.granite.security.commons.OptOutService</code>) and provided to this tool by an optionally * included component (<code>/libs/granite/security/components/optout</code>) which provides a global JSON object * named <code>GraniteOptOutConfig</code>. * * @static * @class Granite.OptOutUtil */