我在xml中有一个bean,如下所示
<bean id="theCustomAuthenticationProvider" class="test.custom.CustomAuthenticationProvider">
<security:custom-authentication-provider />
一个。我可以知道security:custom-authentication-provider 是什么意思,当我像上面那样把它放在我的bean 中时?
乙。我需要创建吗
<bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager"> ref to theCustomAuthenticationProvider
在 xml 中?
丙。如果 b。答案是肯定的,或者,我可以在标签内使用 CustomAuthenticationProvider 的 ref 吗?