Highlighted

CUG is not triggering

Avatar

Avatar

pavanb46130733

Avatar

pavanb46130733

pavanb46130733

18-12-2018

Hi All,

i have applied CUG to some page, while accessing this page from the publisher, we are getting redirected to configured login page, but whil accessing the same page through dispatcher we are not getting redirected to login page instea, anonymous users can also access this secured page.

We have made sure that pages are not cachi in dispatcher.

Could you please let me know what is the cause?

and also let me know ho can i debug this.

why anonymous user can access page secured by CUG, while accessing through dispatcher, but can not access while accessing directly the publisher.

regards,

Pavan bukka

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

958

Correct Answer

820

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

958

Correct Answer

820
Arun_Patidar
MVP

19-12-2018

Hi,

Could you please check if helps?

Creating a Closed User Group

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

19-12-2018

Did you configure your Dispatcher correctly - if a page is secured by a CUG, then an anonymous user should not be able to access it.

Highlighted

Avatar

Avatar

pavanb46130733

Avatar

pavanb46130733

pavanb46130733

19-12-2018

Dispatcher does not control the access to secured content to anonymous users, it just forwards the request to publisher. CUG manager on the publisher redirects the anonymous users to configured login page.

In our case CUG manager not redirecting the anonymous users to login page when the request is coming from dispatcher.

Highlighted

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

5.5K

Likes

955

Correct Answer

1.1K
kautuk_sahni
Community Manager

07-01-2019

Permission-sensitive caching enables you to cache secured pages. Dispatcher checks users' access permissions for a page before delivering the cached page. Please have a look at Caching Secured Content

This is great Community article:- http://www.aemcq5tutorials.com/tutorials/implement-cug-aem/

HTH