[java-identity-provider] branch main updated: Adjust base class to reflect actual usage.
Codeberg
noreply at shibboleth.net
Mon May 4 14:55:20 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
https://codeberg.org/Shibboleth/java-identity-provider/commit/ffe8005b9fda2e196ac210e3341ce15e4b2d0d17
The following commit(s) were added to refs/heads/main by this push:
new ffe8005b9 Adjust base class to reflect actual usage.
ffe8005b9 is described below
commit ffe8005b9fda2e196ac210e3341ce15e4b2d0d17
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon May 4 10:54:36 2026 -0400
Adjust base class to reflect actual usage.
---
.../profile/impl/ProcessAssertionsForAuthentication.java | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
index 6757519a5..5df1725ce 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/ProcessAssertionsForAuthentication.java
@@ -27,7 +27,6 @@ import java.util.stream.Collectors;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
-import org.opensaml.core.xml.XMLObject;
import org.opensaml.messaging.context.MessageContext;
import org.opensaml.messaging.context.navigate.ChildContextLookup;
import org.opensaml.profile.action.ActionSupport;
@@ -43,9 +42,9 @@ import org.opensaml.saml.saml2.core.Response;
import org.opensaml.saml.saml2.core.Subject;
import org.slf4j.Logger;
-import net.shibboleth.idp.authn.AbstractAuthenticationAction;
import net.shibboleth.idp.authn.AuthnEventIds;
import net.shibboleth.idp.authn.context.AuthenticationContext;
+import net.shibboleth.idp.profile.AbstractProfileAction;
import net.shibboleth.shared.annotation.constraint.NonnullBeforeExec;
import net.shibboleth.shared.logic.Constraint;
import net.shibboleth.shared.primitive.LoggerFactory;
@@ -65,7 +64,7 @@ import net.shibboleth.shared.primitive.LoggerFactory;
* @event {@link AuthnEventIds#INVALID_CREDENTIALS}
* @post the selected statement is passed into the supplied {@link BiConsumer}
*/
-public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAction {
+public class ProcessAssertionsForAuthentication extends AbstractProfileAction {
/** Logger. */
@Nonnull private final Logger log = LoggerFactory.getLogger(ProcessAssertionsForAuthentication.class);
@@ -187,10 +186,10 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
}
/** {@inheritDoc} */
- protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext,
- @Nonnull final AuthenticationContext authenticationContext) {
+ @Override
+ protected boolean doPreExecute(@Nonnull final ProfileRequestContext profileRequestContext) {
- if (!super.doPreExecute(profileRequestContext, authenticationContext)) {
+ if (!super.doPreExecute(profileRequestContext)) {
return false;
}
@@ -206,8 +205,8 @@ public class ProcessAssertionsForAuthentication extends AbstractAuthenticationAc
}
/** {@inheritDoc} */
- protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext,
- @Nonnull final AuthenticationContext authenticationContext) {
+ @Override
+ protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext) {
// Completely remove any non-valid Assertions from the Response
final List<Assertion> nonValid = response.getAssertions().stream()
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list