Expand my Community achievements bar.

Join us in celebrating the outstanding achievement of our AEM Community Member of the Year!
SOLVED

permissive servlet not getting invoked for each request

Avatar

Level 5

Hi ,

I am trying to implement permissive servlet, as advised in below mentioned page :

https://docs.adobe.com/docs/en/dispatcher/permissions-cache.html

I have deployed the servlet and made changes as advised, however I do not see my servlet getting called for each request.

Should the /sessionmanagement section be there along with /authchecker at the same time or only one of them should be present.

I have /allowAuthorized "0" in cache section.

and below is part for /authchecker

/auth_checker
  {
  # request is sent to this URL with '?uri=<page>' appended
  /url "/bin/permissioncheck"
       
  # only the requested pages matching the filter section below are checked,
  # all other pages get delivered unchecked
  /filter
    {
    /0000
      {
      /glob "*"
      /type "deny"
      }
    /0001
      {
      /glob "/content/*.html"
      /type "allow"
      }
    }
  # any header line returned from the auth_checker's HEAD request matching
  # the section below will be returned as well
  /headers
    {
    /0000
      {
      /glob "*"
      /type "deny"
      }
    /0001
      {
      /glob "Set-Cookie:*"
      /type "allow"
      }
    }
  }

 

Has anyone already been able to implement it?

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Could you please check this KB article,

Link:- https://helpx.adobe.com/experience-manager/kb/PSCachingDelivery.html

Or

Link:- http://blogs.adobe.com/contentmanagement/2012/05/19/how-to-enable-and-test-cqs-permission-sensitive-...

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

Hi 

Could you please check this KB article,

Link:- https://helpx.adobe.com/experience-manager/kb/PSCachingDelivery.html

Or

Link:- http://blogs.adobe.com/contentmanagement/2012/05/19/how-to-enable-and-test-cqs-permission-sensitive-...

I hope this would help you.

Thanks and Regards

Kautuk Sahni



Kautuk Sahni