Spnego and Cas configuration

Arnaud Lesueur alesueur+cas at octo.com
Mon Oct 2 06:48:48 EDT 2006


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.



Arnaud Lesueur

PS: by the way the Velpi and Scott, the bean x509Check is also wrong ;-)


Le Lun 2 octobre 2006 12:00, vincent.jaulin at keyphrene.com a écrit :
> Hi,
>
>
> this code doesn't exist in cas-server.xml file <bean id="abstractLoginAction" abstract="true"
> class="org.jasig.cas.web.flow.AbstractLoginAction"> <property name="warnCookieGenerator" ref="warnCookieGenerator" />
> <property name="ticketGrantingTicketCookieGenerator"
> ref="ticketGrantingTicketCookieGenerator" /> </bean>
> <bean id="abstractCasLoginAction" abstract="true"
> parent="abstractLoginAction" class="org.jasig.cas.web.flow.AbstractCasLoginAction"> <property
> name="centralAuthenticationService" ref="centralAuthenticationService" /> </bean>
>
>
> and this code call the parent id. <bean id="negociateSpnego" parent="abstractLoginAction"
> class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoNegociateCredentialsAction" />
> <bean id="spnego" parent="abstractCasLoginAction"
> class="org.jasig.cas.adaptors.spnego.web.flow.SpnegoCredentialsAction" />
>
>
> When I add abstractLoginAction, and abstractCasLoginAction beans, I get
> this error: Bean property 'warnCookieGenerator' is not writable or has an invalid setter method.
>
> Have you an idea to resolve this problem?
>
>
> I have noted a few errors in the documentation.
> nTLMallowed -> NTLMallowed org.jasig.cas.adaptors.spnego.util.JCIFSConfig ->
> org.jasig.cas.adaptors.spnego.authentication.handler.support.JCIFSConfig HTTP/your.server.name.here/YOUR.REALM.HERE ->
>  HTTP/your.server.name.here at YOUR.REALM.HERE
>
>
> Best regards
> Vincent.



More information about the cas mailing list