我对jackrabbit和LDAP没有多少经验。我试图通过LDAP验证jcr用户。
这是如何工作的任何来源?
我已将repository.xml
文件配置为:
<Security appName="Jackrabbit">
<SecurityManager class="org.apache.jackrabbit.core.DefaultSecurityManager"
workspaceName="security">
</SecurityManager>
<AccessManager
class="org.apache.jackrabbit.core.security.DefaultAccessManager">
</AccessManager>
<LoginModule class="com.sun.security.auth.module.LdapLoginModule">
<param name="userProvider" value="ldap://localhost:10389/o=sm" />
<param name="authIdentity" value="uid={USERNAME}, ou=users, o=sm" />
<param name="useSSL" value="false" />
<param name="debug" value="true" />
</LoginModule>
</Security>
当我运行应用程序时,我收到以下异常:
javax.security.auth.login.LoginException: Configured bean implementat
ion class com.sun.security.auth.module.LdapLoginModule was not found.
知道这里出了什么问题吗?