[英]Spring security with AD Authentication and Database Authorization
我正在嘗試實施此問題的解決方案
但是我不明白如何使用MyAuthoritySupplementingProvider。
有沒有人可以幫助我?
我認為MyAuthoritySupplementingProvider應該在
<beans:bean id="activeDirectoryAuthenticationProvider"
class="xxx.package.MyAuthoritySupplementingProvider">
<beans:constructor-arg value="mydomain" />
<beans:constructor-arg value="ldap://my URL :389" />
<beans:property name="convertSubErrorCodesToExceptions" value="true"/>
</beans:bean>
我不確定天氣是否會奏效,但要獲取更多詳細信息,請參閱《 Spring Security 3》第9章中的ldap和活動目錄配置和選項,這將幫助您更好地理解這一點,而不是單單通過如此張貼。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.