JAAS Authentication with Kerberos?

Kevin Jordan kmj7777 at gmail.com
Thu Jul 6 14:34:21 EDT 2006


I've looked online and found that CAS now supports JAAS
Authentication, making it easier to integrate Kerberos with it.
However, I can't seem to get it to work.  I put

<bean class="org.jasig.cas.authentication.handler.support.JaasAuthenticationHandler"
 />

in deployerConfigContext.xml, but I get the error that

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.authentication.handler.support.JaasAuthenticationHandler#e020c9'
while setting bean property 'authenticationHandlers' with key [2];
nested exception is
org.springframework.beans.factory.BeanCreationException: Error
creating bean with name
'org.jasig.cas.authentication.handler.support.JaasAuthenticationHandler#e020c9'
defined in ServletContext resource
[/WEB-INF/deployerConfigContext.xml]: Invocation of init method
failed; nested exception is java.lang.SecurityException: Configuration
Error: expected [;], read [end of file]

I'm not sure how to read that.  Either something is conflicting or it
can't resolve the class?

-- 
Kevin Jordan


More information about the cas mailing list