Fixed a bug with value type.
authordousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 25 Jun 2002 21:18:35 +0000 (21:18 +0000)
committerdousti <dousti@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Tue, 25 Jun 2002 21:18:35 +0000 (21:18 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@196 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/aaLocal/attributes/eduPersonEntitlement.java

index 784744e..b17a3cd 100644 (file)
@@ -7,7 +7,6 @@
  * @created    June, 2002
  */
 
  * @created    June, 2002
  */
 
-import edu.internet2.middleware.eduPerson.*;
 import edu.internet2.middleware.shibboleth.common.Constants; 
 import edu.internet2.middleware.shibboleth.aa.ShibAttribute;
 import org.opensaml.*;
 import edu.internet2.middleware.shibboleth.common.Constants; 
 import edu.internet2.middleware.shibboleth.aa.ShibAttribute;
 import org.opensaml.*;
@@ -19,9 +18,8 @@ public class eduPersonEntitlement implements ShibAttribute{
        throws SAMLException{
 
        return new SAMLAttribute("urn:mace:eduPerson:1.0:eduPersonEntitlement",
        throws SAMLException{
 
        return new SAMLAttribute("urn:mace:eduPerson:1.0:eduPersonEntitlement",
-                  Constants.SHIB_ATTRIBUTE_NAMESPACE_URI, 
-                  new QName("urn:mace:eduPerson:1.0",
-                            "xsd:anyURI"),
+                                Constants.SHIB_ATTRIBUTE_NAMESPACE_URI, 
+                                new QName(org.opensaml.XML.XSD_NS,"anyURI"),
                                 10*60,
                                 values);
 
                                 10*60,
                                 values);