Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

spring-security-mfa

Sterne8
Forks4
Aktualisiert15. Juli 2026 um 20:18

Require multi-factor authentication in Spring Security 7 (Boot 4) with @EnableMultiFactorAuthentication — declare required factors (password + one-time token), let Spring route users through each, and plug in a custom OneTimeTokenService. Use when a task in a Boot 4 / Security 7 project involves MFA / 2FA / step-up auth, one-time tokens (OTT), magic links, or factor-based authorization — even if the user never mentions a version (check the build file). Do NOT use for basic single-factor form/HTTP-Basic login, OAuth2/OIDC client or resource-server setup, or method-level @PreAuthorize rules unrelated to factors.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly