As background, I am using the overlay build method to a add an authentication handler to CAS. I am modeling it after X509 authentication handler so it should be deployable as described here http://www.ja-sig.org/wiki/display/CASUM/X.509+Certificates.
My implementation consists of only 5 files: public class AccessManagerCredentialsAuthenticationHandler extends AbstractPreAndPostProcessingAuthenticationHandler public abstract class AbstractAccessManagerCredentialsToPrincipalResolver extends AbstractPersonDirectoryCredentialsToPrincipalResolver public final class AccessManagerCredentials implements Credentials public final class AccessManagerCredentialsToIdentifierPrincipalResolver extends AbstractAccessManagerCredentialsToPrincipalResolver public final class AccessManagerCredentialsNonInteractiveAction extends AbstractNonInteractiveCredentialsAction I am having trouble with this section of the deployerConfigContext.xml: <property name="credentialsToPrincipalResolvers"> <list> <!-- | UsernamePasswordCredentialsToPrincipalResolver supports the UsernamePasswordCredentials that we use for /login | by default and produces SimplePrincipal instances conveying the username from the credentials. | | If you've changed your LoginFormAction to use credentials other than UsernamePasswordCredentials then you will also | need to change this bean declaration (or add additional declarations) to declare a CredentialsToPrincipalResolver that supports the | Credentials you are using. +--> <bean class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" /> <!-- | HttpBasedServiceCredentialsToPrincipalResolver supports HttpBasedCredentials. It supports the CAS 2.0 approach of | authenticating services by SSL callback, extracting the callback URL from the Credentials and representing it as a | SimpleService identified by that callback URL. | | If you are representing services by something more or other than an HTTPS URL whereat they are able to | receive a proxy callback, you will need to change this bean declaration (or add additional declarations). +--> <bean class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" /> <!-- | Access Manager token to Unid principle resolver --> <bean class="org.jasig.cas.adaptors.accessManager.authentication.principal.AccessManagerCredentialsToIdentifierPrincipalResolver" /> </list> I get this error on deployment and I am not sure what to do: [#|2009-07-27T08:45:09.276-0600|INFO|sun-appserver9.1|javax.enterprise.system.stream.out|_ThreadID=26;_ThreadName=Timer-38;|2009-07-27 08: 45:09,263 ERROR [org.springframework.web.context.ContextLoader] - <Context initialization failed> org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'centralAuthenticationService' defined in ServletCo ntext resource [/WEB-INF/spring-configuration/applicationContext.xml]: Cannot resolve reference to bean 'authenticationManager' while sett ing bean property 'authenticationManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bea n with name 'authenticationManager' defined in ServletContext resource [/WEB-INF/deployerConfigContext.xml]: Initialization of bean failed ; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert property value of type [java.util.ArrayList] to r equired type [java.util.List] for property 'credentialsToPrincipalResolvers'; nested exception is java.lang.IllegalArgumentException: Cann ot convert value of type [org.jasig.cas.adaptors.accessManager.authentication.principal.AccessManagerCredentialsToIdentifierPrincipalResol ver] to required type [org.jasig.cas.authentication.principal.CredentialsToPrincipalResolver] for property 'credentialsToPrincipalResolver s[2]': no matching editors or conversion strategy found Regards, Bryan -- You are currently subscribed to cas-dev@lists.jasig.org as: arch...@mail-archive.com To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-dev