[java-oidc-common] branch main updated: JCOMOIDC-108 - Profile Configuration for OAuth2 PAR
Henri Mikkonen
henri.mikkonen at iki.fi
Mon Apr 29 14:48:53 UTC 2024
This is an automated email from the git hooks/post-receive script.
hjmikkon pushed a commit to branch main
in repository java-oidc-common.
View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=1a3f3d81a5e33c7709f5d6b7c5beb9930d4128d8
The following commit(s) were added to refs/heads/main by this push:
new 1a3f3d8 JCOMOIDC-108 - Profile Configuration for OAuth2 PAR
1a3f3d8 is described below
commit 1a3f3d81a5e33c7709f5d6b7c5beb9930d4128d8
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Mon Apr 29 17:48:21 2024 +0300
JCOMOIDC-108 - Profile Configuration for OAuth2 PAR
https://shibboleth.atlassian.net/browse/JCOMOIDC-108
Switched the PAR profile configuration interface into inheriting the
interfaces defined for the authorize profile config (both RP and OP).
The default implementation now extends the class that implements the
OIDC.SSO configuration.
---
.../config/OAuth2PushedAuthorizationRequestConfiguration.java | 7 +++++--
.../impl/DefaultOAuth2PushedAuthorizationRequestConfiguration.java | 5 +++--
2 files changed, 8 insertions(+), 4 deletions(-)
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/oauth2/config/OAuth2PushedAuthorizationRequestConfiguration.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/oauth2/config/OAuth2PushedAuthorizationRequestConfiguration.java
index 5d89514..98a0e14 100644
--- a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/oauth2/config/OAuth2PushedAuthorizationRequestConfiguration.java
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/oauth2/config/OAuth2PushedAuthorizationRequestConfiguration.java
@@ -23,6 +23,8 @@ import javax.annotation.Nullable;
import org.opensaml.profile.context.ProfileRequestContext;
+import net.shibboleth.oidc.profile.config.OIDCAuthenticationProfileConfiguration;
+import net.shibboleth.oidc.profile.config.OIDCAuthenticationRelyingPartyProfileConfiguration;
import net.shibboleth.profile.config.OverriddenIssuerProfileConfiguration;
import net.shibboleth.shared.annotation.ConfigurationSetting;
import net.shibboleth.shared.annotation.constraint.NotEmpty;
@@ -34,9 +36,10 @@ import net.shibboleth.shared.annotation.constraint.Positive;
* @since 3.2.0
*/
public interface OAuth2PushedAuthorizationRequestConfiguration extends OAuth2ClientAuthenticableProfileConfiguration,
- OAuth2ProfileConfiguration, OverriddenIssuerProfileConfiguration {
+ OAuth2AuthorizationProfileConfiguration, OAuth2ProfileConfiguration, OverriddenIssuerProfileConfiguration,
+ OIDCAuthenticationRelyingPartyProfileConfiguration, OIDCAuthenticationProfileConfiguration {
- /** OAuth2 Token Revocation URI. */
+ /** OAuth2 Pushed Authorization Requests URI. */
@Nonnull @NotEmpty public static final String PROTOCOL_URI = "https://tools.ietf.org/html/rfc9126";
/** ID for this profile configuration. */
diff --git a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/DefaultOAuth2PushedAuthorizationRequestConfiguration.java b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/DefaultOAuth2PushedAuthorizationRequestConfiguration.java
index 69f71fb..9b7a911 100644
--- a/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/DefaultOAuth2PushedAuthorizationRequestConfiguration.java
+++ b/oidc-common-profile-impl/src/main/java/net/shibboleth/oidc/profile/oauth2/config/impl/DefaultOAuth2PushedAuthorizationRequestConfiguration.java
@@ -25,6 +25,7 @@ import javax.annotation.Nullable;
import org.opensaml.profile.context.ProfileRequestContext;
+import net.shibboleth.oidc.profile.config.impl.DefaultOIDCAuthorizationConfiguration;
import net.shibboleth.oidc.profile.oauth2.config.OAuth2PushedAuthorizationRequestConfiguration;
import net.shibboleth.shared.annotation.constraint.NotEmpty;
import net.shibboleth.shared.annotation.constraint.Positive;
@@ -38,7 +39,7 @@ import net.shibboleth.shared.primitive.StringSupport;
* @since 3.2.0
*/
public class DefaultOAuth2PushedAuthorizationRequestConfiguration
- extends AbstractOAuth2ClientAuthenticableProfileConfiguration
+ extends DefaultOIDCAuthorizationConfiguration
implements OAuth2PushedAuthorizationRequestConfiguration {
/** OAuth2 pushed authorization request profile counter name. */
@@ -62,7 +63,7 @@ public class DefaultOAuth2PushedAuthorizationRequestConfiguration
* Constructor.
*/
public DefaultOAuth2PushedAuthorizationRequestConfiguration() {
- this(PROFILE_ID);
+ this(OAuth2PushedAuthorizationRequestConfiguration.PROFILE_ID);
}
/**
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list