Skip to content

Parametrize SecurityExpressionRoot with Authentication type #11348

Closed
@ch4mpy

Description

@ch4mpy

Expected Behavior

SecurityExpressionRoot<T extends Authentication>

Current Behavior

SecurityExpressionRoot

Context

When extending SecurityExpressionRoot to enrich security DSL, I have to cast the returned value from super.getAuthentication(), which should not happen as the actual authentication type is known per SecurityExpressionRoot constructors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions