[java-plugin-shibd-saml] branch main updated: Rename criterion class.
Codeberg
noreply at shibboleth.net
Tue Jul 21 18:23:28 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-saml.
View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/3c86e82bfd9fcabfa080b85d1c75778d96a9ee79
The following commit(s) were added to refs/heads/main by this push:
new 3c86e82 Rename criterion class.
3c86e82 is described below
commit 3c86e82bfd9fcabfa080b85d1c75778d96a9ee79
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Tue Jul 21 14:23:11 2026 -0400
Rename criterion class.
---
.../shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java | 6 +++---
.../sp/saml/flows/saml2/SAML2LogoutConsumerTokenFlowTest.java | 4 ++--
.../shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
index c908666..c8a45d2 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerFlowTest.java
@@ -88,7 +88,7 @@ import net.shibboleth.shared.security.IdentifierGenerationStrategy;
import net.shibboleth.shared.service.ReloadableService;
import net.shibboleth.shared.service.ServiceableComponent;
import net.shibboleth.sp.Agent;
-import net.shibboleth.sp.AgentCriterion;
+import net.shibboleth.sp.AgentCredentialCriterion;
import net.shibboleth.sp.AgentResolver;
import net.shibboleth.sp.Application;
import net.shibboleth.sp.ddf.DDF;
@@ -431,7 +431,7 @@ public class SAML2LogoutConsumerFlowTest extends AbstractSPFlowTest {
final SAMLStateData stateData;
try (final ServiceableComponent<AgentResolver> resolver = agentResolver.getServiceableComponent()) {
final Agent agent = resolver.getComponent().resolveSingle(
- new CriteriaSet(new AgentCriterion(AGENT_ID)));
+ new CriteriaSet(new AgentCredentialCriterion(AGENT_ID)));
assert agent != null;
final Application app = agent.getApplication(APPLICATION_ID);
assert app != null;
@@ -659,7 +659,7 @@ public class SAML2LogoutConsumerFlowTest extends AbstractSPFlowTest {
@Nonnull private String getStateToken(@Nonnull final StateData data) throws ResolverException, IOException {
try (final ServiceableComponent<AgentResolver> resolver = agentResolver.getServiceableComponent()) {
final Agent agent = resolver.getComponent().resolveSingle(
- new CriteriaSet(new AgentCriterion(AGENT_ID)));
+ new CriteriaSet(new AgentCredentialCriterion(AGENT_ID)));
assert agent != null;
final Application app = agent.getApplication(APPLICATION_ID);
assert app != null;
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerTokenFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerTokenFlowTest.java
index 53a25f4..7471406 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerTokenFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2LogoutConsumerTokenFlowTest.java
@@ -64,7 +64,7 @@ import net.shibboleth.shared.security.DataSealer;
import net.shibboleth.shared.service.ReloadableService;
import net.shibboleth.shared.service.ServiceableComponent;
import net.shibboleth.sp.Agent;
-import net.shibboleth.sp.AgentCriterion;
+import net.shibboleth.sp.AgentCredentialCriterion;
import net.shibboleth.sp.AgentResolver;
import net.shibboleth.sp.Application;
import net.shibboleth.sp.context.AgentRequestContext;
@@ -412,7 +412,7 @@ public class SAML2LogoutConsumerTokenFlowTest extends AbstractSPFlowTest {
try (final ServiceableComponent<AgentResolver> resolver = agentResolver.getServiceableComponent()) {
final Agent agent = resolver.getComponent().resolveSingle(
- new CriteriaSet(new AgentCriterion(AGENT_ID)));
+ new CriteriaSet(new AgentCredentialCriterion(AGENT_ID)));
assert agent != null;
final Application app = agent.getApplication(APPLICATION_ID);
assert app != null;
diff --git a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
index c70ce0e..d298efb 100644
--- a/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
+++ b/sp-saml-conf-impl/src/test/java/net/shibboleth/sp/saml/flows/saml2/SAML2TokenConsumerFlowTest.java
@@ -93,7 +93,7 @@ import net.shibboleth.shared.service.ReloadableService;
import net.shibboleth.shared.service.ServiceableComponent;
import net.shibboleth.shared.xml.XMLParserException;
import net.shibboleth.sp.Agent;
-import net.shibboleth.sp.AgentCriterion;
+import net.shibboleth.sp.AgentCredentialCriterion;
import net.shibboleth.sp.AgentResolver;
import net.shibboleth.sp.Application;
import net.shibboleth.sp.context.AgentRequestContext;
@@ -1022,7 +1022,7 @@ public class SAML2TokenConsumerFlowTest extends AbstractSPFlowTest {
@Nonnull private String getStateToken(@Nonnull final StateData data) throws ResolverException, IOException {
try (final ServiceableComponent<AgentResolver> resolver = agentResolver.getServiceableComponent()) {
final Agent agent = resolver.getComponent().resolveSingle(
- new CriteriaSet(new AgentCriterion(AGENT_ID)));
+ new CriteriaSet(new AgentCredentialCriterion(AGENT_ID)));
assert agent != null;
final Application app = agent.getApplication(APPLICATION_ID);
assert app != null;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list