@EnableMultiFactorAuthentication.authorities should default to {}

Abierto
#19,868 1 comentario 1 reacción 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
java, spring

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Java
Estrellas
9.7k
Forks
6.4k
Merge medio
3 h 11 min
PR fusionados (30 d)
19

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de spring-projects/spring-security

Todos los issues de spring-projects/spring-security

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.