[java-plugin-shibd] branch main updated: Migrated class to OpenSAML.
Codeberg
noreply at shibboleth.net
Tue Nov 17 17:09:49 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-plugin-shibd.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/9fd96923ffafd5521b7b72001fb4fdfdcfdc5032
The following commit(s) were added to refs/heads/main by this push:
new 9fd9692 Migrated class to OpenSAML.
9fd9692 is described below
commit 9fd96923ffafd5521b7b72001fb4fdfdcfdc5032
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Nov 17 12:09:21 2026 -0500
Migrated class to OpenSAML.
---
.../context/logic/MessageTypePredicate.java | 48 ----------------------
.../sp/messaging/context/logic/package-info.java | 18 --------
2 files changed, 66 deletions(-)
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/MessageTypePredicate.java b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/MessageTypePredicate.java
deleted file mode 100644
index a326a11..0000000
--- a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/MessageTypePredicate.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed 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.sp.messaging.context.logic;
-
-import java.util.function.Predicate;
-
-import javax.annotation.Nonnull;
-import javax.annotation.Nullable;
-
-import org.opensaml.messaging.context.MessageContext;
-
-import net.shibboleth.shared.logic.Constraint;
-
-/**
- * Condition that evaluates a message context for a specific message type.
- */
-public class MessageTypePredicate implements Predicate<MessageContext> {
-
- /** Type to check for. */
- @Nonnull final Class<?> messageType;
-
- /**
- * Constructor.
- *
- * @param type message type to check for
- */
- public MessageTypePredicate(@Nonnull final Class<?> type) {
- messageType = Constraint.isNotNull(type, "Message type cannot be null");
- }
-
- /** {@inheritDoc} */
- public boolean test(@Nullable final MessageContext input) {
- return input != null && messageType.isInstance(input.getMessage());
- }
-
-}
\ No newline at end of file
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/package-info.java b/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/package-info.java
deleted file mode 100644
index 7261a60..0000000
--- a/sp-server-api/src/main/java/net/shibboleth/sp/messaging/context/logic/package-info.java
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Licensed 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.
- */
-
-/**
- * Predicates over a {@link org.opensaml.messaging.context.MessageContext}.
- */
-package net.shibboleth.sp.messaging.context.logic;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list