Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

CUG Login Authentication

anshumank367659
Level 2
Level 2

Hello Devs,

I created a login functionality, which uses CUG credentials for authentication. It requests /j_security_check servlet for authentication. The functionality throws 404 when triggered over dispatcher. I also allowed the request to the servlet path in the dispatcher configs, but unfortunately it is not a success. Can you suggest some way to allow the post request to reach the AEM server.

Thanks Folks...

1 Accepted Solution
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Please check this post to validate publish-service user and dispatcher related configurations

CUG login not working on publish server after restart

Share the logs/screenshot if this doesn't work.

dispatcher.any config:

/0099 { /type "allow" /global "*j_security_check*" }

View solution in original post

4 Replies
Gaurav-Behl
Correct answer by
Community Advisor
Community Advisor

Please check this post to validate publish-service user and dispatcher related configurations

CUG login not working on publish server after restart

Share the logs/screenshot if this doesn't work.

dispatcher.any config:

/0099 { /type "allow" /global "*j_security_check*" }

View solution in original post

anshumank367659
Level 2
Level 2

Thank you so very much Gaurav, It worked.

Gaurav-Behl
Community Advisor
Community Advisor

Glad to see it work!

What was the issue?

anshumank367659
Level 2
Level 2

I guess, I was going wrong somewhere in the rule. Thanks again Gaurav.