現在、スプリングセキュリティが構成され、正しく機能しています。CASを機能させて、作成した複数のアプリでシングルサインオンを実行できるようにしたい。casにカスタムuserdetailServiceを使用させる方法がわかりません。
現在、これは私のspring-security.xmlです
    <authentication-manager alias="authManager">
        <authentication-provider user-service-ref="userDetailsService">
            <password-encoder ref="passwordEncoder">
                <salt-source ref="saltSource"/>
            </password-encoder>
        </authentication-provider>
    </authetication-manager>
私が見つけたすべてのcasの例から、次のように管理を実装すると言われています。
<beans:bean id="casAuthenticationProvider" class="org.springframework.security.cas.authentication.CasAuthenticationProvider">
    <beans:property name="authenticationUserDetailsService">
        <beans:bean class="org.springframework.security.core.userdetails.UserDetailsByNameServiceWrapper">
            <beans:constructor-arg ref="userDetailsService"/>
        </beans:bean>
    </beans:property>
    <beans:property name="serviceProperties" ref="serviceProperties"/>
    <beans:property name="ticketValidator">
        <beans:bean class="org.jasig.cas.client.validation.Cas20ServiceTicketValidator">
            <beans:constructor-arg index="0" value="https://localhost:8443/cas"/>
        </beans:bean>
    </beans:property>
    <beans:property name="key" value="1234554321"/>
</beans:bean>
<authentication-manager alias="authManager">
    <authentication-provider ref="casAuthenticationProvider"/>
</authentication-manager>
ドキュメントは紛らわしいです。動作中のスプリングセキュリティアプリから、casを実装し、カスタムユーザーの詳細を引き続き使用するアプリに移行するにはどうすればよいですか?また、jspページで何を変更する必要がありますか?どんな助けでも大歓迎です。
ありがとう