+

Added allowedAttributes in HTTP/HTTPS serviceRegistryDao

Benjamin Renard [2014-12-11 14:05:57]
Added allowedAttributes in HTTP/HTTPS serviceRegistryDao
Filename
custom/webpages/WEB-INF/deployerConfigContext.xml
diff --git a/custom/webpages/WEB-INF/deployerConfigContext.xml b/custom/webpages/WEB-INF/deployerConfigContext.xml
index 404478a..54fa2d3 100644
--- a/custom/webpages/WEB-INF/deployerConfigContext.xml
+++ b/custom/webpages/WEB-INF/deployerConfigContext.xml
@@ -131,6 +131,15 @@
                         <property name="name" value="HTTP" />
                         <property name="description" value="Only Allows HTTP Urls" />
                         <property name="serviceId" value="http://**" />
+			<property name="allowedAttributes">
+                               <list>
+                                       <value>name</value>
+                                       <value>firstname</value>
+                                       <value>lastname</value>
+                                       <value>mail</value>
+                                       <value>login</value>
+                               </list>
+			</property>
                     </bean>

                     <bean class="org.jasig.cas.services.RegisteredServiceImpl">
@@ -138,6 +147,15 @@
                         <property name="name" value="HTTPS" />
                         <property name="description" value="Only Allows HTTPS Urls" />
                         <property name="serviceId" value="https://**" />
+			<property name="allowedAttributes">
+                               <list>
+                                       <value>name</value>
+                                       <value>firstname</value>
+                                       <value>lastname</value>
+                                       <value>mail</value>
+                                       <value>login</value>
+                               </list>
+			</property>
                     </bean>

                     <bean class="org.jasig.cas.services.RegisteredServiceImpl">
ViewGit