Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

CUG Login Authentication

Avatar

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

Avatar

Correct answer by
Level 10

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

5 Replies

Avatar

Correct answer by
Level 10

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*" }

Avatar

Level 2

Thank you so very much Gaurav, It worked.

Avatar

Level 10

Glad to see it work!

What was the issue?

Avatar

Level 2

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

Hi All,

I have used same in my filter file 

/0099 { /type "allow" /glob"*j_security_check*" } it is not working but when i am trying to put /0099 { /type "allow" /global "*j_security_check*" } it giving me a syntax error .Please help me what wrong i have done.

 

Thanks,

Adarsh