We are authenticating a user using the /j_security_check and then adapting the sling request to UserProperties and UserPropertiesUtil.isAnonymous and always returning true and the username is anonymous and not the name that was logged in
code example
UserPropertiesUtil..isAnonymous(slingRequest)
is always true when logged in as admin or any other created user that sits under /home/users/
Solved! Go to Solution.
Views
Replies
Total Likes
These are AEM User APIs that should have clear code examples that explains these concepts. I will be adding this use case to the community article list. IN the mean time -- I will dug up code to answer your question.
Views
Replies
Total Likes
These are AEM User APIs that should have clear code examples that explains these concepts. I will be adding this use case to the community article list. IN the mean time -- I will dug up code to answer your question.
Views
Replies
Total Likes
so on an author instance its anonymous and then on a publish instance it correct
Views
Replies
Total Likes
This functionality needs to be captured in a developer article -- i have tracked it and it will be written.
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies