我正在尝试为Wildfly 9中的独立应用程序构建MS Active Directory验证。
在<security-domains>
下的standalone-full.xml中,我已添加:
<security-domain name="ldap-login-module" cache-type="default">
<authentication>
<login-module code="com.sun.security.auth.module.LdapLoginModule" flag="required">
<module-option name="userProvider" value="ldap://192.168.13.7/CN=user,DC=my,DC=example,DC=com"/>
</login-module>
</authentication>
</security-domain>
在web.xml中我添加了:
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>ldap-login-module</realm-name>
</login-config>
我创建了我的jboss-web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<jboss-web>
<security-domain>ldap-login-module</security-domain>
</jboss-web>
当我部署应用程序并尝试在浏览器中打开它时,我在server.log中收到此错误:
2015-07-14 13:02:33,109 ERROR [org.jboss.as.controller.management-operation] (DeploymentScanner-threads - 1) WFLYCTL0013: Operation ("full-replace-deployment") failed - address: ([]) - failure description: {"WFLYCTL0180: Services with missing/unavailable dependencies" => ["jboss.undertow.deployment.default-server.default-host./sienna.UndertowDeploymentInfoService is missing [jboss.security.security-domain.ldap-login-module]"]}
在添加上述xml之前,应用程序将部署并正常运行。我需要修理什么?