Thanks David,
I'll take a look at it.
Right now, I have my service registry configured as such, which is what
was configured in our past cas release:
<bean id="serviceRegistryDao"
class="org.jasig.cas.services.JpaServiceRegistryDaoImpl"
p:entityManagerFactory-ref="entityManagerFactory" />
<bean id="entityManagerFactory"
class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
p:dataSource-ref="dataSource"
p:jpaVendorAdapter-ref="jpaVendorAdapter" >
<property name="jpaProperties">
<props>
<prop key="hibernate.dialect">${database.hibernate.dialect}</prop>
<prop key="hibernate.hbm2ddl.auto">update</prop>
</props>
</property>
</bean>
<bean id="jpaVendorAdapter"
class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"
p:generateDdl="true"
p:showSql="false" />
-Laura
On 7/11/13 11:39 AM, Ohsie, David wrote:
You also have to configure the service registry to allow attribute release
for your services. Here is an example of a hardcoded registered service
entry that I have that allows the attribute calle "USER_ROLES" to be
released to any https based service:
<bean class="org.jasig.cas.services.RegisteredServiceImpl">
<property name="id" value="1" />
<property name="name" value="HTTPS" />
<property name="description" value="Only Allows HTTPS
Urls" />
<property name="serviceId" value="https://**" />
<property name="allowedToProxy" value="true" />
<property name="allowedAttributes">
<list>
<value>USER_ROLES</value>
</list>
</property>
</bean>
-----Original Message-----
From: Laura McCord [mailto:[email protected]]
Sent: Thursday, July 11, 2013 12:26 PM
To: [email protected]
Subject: [cas-user] CAS attributes not being released
Hi,
I am noticing that it appears that even though I have set up the services
registry with attributes to be released to various applications and have
configured my attributeRepository in my deployer file....I still can't
seem to
get my attributes to appear. I am using the example cas client as a basis
for
testing:
https://wiki.jasig.org/display/CASC/JA-
SIG+Java+Client+Simple+WebApp+Sample
Any suggestions?
I'm testing against cas 3.5.2
Thanks,
Laura
--
You are currently subscribed to [email protected] as:
[email protected] To unsubscribe, change settings or access archives,
see http://www.ja-sig.org/wiki/display/JSG/cas-user
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user