[java-identity-provider] branch main updated: IDP-1970 - SAML Proxy: EventContext retrieved from the wrong profile context after message encoding
Phil Smart
philip.smart at jisc.ac.uk
Wed Jul 13 12:31:57 UTC 2022
This is an automated email from the git hooks/post-receive script.
philsmart 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=82baad78371b11f093c361036231df50cd9c055b
The following commit(s) were added to refs/heads/main by this push:
new 82baad783 IDP-1970 - SAML Proxy: EventContext retrieved from the wrong profile context after message encoding
82baad783 is described below
commit 82baad78371b11f093c361036231df50cd9c055b
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Wed Jul 13 13:28:31 2022 +0100
IDP-1970 - SAML Proxy: EventContext retrieved from the wrong profile context after message encoding
- Use nested ProfileRequestContext to retrieve EventContext
https://shibboleth.atlassian.net/browse/IDP-1970
---
.../net/shibboleth/idp/saml/saml2/profile/impl/SAMLAuthnController.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/SAMLAuthnController.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/SAMLAuthnController.java
index 739d97ec0..97ccaeb95 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/SAMLAuthnController.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/impl/SAMLAuthnController.java
@@ -197,7 +197,7 @@ public class SAMLAuthnController extends AbstractInitializableComponent {
}
samlContext.getEncodeMessageAction().execute(nestedPRC);
- final EventContext eventCtx = prc.getSubcontext(EventContext.class);
+ final EventContext eventCtx = nestedPRC.getSubcontext(EventContext.class);
if (eventCtx != null && eventCtx.getEvent() != null
&& !EventIds.PROCEED_EVENT_ID.equals(eventCtx.getEvent())) {
log.error("Message encoding action signaled non-proceed event {}", eventCtx.getEvent());
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list