[java-idp-testbed COMMIT] in /trunk/src: main/java/idp/BuildMockSaml2Response.java main/java/idp/LogSpringContextInfo...

noreply at shibboleth.net noreply at shibboleth.net
Wed Apr 16 17:29:40 EDT 2014


Author: scantor
Date: Wed Apr 16 17:29:39 2014
New Revision: 186

URL: http://svn.shibboleth.net/view/java-idp-testbed?rev=186&view=rev
Log:
Remove ProfileException, etc. from action execute signatures.

Modified:
    trunk/src/main/java/idp/BuildMockSaml2Response.java
    trunk/src/main/java/idp/LogSpringContextInfo.java
    trunk/src/test/java/idp/c14n/actions/SetupForResolver.java
    trunk/src/test/java/idp/c14n/actions/SetupForSAML1C14N.java
    trunk/src/test/java/idp/c14n/actions/SetupForSAML2C14N.java
    trunk/src/test/java/idp/c14n/actions/TestAfterC14N.java

Modified: trunk/src/main/java/idp/BuildMockSaml2Response.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/java/idp/BuildMockSaml2Response.java?rev=186&r1=185&r2=186&view=diff
==============================================================================
--- trunk/src/main/java/idp/BuildMockSaml2Response.java (original)
+++ trunk/src/main/java/idp/BuildMockSaml2Response.java Wed Apr 16 17:29:39 2014
@@ -9,7 +9,6 @@
 
 import org.joda.time.DateTime;
 import org.opensaml.core.xml.XMLObjectBuilderFactory;
-import org.opensaml.profile.ProfileException;
 import org.opensaml.profile.action.EventIds;
 import org.opensaml.profile.context.ProfileRequestContext;
 import org.opensaml.saml.common.SAMLObject;
@@ -38,8 +37,7 @@
 
 
 	@Nonnull
-	protected Event doExecute(RequestContext springRequestContext, ProfileRequestContext<SAMLObject, SAMLObject> profileRequestContext)
-			throws ProfileException {
+	protected Event doExecute(RequestContext springRequestContext, ProfileRequestContext<SAMLObject, SAMLObject> profileRequestContext) {
 		
 		log.debug("Building mock SAML 2 Response");
 		

Modified: trunk/src/main/java/idp/LogSpringContextInfo.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/main/java/idp/LogSpringContextInfo.java?rev=186&r1=185&r2=186&view=diff
==============================================================================
--- trunk/src/main/java/idp/LogSpringContextInfo.java (original)
+++ trunk/src/main/java/idp/LogSpringContextInfo.java Wed Apr 16 17:29:39 2014
@@ -5,7 +5,6 @@
 import net.shibboleth.idp.profile.AbstractProfileAction;
 import net.shibboleth.idp.profile.ActionSupport;
 
-import org.opensaml.profile.ProfileException;
 import org.opensaml.profile.context.ProfileRequestContext;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -23,7 +22,7 @@
 	
 
 	@Nonnull
-	protected Event doExecute(RequestContext springRequestContext, ProfileRequestContext profileRequestContext) throws ProfileException {
+	protected Event doExecute(RequestContext springRequestContext, ProfileRequestContext profileRequestContext) {
 		log.debug("***************************************************************************************************");
 		
 		ApplicationContext current = context;

Modified: trunk/src/test/java/idp/c14n/actions/SetupForResolver.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/test/java/idp/c14n/actions/SetupForResolver.java?rev=186&r1=185&r2=186&view=diff
==============================================================================
--- trunk/src/test/java/idp/c14n/actions/SetupForResolver.java (original)
+++ trunk/src/test/java/idp/c14n/actions/SetupForResolver.java Wed Apr 16 17:29:39 2014
@@ -24,7 +24,6 @@
 import net.shibboleth.idp.profile.context.RelyingPartyContext;
 import net.shibboleth.idp.relyingparty.RelyingPartyConfiguration;
 
-import org.opensaml.profile.ProfileException;
 import org.opensaml.profile.context.ProfileRequestContext;
 
 /**
@@ -34,8 +33,7 @@
     
     @Override
     protected void doExecute(
-            @Nonnull final ProfileRequestContext profileRequestContext)
-            throws ProfileException {
+            @Nonnull final ProfileRequestContext profileRequestContext) {
 
         SubjectContext sc = profileRequestContext.getSubcontext(SubjectContext.class, true);
         

Modified: trunk/src/test/java/idp/c14n/actions/SetupForSAML1C14N.java
URL: http://svn.shibboleth.net/view/java-idp-testbed/trunk/src/test/java/idp/c14n/actions/SetupForSAML1C14N.java?rev=186&r1=185&r2=186&view=diff
==============================================================================
--- trunk/src/test/java/idp/c14n/actions/SetupForSAML1C14N.java (original)
+++ trunk/src/test/java/idp/c14n/actions/SetupForSAML1C14N.java Wed Apr 16 17:29:39 2014
@@ -29,7 +29,8 @@
 import net.shibboleth.idp.saml.authn.principal.NameIdentifierPrincipal;
 import net.shibboleth.idp.saml.nameid.SAML1NameIdentifierAttributeEncoder;
 
-import org.opensaml.profile.ProfileException;
+import org.opensaml.profile.action.ActionSupport;
+import org.opensaml.profile.action.EventIds;
 import org.opensaml.profile.context.ProfileRequestContext;
 import org.opensaml.saml.saml1.core.NameIdentifier;
 
@@ -54,8 +55,7 @@
         this.attributeName = attributeName;
     }
 
-    @Override protected void doExecute(@Nonnull final ProfileRequestContext profileRequestContext)
-            throws ProfileException {

[... 91 lines stripped ...]


More information about the commits mailing list