[java-idp-oidc] branch main updated: JCOMOIDC-38 - Move various support classes from the OP plugin

Henri Mikkonen henri.mikkonen at iki.fi
Fri Feb 18 11:57:55 UTC 2022


This is an automated email from the git hooks/post-receive script.

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=5f0d586f6a95137c2de14c7676bc63d90b2d2a36

The following commit(s) were added to refs/heads/main by this push:
     new 5f0d586f JCOMOIDC-38 - Move various support classes from the OP plugin
5f0d586f is described below

commit 5f0d586f6a95137c2de14c7676bc63d90b2d2a36
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Feb 18 13:56:44 2022 +0200

    JCOMOIDC-38 - Move various support classes from the OP plugin
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-38
    
    Removed final references to the deprecated location of OidcEventIds:
    net.shibboleth.oidc.profile.core.OidcEventIds is now used.
---
 .../net/shibboleth/idp/plugin/oidc/op/profile/OidcEventIds.java     | 2 +-
 .../net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml     | 6 +++---
 .../net/shibboleth/idp/flows/oidc/register/register-beans.xml       | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/OidcEventIds.java b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/OidcEventIds.java
index e4312805..c04b14c2 100644
--- a/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/OidcEventIds.java
+++ b/idp-oidc-extension-api/src/main/java/net/shibboleth/idp/plugin/oidc/op/profile/OidcEventIds.java
@@ -25,7 +25,7 @@ import net.shibboleth.utilities.java.support.annotation.constraint.NotEmpty;
  * OpenID Connect -specific constants to use for {@link org.opensaml.profile.action.ProfileAction}
  * {@link org.opensaml.profile.context.EventContext}s.
  * 
- * @deprecated
+ * @deprecated Moved to <code>net.shibboleth.oidc.profile.core.OidcEventIds</code>
  */
 @Deprecated(since="3.1.0", forRemoval=true)
 public final class OidcEventIds {
diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
index 8b453c92..cf91cf11 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/authorize/authorize-beans.xml
@@ -379,11 +379,11 @@
         </property>
         <property name="mappedErrors">
             <map value-type="com.nimbusds.oauth2.sdk.ErrorObject">
-                <entry key="#{T(net.shibboleth.idp.plugin.oidc.op.profile.OidcEventIds).INVALID_REDIRECT_URI}"
+                <entry key="#{T(net.shibboleth.oidc.profile.core.OidcEventIds).INVALID_REDIRECT_URI}"
                     value="#{T(com.nimbusds.oauth2.sdk.OAuth2Error).INVALID_REQUEST}" />
-                <entry key="#{T(net.shibboleth.idp.plugin.oidc.op.profile.OidcEventIds).INVALID_REQUEST_OBJECT}"
+                <entry key="#{T(net.shibboleth.oidc.profile.core.OidcEventIds).INVALID_REQUEST_OBJECT}"
                     value="#{T(com.nimbusds.oauth2.sdk.OAuth2Error).INVALID_REQUEST_OBJECT}" />
-                <entry key="#{T(net.shibboleth.idp.plugin.oidc.op.profile.OidcEventIds).INVALID_RESPONSE_TYPE}"
+                <entry key="#{T(net.shibboleth.oidc.profile.core.OidcEventIds).INVALID_RESPONSE_TYPE}"
                     value="#{T(com.nimbusds.oauth2.sdk.OAuth2Error).UNSUPPORTED_RESPONSE_TYPE}" />
                 <entry key="#{T(net.shibboleth.idp.authn.AuthnEventIds).NO_PASSIVE}"
                     value="#{T(com.nimbusds.openid.connect.sdk.OIDCError).LOGIN_REQUIRED}" />
diff --git a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
index ab94fb98..07696138 100644
--- a/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
+++ b/idp-oidc-extension-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/oidc/register/register-beans.xml
@@ -176,13 +176,13 @@
         <property name="mappedErrors">
             <map value-type="com.nimbusds.oauth2.sdk.ErrorObject">
                 <entry
-                    key="#{T(net.shibboleth.idp.plugin.oidc.op.profile.OidcEventIds).MISSING_REDIRECT_URIS}"
+                    key="#{T(net.shibboleth.oidc.profile.core.OidcEventIds).MISSING_REDIRECT_URIS}"
                     value="#{T(com.nimbusds.oauth2.sdk.client.RegistrationError).INVALID_REDIRECT_URI}" />
                 <entry
                     key="#{T(org.opensaml.profile.action.EventIds).IO_ERROR}"
                     value="#{T(com.nimbusds.oauth2.sdk.OAuth2Error).SERVER_ERROR}" />
                 <entry
-                    key="#{T(net.shibboleth.idp.plugin.oidc.op.profile.OidcEventIds).INVALID_REDIRECT_URIS}"
+                    key="#{T(net.shibboleth.oidc.profile.core.OidcEventIds).INVALID_REDIRECT_URIS}"
                     value="#{T(com.nimbusds.oauth2.sdk.client.RegistrationError).INVALID_CLIENT_METADATA}" />
                 <entry
                     key="#{T(org.opensaml.profile.action.EventIds).UNABLE_TO_DECODE}"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list