[java-identity-provider] branch master updated: JSPT-93 - Clean up API for BaseXXSupport decoders

Phil Smart philip.smart at jisc.ac.uk
Sun Feb 23 15:49:56 EST 2020


This is an automated email from the git hooks/post-receive script.

philsmart 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=ff082d43fffee59adcba9f911062d85c45511aec

The following commit(s) were added to refs/heads/master by this push:
       new  ff082d4   JSPT-93 - Clean up API for BaseXXSupport decoders
ff082d4 is described below

commit ff082d43fffee59adcba9f911062d85c45511aec
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Sun Feb 23 20:46:10 2020 +0000

    JSPT-93 - Clean up API for BaseXXSupport decoders
    
     - add error handling for new EncodingException thrown from CyrptoBinary setValueBigInt.
    
    https://issues.shibboleth.net/jira/browse/JSPT-93
---
 .../saml2/profile/delegation/impl/PopulateDelegationContextTest.java | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/PopulateDelegationContextTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/PopulateDelegationContextTest.java
index 1adf02d..4b993da 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/PopulateDelegationContextTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/delegation/impl/PopulateDelegationContextTest.java
@@ -32,6 +32,7 @@ import net.shibboleth.idp.saml.saml2.profile.SAML2ActionTestingSupport;
 import net.shibboleth.idp.saml.saml2.profile.config.BrowserSSOProfileConfiguration;
 import net.shibboleth.idp.saml.saml2.profile.delegation.DelegationContext;
 import net.shibboleth.idp.saml.saml2.profile.delegation.DelegationRequest;
+import net.shibboleth.utilities.java.support.codec.EncodingException;
 import net.shibboleth.utilities.java.support.component.ComponentInitializationException;
 import net.shibboleth.utilities.java.support.component.UninitializedComponentException;
 
@@ -111,7 +112,7 @@ public class PopulateDelegationContextTest extends OpenSAMLInitBaseTestCase {
     }
     
     @BeforeMethod
-    protected void setUp() throws ComponentInitializationException {
+    protected void setUp() throws ComponentInitializationException, EncodingException {
         servletContext = new MockServletContext();
         servletContext.setContextPath("/idp");
         servletRequest = new MockHttpServletRequest(servletContext);
@@ -433,7 +434,7 @@ public class PopulateDelegationContextTest extends OpenSAMLInitBaseTestCase {
         return acs;
     }
     
-    private SPSSODescriptor buildSPSSODescriptor() {
+    private SPSSODescriptor buildSPSSODescriptor() throws EncodingException {
         SPSSODescriptor spSSODescriptor = (SPSSODescriptor) XMLObjectSupport.buildXMLObject(SPSSODescriptor.DEFAULT_ELEMENT_NAME);
         
         for (PublicKey publicKey : publicKeys) {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list