Please forgive my denseness on this, but by "attach" do you mean as a ref,
like so? My Spring wiring/configuration knowledge is close to nil.
<property name="credentialsToPrincipalResolvers">
<list>
*<ref bean="attributeRepository">*
<bean
class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver"/>
<bean
class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver"/>
</list>
</property>
On Thu, Apr 15, 2010 at 8:10 AM, Scott Battaglia
<[email protected]>wrote:
> You have to attach it to a CtPR not as a replacement too :-)
>
>
> On Thu, Apr 15, 2010 at 11:03 AM, Patrick Berry <[email protected]> wrote:
>
>> Okay, I think I know where I'm going wrong, the wiki page had me a bit
>> confused. I'm not sure where to go right though. When I move the
>> attributeRepository into the CTPR, it gets very unhappy.
>>
>> Cannot convert value of type
>> [org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao] to
>> required type
>> [org.jasig.cas.authentication.principal.CredentialsToPrincipalResolver] for
>> property 'credentialsToPrincipalResolvers[2]': no matching editors or
>> conversion strategy found
>>
>> Attached is deployConfigContext.xml
>>
>>
>>
>> On Wed, Apr 14, 2010 at 6:48 PM, Scott Battaglia <
>> [email protected]> wrote:
>>
>>> Uhm, pray to the Jasig Gods? Kidding...
>>>
>>> You've got it wired into a CredentialsToPrincipalResolver? Or just
>>> defined and linked to the Services Management Tool? Feel free to attach the
>>> relevant config, scraped of all sensitive info (unless you want me logging
>>> into your servers ;-)).
>>>
>>> Cheers,
>>> Scott
>>>
>>>
>>> On Wed, Apr 14, 2010 at 8:04 PM, Patrick Berry <[email protected]> wrote:
>>>
>>>> If you crank org.jasig to 11 in the logs and you still don't see
>>>> anything
>>>> about org.jasig.services.persondir.support.ldap.LdapPersonAttributeDao, but
>>>> you're pretty sure you've got the bean configured correctly in
>>>> deployerContext.xml...where do you go next to look for what's wrong?
>>>>
>>>> Pat
>>>>
>>>> --
>>>>
>>>> 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
>>>
>>>
>> --
>> 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
>
>
--
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