I have built sling from svn and form based authentication works as expected. 
When starting Sling, <http://localhost:8080/system/console/slingauth> 
http://localhost:8080/system/console/slingauth shows "Apache Sling Form Based 
Authentication Handler" and form authentication works right out of the box.

However, I would like to use form based authentication with CRX. I have CRX 2.1 
(April 2010) installed. Under http://localhost:7402/system/console/slingauth, I 
only see "Token Authentication Handler." I have installed Apache Sling 
Authentication Service (org.apache.sling.auth.core) 1.0.2 and Apache Form Based 
Authentication Handler (org.apache.sling.auth.form) 1.0.0 bundles and updated 
to Apache Sling API 2.1.0 (org.apache.sling.api). All the above bundles are 
active. However, Form Based Authentication Handler does not show up as a 
registered authentication handler and request does not get authenticated, but a 
node is created (j_security_check).

At the bundles, I also see older Apache Sling Authentication Service 
(org.apache.sling.commons.auth) 0.9.0.R925144. If I disable this bundle, I do 
not see any authentication handler.

How could I use form-based auth authentication with CRX. Any more bundles or 
configuration needs to be changed?

Thanks.

Jozsef

Reply via email to