Cas 3.1 with LDAP and Spnego Support
Christoph Ohliger
ohliger at fh-rosenheim.de
Mon Aug 27 09:58:35 EDT 2007
Scott can you give me again a tip, for the following error ?
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'negociateSpnego' defined in ServletContext resource
[/WEB-INF/cas-servlet.xml]: Error setting property values; nested
exception is org.springframework.beans.NotWritablePropertyException:
Invalid property 'ticketGrantingTicketCookieGenerator' of bean class
[org.jasig.cas.support.spnego.web.flow.SpnegoNegociateCredentialsAction]:
Bean property 'ticketGrantingTicketCookieGenerator' is not writable or
has an invalid setter method. Does the parameter type of the setter
match the return type of the getter?
Caused by: org.springframework.beans.NotWritablePropertyException:
Invalid property 'ticketGrantingTicketCookieGenerator' of bean class
[org.jasig.cas.support.spnego.web.flow.SpnegoNegociateCredentialsAction]:
Bean property 'ticketGrantingTicketCookieGenerator' is not writable or
has an invalid setter method. Does the parameter type of the setter
match the return type of the getter?
Thanks
Christoph
Christoph Ohliger schrieb:
> Thanks Scott, that was it !
>
> Christoph
>
> Scott Battaglia schrieb:
>> Chris,
>>
>> Looking at the error, "java.lang.IllegalArgumentExcept
>> ion: Cannot convert value of type
>> [org.jasig.cas.support.spnego.authentication.handler.support.JCIFSConfig]
>> to required type
>> [org.jasig.cas.authentication.handler.AuthenticationHandler]", it
>> most likely means that you have configured the JCIFSConfig within the
>> "authenticationHandlers" property of the AuthenticationManager
>> instead of as a bean at the same level as the AuthenticationManager.
>>
>> -Scott
>>
>>
>> On 8/27/07, *Christoph Ohliger* <ohliger at fh-rosenheim.de
>> <mailto:ohliger at fh-rosenheim.de>> wrote:
>>
>> Hi all,
>>
>> I am trying to test CAS with LDAP and Spnego support. LDAP is
>> working well, by the way I also deactivated the
>> "authenticatedReadOnly property" like Nikos ...
>>
>> Activating Spnego I allways got the Error " Cannot find class
>> [org.jasig.cas.*adaptors*.spnego.authentication.principal.SpnegoCredentialsToPrincipalResolver]"
>> from deployer XML. I changed the adaptors part to support here
>> and in all other documented beans and it works ,-)
>>
>> Now I am getting following error:
>>
>> org.springframework.beans.TypeMismatchException: Failed to
>> convert property value of type [java.util.ArrayList] to required
>> type [java.util.List] for property 'authenticationHandlers';
>> nested exception is java.lang.IllegalArgumentException: Cannot
>> convert value of type
>> [org.jasig.cas.support.spnego.authentication.handler.support.JCIFSConfig]
>> to required type
>> [org.jasig.cas.authentication.handler.AuthenticationHandler] for
>> property 'authenticationHandlers[1]': no matching editors or
>> conversion strategy found
>> Caused by: java.lang.IllegalArgumentException: Cannot convert
>> value of type
>> [org.jasig.cas.support.spnego.authentication.handler.support.JCIFSConfig]
>> to required type
>> [org.jasig.cas.authentication.handler.AuthenticationHandler] for
>> property 'authenticationHandlers[1]': no matching editors or
>> conversion strategy found
>>
>> Any hints
>>
>> regards
>> Christoph Ohliger
>>
>> _______________________________________________
>> Yale CAS mailing list
>> cas at tp.its.yale.edu <mailto:cas at tp.its.yale.edu>
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>>
>>
>>
>> --
>> -Scott Battaglia
>>
>> LinkedIn: http://www.linkedin.com/in/scottbattaglia
>> <http://www.linkedin.com/in/scottbattaglia>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Yale CAS mailing list
>> cas at tp.its.yale.edu
>> http://tp.its.yale.edu/mailman/listinfo/cas
>>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yale CAS mailing list
> cas at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070827/061935ca/attachment.html
More information about the cas
mailing list