[java-identity-provider] branch main updated: JSATTR-5 Remove Deprecations
Rod Widdowson
rdw at steadingsoftware.com
Wed Nov 23 11:20:31 UTC 2022
This is an automated email from the git hooks/post-receive script.
rdw pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=65fdab24622798ee8f40dc27e3df64366834fc14
The following commit(s) were added to refs/heads/main by this push:
new 65fdab246 JSATTR-5 Remove Deprecations
65fdab246 is described below
commit 65fdab24622798ee8f40dc27e3df64366834fc14
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Mon Nov 21 17:02:26 2022 +0000
JSATTR-5 Remove Deprecations
https://shibboleth.atlassian.net/browse/JSATTR-5
Preemptively remove calls to the soon to be removed setExportAllAttributes method.
---
.../shibboleth/idp/authn/context/impl/SubjectDataConnectorTest.java | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/context/impl/SubjectDataConnectorTest.java b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/context/impl/SubjectDataConnectorTest.java
index 6738dd756..00027d31f 100644
--- a/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/context/impl/SubjectDataConnectorTest.java
+++ b/idp-authn-impl/src/test/java/net/shibboleth/idp/authn/context/impl/SubjectDataConnectorTest.java
@@ -126,7 +126,6 @@ public class SubjectDataConnectorTest {
assertTrue(copy.getValues().contains(new StringAttributeValue(SIMPLE_VALUE + "2")));
}
- @SuppressWarnings("removal")
@Test public void emptyOk() throws ComponentInitializationException, ResolutionException {
final SubjectDerivedAttributesFunction fn = new SubjectDerivedAttributesFunction();
@@ -135,7 +134,7 @@ public class SubjectDataConnectorTest {
fn.initialize();
final ContextDerivedDataConnector defn = new ContextDerivedDataConnector();
- defn.setExportAllAttributes(true);
+
defn.setId("pDAD");
defn.setAttributesFunction(fn);
defn.initialize();
@@ -153,7 +152,6 @@ public class SubjectDataConnectorTest {
assertNull(results);
}
- @SuppressWarnings("removal")
@Test(expectedExceptions=ResolutionException.class)
public void emptyError() throws ComponentInitializationException, ResolutionException {
@@ -163,7 +161,7 @@ public class SubjectDataConnectorTest {
final ContextDerivedDataConnector defn = new ContextDerivedDataConnector();
defn.setId("pDAD");
- defn.setExportAllAttributes(true);
+
defn.setNoResultIsError(true);
defn.setAttributesFunction(fn);
defn.initialize();
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list