Casオーバーレイアプローチを使用しています。時々、 /cas/services/manage に入る際に問題が発生します。
" アクセスが拒否されました UsernameNotFoundException::aaa "
時々、実際に入らせてくれます。 deployerConfigContext.xml で、「aaa」ユーザーを宣言しました。
<sec:user-service id="userDetailsService">
<sec:user name="aaa" password="aaa" authorities="ROLE_ADMIN" />
</sec:user-service>
この一貫性のない動作の原因は何ですか?
認証が成功したことを示すログからの抜粋
2013-07-31 11:53:05,332 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler successfully authenticated [username: aaa]>
2013-07-31 11:53:05,333 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <Resolved principal aaa>
2013-07-31 11:53:05,333 INFO [org.jasig.cas.authentication.AuthenticationManagerImpl] - <org.jasig.cas.authentication.handler.support.SimpleTestUsernamePasswordAuthenticationHandler@4b4bc1e authenticated aaa with credential [username: aaa].>