java wildfly(9)+kerberos+ldap(Active Directory)
我想说的是,wildfly 9将能够使用kerberos对用户进行身份验证,并使用ldap对用户进行授权
我有一个使用JAAS的富EJB客户端(有^{
我需要一些样品,包括一步一步的配置
我发现:
- 带LDAP的wildfly(https://developer.jboss.org/wiki/LDAPSecurityRealmExamples)
- 野蝇与SPNEGO(https://github.com/kwart/spnego-demo)
- wildfly使用kerberos进行服务器管理(http://darranl.blogspot.co.uk/2014/10/wildfly-9-kerberos-authentication-for.html, http://darranl.blogspot.co.uk/2014/11/wildfly-9-kerberos-authentication-with.html)
然而,我没有web,而是富应用程序+我没有使用LDAP进行身份验证,而是使用kerberos。我不仅需要使用kerberos对管理操作进行身份验证
有完整的样品/参考资料吗
# 1 楼答案
我设法使它与这个库一起工作:
https://github.com/dstraub/spnego-wildfly
将jar合并到应用程序中(MVN存储库中不可用),然后必须指定身份验证机制“SPNEGO”,例如在web中。xml、配置active directory、创建密钥表、配置单机版。xml或域。xml,也可以在前面使用apache和负载平衡器,示例应用就是一个例子