[java-oidc-common] branch main updated: JCOMOIDC-38 - Move various support classes from the OP plugin
Phil Smart
philip.smart at jisc.ac.uk
Fri Jan 21 09:41:44 UTC 2022
This is an automated email from the git hooks/post-receive script.
philsmart 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=be6bfa7bfc26b9fb148b1ef270326a0e03049567
The following commit(s) were added to refs/heads/main by this push:
new be6bfa7 JCOMOIDC-38 - Move various support classes from the OP plugin
be6bfa7 is described below
commit be6bfa7bfc26b9fb148b1ef270326a0e03049567
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Jan 21 09:41:35 2022 +0000
JCOMOIDC-38 - Move various support classes from the OP plugin
- Move OidcEventIds
https://shibboleth.atlassian.net/browse/JCOMOIDC-38
---
.../shibboleth/oidc/profile/core/OidcEventIds.java | 87 ++++++++++++++++++++++
1 file changed, 87 insertions(+)
diff --git a/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/core/OidcEventIds.java b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/core/OidcEventIds.java
new file mode 100644
index 0000000..0ae03be
--- /dev/null
+++ b/oidc-common-profile-api/src/main/java/net/shibboleth/oidc/profile/core/OidcEventIds.java
@@ -0,0 +1,87 @@
+/*
+ * Licensed to the University Corporation for Advanced Internet Development,
+ * Inc. (UCAID) under one or more contributor license agreements. See the
+ * NOTICE file distributed with this work for additional information regarding
+ * copyright ownership. The UCAID licenses this file to You under the Apache
+ * License, Version 2.0 (the "License"); you may not use this file except in
+ * compliance with the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package net.shibboleth.oidc.profile.core;
+
+import javax.annotation.Nonnull;
+
+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.
+ */
+public final class OidcEventIds {
+
+ /**
+ * ID of event returned if the mandatory redirect_uris is missing.
+ */
+ @Nonnull @NotEmpty public static final String MISSING_REDIRECT_URIS = "MissingRedirectionURIs";
+
+ /**
+ * ID of event returned if the mandatory redirect_uris is invalid.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_REDIRECT_URIS = "InvalidRedirectionURIs";
+
+ /**
+ * The provided authorization grant is invalid.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_GRANT = "InvalidGrant";
+
+ /**
+ * The redirect_uri in request is invalid.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_REDIRECT_URI = "InvalidRedirectionURI";
+
+ /**
+ * The response type in request is not supported for RP.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_RESPONSE_TYPE = "InvalidResponseType";
+
+ /**
+ * The grant type in token request is not supported for RP.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_GRANT_TYPE = "InvalidGrantType";
+
+ /**
+ * The subject resolved is not the expected one.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_SUBJECT = "InvalidSubject";
+
+ /**
+ * Both request uri and request object in request.
+ */
+ @Nonnull @NotEmpty public static final String REQUEST_OBJECT_AND_URI = "RequestObjectAndUri";
+
+ /**
+ * The request object cannot be validated.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_REQUEST_OBJECT = "InvalidRequestObject";
+
+ /**
+ * The request uri is invalid.
+ */
+ @Nonnull @NotEmpty public static final String INVALID_REQUEST_URI = "InvalidRequestUri";
+
+ /**
+ * Constructor.
+ */
+ private OidcEventIds() {
+ // no op
+ }
+
+}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list