Tomcat で実行され、Waffle を使用して Active Directory で認証する Java アプリケーションがあります。私の要件は、画像への認証なしで、このアプリケーションでホストされている特定の残りの URL を使用することです。
構成設定は次のとおりです。
context.xml
(トムキャット)
<Valve className="waffle.apache.NegotiateAuthenticator"
principalFormat="fqn" roleFormat="both"/>
<Realm className="waffle.apache.WindowsRealm"/>
web.xml
<security-role>
<role-name>Everyone</role-name>
</security-role>
<security-constraint>
<display-name>Waffle Security Constraint</display-name>
<web-resource-collection>
<web-resource-name>Protected Area</web-resource-name>
<url-pattern>/*</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>Everyone</role-name>
</auth-constraint>
</security-constraint>
どうすればこれを達成できますか?