Began implementing support for sending type 2 artifacts.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / common / ServiceProviderMapper.java
index ef59374..22e3632 100644 (file)
@@ -440,6 +440,12 @@ public class ServiceProviderMapper {
                        return wantsAssertionsSigned;
                }
 
+               public int getPreferredArtifactType() {
+
+                       // TODO make configurable
+                       return 1;
+               }
+
                /**
                 * Default identity provider implementation.
                 * 
@@ -550,6 +556,11 @@ public class ServiceProviderMapper {
 
                        return wrapped.wantsAssertionsSigned();
                }
+
+               public int getPreferredArtifactType() {
+
+                       return wrapped.getPreferredArtifactType();
+               }
        }
 
        /**
@@ -627,6 +638,11 @@ public class ServiceProviderMapper {
 
                        return wrapped.wantsAssertionsSigned();
                }
+
+               public int getPreferredArtifactType() {
+
+                       return wrapped.getPreferredArtifactType();
+               }
        }
 
        /**