Spnego and Cas configuration
Arnaud Lesueur
alesueur+cas at octo.com
Mon Oct 2 08:31:51 EDT 2006
The correct version is :
<bean id="negociateSpnego" class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoNegociateCredentialsAction">
<property name="argumentExtractors" ref="argumentExtractors"/>
</bean>
<bean id="spnego" class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoCredentialsAction">
<property name="centralAuthenticationService" ref="centralAuthenticationService"/>
<property name="argumentExtractors" ref="argumentExtractors"/>
<property name="ticketGrantingTicketCookieGenerator" ref="ticketGrantingTicketCookieGenerator"/>
</bean>
Arnaud Lesueur
Le Lun 2 octobre 2006 13:12, vincent.jaulin at keyphrene.com a écrit :
>> Hi Vincent,
>>
>>
>> Sorry for the mistakes in the tutorial. I wrote it for CAS 3.0.x and there
>> have been few updates in CAS 3.1.x (http://www.ja-sig.org/issues/browse/CAS-403)
>>
>>
>> I suggest you to remove beans abstractLoginAction and
>> abstractCasLoginAction.
>>
>> And you should instead of what is written in the tutorial add the
>> following beans :
>>
>> <bean id="negociateSpnego"
>> class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoNegociateCredentialsAction"> <property
>> name="centralAuthenticationService" ref="centralAuthenticationService" /> <property
>> name="casArgumentExtractor" ref="casArgumentExtractor" /> </bean>
>>
>>
>> <bean id="spnego"
>> class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoCredentialsAction"> <property
>> name="centralAuthenticationService" ref="centralAuthenticationService" /> <property
>> name="casArgumentExtractor" ref="casArgumentExtractor" /> </bean>
>>
>>
>>
>> Tell me, if this solves the problem. I will update the tutorial with those
>> remarks.
>>
>
> The problem is not solve, the following errors are:
> Bean property 'centralAuthenticationService' is not writable or has an
> invalid setter method Bean property 'casArgumentExtractor' is not writable or has an invalid
> setter method.
>
>
> Vincent Jaulin
>
>
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu http://tp.its.yale.edu/mailman/listinfo/cas
>
>
>
More information about the cas
mailing list