問題タブ [jave]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
spring - java springでリクエストにユーザー名とパスワードを追加する方法
現在、Spring アプリケーションにセキュリティを追加しようとしていますが、getall URL にアクセスするためのセキュリティ アクセスができるように、リクエストに資格情報を追加する方法を知りたいだけです。これは、クライアント アプリケーションのポスト コードです。
これは、セキュリティを処理するサーバー側のコードです
それで、パスワードとユーザー名を追加できる本文または要求に追加する必要があるものはありますか。