change java.net.URI argument to opensaml URI type (wrapped string)
authorgilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 12:59:49 +0000 (12:59 +0000)
committergilbert <gilbert@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Mon, 20 Jun 2005 12:59:49 +0000 (12:59 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1640 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/artifact/provider/BaseArtifactMapper.java

index 36da17f..1d9badc 100644 (file)
@@ -84,7 +84,7 @@ public abstract class BaseArtifactMapper implements ArtifactMapper {
 
                // If the relying party prefers type 2 and we have the proper data, use it
                if (relyingParty.getPreferredArtifactType() == 2 && type2SourceLocation != null) {
-                       artifact = new SAMLArtifactType0002(type2SourceLocation);
+                       artifact = new SAMLArtifactType0002(new org.opensaml.artifact.URI(type2SourceLocation.toString()));
                        // Else, use type 1
                } else {
                        if (relyingParty.getPreferredArtifactType() == 2) {