Skip to content

SEC-2906: RemoteAuthenticationException not being caught #3122

Open
@spring-projects-issues

Description

@spring-projects-issues

Philipp Nanz (Migrated from SEC-2906) said:

When using the RemoteAuthenticationProvider, on the server-side the AuthenticationException is repackaged into a less verbose RemoteAuthenticationException (see RemoteAuthenticationManagerImpl), presumbly in order not to accidentally expose any critical information.

Once the result has reached the client side, the exception is simply passed on though. Since the RemoteAuthenticationException is not a subclass of AuthenticationException it falls through in every following catch block, eventually hitting the uncaught exception handler of the servlet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: remotingAn issue in spring-security-remotingtype: bugA general bugtype: jiraAn issue that was migrated from JIRA

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions