[java-identity-provider] branch master updated: Account for exception change.
Scott Cantor
cantor.2 at osu.edu
Tue Jun 25 16:03:36 EDT 2019
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch master
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=c9ede92885a4478390d1d254ddc22cf52dd16402
The following commit(s) were added to refs/heads/master by this push:
new c9ede92 Account for exception change.
c9ede92 is described below
commit c9ede92885a4478390d1d254ddc22cf52dd16402
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Jun 25 16:03:33 2019 -0400
Account for exception change.
---
.../saml2/profile/delegation/impl/DecorateDelegatedAssertion.java | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/DecorateDelegatedAssertion.java b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/DecorateDelegatedAssertion.java
index 5568bf1..dc9ef7f 100644
--- a/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/DecorateDelegatedAssertion.java
+++ b/idp-saml-impl/src/main/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/DecorateDelegatedAssertion.java
@@ -378,8 +378,10 @@ public class DecorateDelegatedAssertion extends AbstractProfileAction {
* Decorate the Assertion to allow use as a delegated security token by the SAML requester.
*
* @param requestContext the current request context
+ *
+ * @throws EventException to propagate events
*/
- private void decorateDelegatedAssertion(@Nonnull final ProfileRequestContext requestContext) {
+ private void decorateDelegatedAssertion(@Nonnull final ProfileRequestContext requestContext) throws EventException {
for (final Assertion assertion : assertions) {
addSAMLPeerSubjectConfirmation(requestContext, assertion);
addIdPAudienceRestriction(requestContext, assertion);
@@ -514,9 +516,11 @@ public class DecorateDelegatedAssertion extends AbstractProfileAction {
*
* @param requestContext the current request context
* @param assertion the assertion being issued
+ *
+ * @throws EventException to propagate event signals
*/
private void addSAMLPeerSubjectConfirmation(@Nonnull final ProfileRequestContext requestContext,
- @Nonnull final Assertion assertion) {
+ @Nonnull final Assertion assertion) throws EventException {
final KeyInfoConfirmationDataType scData =
(KeyInfoConfirmationDataType) XMLObjectSupport.getBuilder(KeyInfoConfirmationDataType.TYPE_NAME)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list