Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

Login to CQ5 via java

Avatar

Level 5

We need to be able to login to cq5 via java as we are receiving the user's username from another system. Currently we get this check if the user exists using the jackrabbit usermanager and either redirect to a splash page or allow them through to the secure content. What we want to do instead is log them in to cq5 so we can use the out of the box comment system. We assign every user the same password which they never enter and are not informed what it is so we can create authentication info but I'm not sure where to pass this back to? We are currently using a custom authentication handler to perform these checks so any ideas how we can adapt this so the user is actually logged into cq5?

1 Reply