Skip to content

AuthenticationManager configured through xml can't be injected with a custom AuthenticationEventPublisher #4269

Open
@GitHanter

Description

@GitHanter

<authentication-manager> doesn't have a attribute to set a custom AuthenticationEventPublisher.

I want add custom AuthenticationException-AbstractAuthenticationFailureEvent mappings to DefaultAuthenticationEventPublisher through setAdditionalExceptionMappings method and inject it to AuthenticationManager , but this bean can't be injected to AuthenticationManager genereted by <authentication-manager> because there isn't a attribute of <authentication-manager> to reference it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions