Skip to content

DefaultAuthorizationManagerFactory.Builder FactorGrantedAuthority support #18004

@rwinch

Description

@rwinch

We should consider adding FactorGrantedAuthority for DefaultAuthorizationManagerFactory.Builder. A few ideas of the usage below (that need thought out more carefully) are provided below.

An example of using the builder might be:

Builder.requireFactor(RequiredFactor.Builder);

A convenience method might be added for each type

Builder.requirePassword()

Then a method for specifying the duration

Builder.requirePasswordWithin(Duration)

Upon doing so, if it hasn't been released we would probably remove the AllAuthoritiesAuthorizationManager from DefaultAuthorizationManagerFactory.Builder

Metadata

Metadata

Assignees

No one assigned

    Labels

    for: team-attentionThis ticket should be discussed as a team before proceedingtype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions