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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to