Skip to content

Add RequiredFactor.Builder.<factor-name>Authority() #18033

@rwinch

Description

@rwinch

This makes the factor based authorizes more discoverable. For example, the following can be used:

AuthorizationManagerFactories.multiFactor()
			.requireFactor( (factor) -> factor
				.passwordAuthority()
				.validDuration(Duration.ofMinutes(30))
			)

Metadata

Metadata

Assignees

Labels

in: coreAn issue in spring-security-coretype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions