Added proper package names so that AA will compile under eclipse.
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / aaLocal / attributes / eduPersonEntitlement.java
1 package edu.internet2.middleware.shibboleth.aaLocal.attributes;
2
3
4 /**
5  *  Attribute Authority & Release Policy
6  *  A specific class for eduPersonEntitlement attribute
7  *
8  * @author     Parviz Dousti (dousti@cmu.edu)
9  * @created    June, 2002
10  */
11
12 import edu.internet2.middleware.shibboleth.common.Constants; 
13 import edu.internet2.middleware.shibboleth.aa.ShibAttribute;
14 import org.opensaml.*;
15
16 public class eduPersonEntitlement implements ShibAttribute{
17     
18
19     public SAMLAttribute toSamlAttribute(String defaultScope, Object[] values)
20         throws SAMLException{
21
22         return new SAMLAttribute("urn:mace:eduPerson:1.0:eduPersonEntitlement",
23                                  Constants.SHIB_ATTRIBUTE_NAMESPACE_URI, 
24                                  new QName(org.opensaml.XML.XSD_NS,"anyURI"),
25                                  10*60,
26                                  values);
27
28     }
29 }
30