SPNEGO Handler Error
Thomas Würth
wuerth at mail.fh-ulm.de
Fri Feb 8 11:19:40 EST 2008
Hello Scott,
thanks for your help.
The SPNEGO code is in the pom.xml and
cas-server-support-spnego-3.1.1.jar is available in
"C:\tomcat\webapps\cas\WEB-INF\lib\".
I think i sent out the wrong error, sorry. Hopefully you can help me on
this as well.
This is the right one:
2008-02-08 17:09:11,588 ERROR
[org.springframework.web.context.ContextLoader] - <Context
initialization failed>
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'centralAuthenticationService' defined in ServletContext
resource [/WEB-INF/applicationContext.xml]: Cannot resolve reference to
bean 'authenticationManager' while setting bean property
'authenticationManager'; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
'org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler#16089a5'
of type
[org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler]
while setting bean property 'authenticationHandlers' with key [0];
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler#16089a5'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError: jcifs/spnego/AuthenticationException
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name 'authenticationManager' defined in ServletContext
resource [/WEB-INF/deployerConfigContext.xml]: Cannot create inner bean
'org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler#16089a5'
of type
[org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler]
while setting bean property 'authenticationHandlers' with key [0];
nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler#16089a5'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError: jcifs/spnego/AuthenticationException
Caused by:
org.springframework.beans.factory.BeanCreationException: Error creating
bean with name
'org.jasig.cas.support.spnego.authentication.handler.support.JCIFSSpnegoAuthenticationHandler#16089a5'
defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]:
Instantiation of bean failed; nested exception is
java.lang.NoClassDefFoundError: jcifs/spnego/AuthenticationException
Caused by:
Thanks and Regards
Tom
Scott Battaglia schrieb:
> You need to add the dependency for the SPNEGO code to the
> cas-server-webapp pom.xml
>
> You're missing the jar:
> java.lang.ClassNotFoundException:
> org.jasig.cas.adaptors.spnego.authentication.principal.SpnegoCredentialsToPrincipalResolver
>
> -Scott
>
> On Feb 8, 2008 9:35 AM, Thomas Würth <wuerth at mail.fh-ulm.de
> <mailto:wuerth at mail.fh-ulm.de>> wrote:
>
> Hello,
>
> i tried to use the SPNEGO Authentication Handler. I followed the
> instructions from http://www.ja-sig.org/wiki/display/CASUM/SPNEGO .
>
> If i start tomcat 5.5, the start from CAS Server 3.1 (i also tried
> 3.1.1) fails with the following error:
>
> 2008-02-08 14:36:22,017 ERROR
> [org.springframework.web.context.ContextLoader] - <Context
> initialization failed>
>
> The whole errormessage is attached.
> Somebody have any ideas how to solve this problem?
>
> Thanks and Regards
> Tom
>
>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: errorlog.txt
Url: http://tp.its.yale.edu/pipermail/cas/attachments/20080208/a7510001/attachment.txt
More information about the cas
mailing list