-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move and rename OAuth2IntrospectionClaimAccessor/Names #9647
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
Milestone
Comments
jgrandja
added
status: waiting-for-triage
An issue we've not yet triaged
type: enhancement
A general enhancement
labels
Apr 16, 2021
jgrandja
added
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
and removed
status: waiting-for-triage
An issue we've not yet triaged
labels
Apr 16, 2021
jzheaux
pushed a commit
that referenced
this issue
Aug 12, 2021
Introduced OAuth2TokenIntrospectionClaimAccessor and OAuth2TokenIntrospectionClaimNames with copied implementation from OAuth2IntrospectionClaimAccessor/Names. OAuth2IntrospectionClaimAccessor and OAuth2IntrospectionClaimNames are now deprecated. Also method getScopes() returning list of scopes was introduced and getScope() is now deprecated. Closes gh-9647
jzheaux
added a commit
that referenced
this issue
Aug 12, 2021
akohli96
pushed a commit
to akohli96/spring-security
that referenced
this issue
Aug 25, 2021
Introduced OAuth2TokenIntrospectionClaimAccessor and OAuth2TokenIntrospectionClaimNames with copied implementation from OAuth2IntrospectionClaimAccessor/Names. OAuth2IntrospectionClaimAccessor and OAuth2IntrospectionClaimNames are now deprecated. Also method getScopes() returning list of scopes was introduced and getScope() is now deprecated. Closes spring-projectsgh-9647
akohli96
pushed a commit
to akohli96/spring-security
that referenced
this issue
Aug 25, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
in: oauth2
An issue in OAuth2 modules (oauth2-core, oauth2-client, oauth2-resource-server, oauth2-jose)
type: enhancement
A general enhancement
We should move and rename
OAuth2IntrospectionClaimAccessor
andOAuth2IntrospectionClaimNames
to allow for reuse.Currently, the classes reside in
org.springframework.security.oauth2.server.resource
and are used byoauth2-resource-server
for introspecting opaque access tokens. This is a "specialized flow" used by an OAuth 2.0 Client, since authentication is required at the Introspection Endpoint using client credentials or a bearer token.Moving both classes to
org.springframework.security.oauth2.core
(oauth2-core
module) will allow for reuse on the Authorization Server side spring-authorization-server#52.As well, renaming
OAuth2IntrospectionClaimAccessor
toOAuth2TokenIntrospectionClaimAccessor
andOAuth2IntrospectionClaimNames
toOAuth2TokenIntrospectionClaimNames
is explicit on "what is being introspected" (a token) and aligns with the spec language.NOTE:
This is scheduled for
5.6.x
with the following plan:OAuth2TokenIntrospectionClaimAccessor
andOAuth2TokenIntrospectionClaimNames
@Deprecate
OAuth2IntrospectionClaimAccessor
andOAuth2IntrospectionClaimNames
The text was updated successfully, but these errors were encountered: