All work

 

Fix Principal typing issue in profile config default implementation

Fixed

Description

As for the SAML case in , it also appears the OIDC profile configuration bean implementation of getDefaultAuthenticationMethods in AbstractOAuth2ClientAuthenticableProfileConfiguration narrows the allowed return type to AuthenticationContextClassReferencePrincipal. It should allow any Principal type, as the interface definition specifies.

Environment

None

Details

Assignee

Reporter

Components

Fix versions

Created February 23, 2024 at 9:20 AM
Updated March 1, 2024 at 2:54 PM
Resolved February 23, 2024 at 9:43 AM

Activity

Philip Smart 
February 23, 2024 at 9:42 AM

I changed those over to Principal.