@EnableMultiFactorAuthentication.authorities should default to {}

オープン
#19,868 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
45/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
java, spring

調査の方向性

Start from the authorities attribute on the @EnableMultiFactorAuthentication annotation and the selective-MFA example in the reference docs that uses authorities = {}. Check whether the attribute is required on purpose, since the issue asks for a short note if so. Done means either a default of {} with a test showing the annotation works without the attribute, or a doc note explaining why it stays required.

索引モデルが issue の本文から書いたものです。

説明

status: waiting-for-triage type: enhancement

authorities is required, so the selective-MFA pattern in the reference docs (MFA only on certain endpoints) needs @EnableMultiFactorAuthentication(authorities = {}).

Could it get default {}? It’s source-compatible with existing usages. If it’s required on purpose, a short note on why would help.

主要言語
Java
スター
9.7k
フォーク
6.4k
平均マージ
3時間 11分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-projects/spring-security のほかの issue

spring-projects/spring-security の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。