2
は、私のようなXMLでBeanを持って<security:custom-authentication-provider />を意味しますか?
私が知っている.may
以下のものを行い、セキュリティ:私は上記のように私の豆に入れたときにカスタム認証プロバイダが意味しますか?<bean id="theCustomAuthenticationProvider" class="test.custom.CustomAuthenticationProvider"> <security:custom-authentication-provider />
b。私は作成する必要があります
<bean id="authenticationManager" class="org.springframework.security.providers.ProviderManager"> ref to theCustomAuthenticationProvider
xml?
c。 b。答えは「はい」です。代わりに、私はtheCustomAuthenticationProviderinsideタグのrefを使用できますか?
<security:custom-authentication-provider />
春のセキュリティが提供するAuthenicationManager
と認証プロバイダとしてBeanを]レジスタウィル: