Skip to content

Override behavior of OAuth2AuthorizationServerConfigurer configurer #2013

Closed
@FNI18300

Description

@FNI18300

Expected Behavior

The org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers package must contains configurer that must be more configurable.

For example (1) :
org.rudi.microservice.acl.facade.config.security.oauth2.configurer.OAuth2AuthorizationServerConfigurer classe contains a list of AbstractOAuth2Configurer
It's not possible to replace one of them by another accessing the org.rudi.microservice.acl.facade.config.security.oauth2.configurer.OAuth2AuthorizationServerConfigurer.configurers field list.

For example (2) : org.rudi.microservice.acl.facade.config.security.oauth2.configurer.OAuth2ClientAuthenticationConfigurer.createDefaultAuthenticationConverters() is private and is not possible to add AuthenticationConverter simply.

Current Behavior

The org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers package contains many final classes and many private methods and is not design to be override simply.

Context

To configure the org.rudi.microservice.acl.facade.config.security.oauth2.configurer.ClientSecretBasicAuthenticationConverter behavior we need to duplicate all classes present in org.springframework.security.oauth2.server.authorization.config.annotation.web.configurers package

Metadata

Metadata

Assignees

Labels

for: stackoverflowA question that's better suited to stackoverflow.com

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions