Cas 3.1 with LDAP and Spnego Support
Christoph Ohliger
ohliger at fh-rosenheim.de
Mon Aug 27 08:17:46 EDT 2007
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas/attachments/20070827/e6a52670/attachment.html
More information about the cas
mailing list