-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Closed as not planned
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement
Description
I want to customize authenticationConverter of SpringOpaqueTokenIntrospector, currently I need to redefine my own bean to back off Spring Boot's auto-configured one, it would be nice if I can customize the auto-configured one.
I'd like to contribute if the proposal is accepted.
Lines 50 to 62 in 450eb48
| SpringOpaqueTokenIntrospector opaqueTokenIntrospector(OAuth2ResourceServerProperties properties) { | |
| OAuth2ResourceServerProperties.Opaquetoken opaquetoken = properties.getOpaquetoken(); | |
| String introspectionUri = opaquetoken.getIntrospectionUri(); | |
| Assert.state(introspectionUri != null, "'introspectionUri' must not be null"); | |
| String clientId = opaquetoken.getClientId(); | |
| Assert.state(clientId != null, "'clientId' must not be null"); | |
| String clientSecret = opaquetoken.getClientSecret(); | |
| Assert.state(clientSecret != null, "'clientSecret' must not be null"); | |
| return SpringOpaqueTokenIntrospector.withIntrospectionUri(introspectionUri) | |
| .clientId(clientId) | |
| .clientSecret(clientSecret) | |
| .build(); | |
| } |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: supersededAn issue that has been superseded by anotherAn issue that has been superseded by anothertype: enhancementA general enhancementA general enhancement