I'm hoping someone can see what I'm messing up. We have 3 webapps (and
I'd swear this was working before) - We use one as sort of a portal for
containing the othere 2. They all are on the same tomcat instance. Most
things are working ok but single signout stopped working (I'd swear it was
working a week or two ago.)
This is the error I'm getting:
16:33:44,193 TRACE DefaultListableBeanFactory:201 - Ignoring constructor
[public
org.springframework.security.web.authentication.logout.LogoutFilter(org.springframework.security.web.authentication.logout.LogoutSuccessHandler,org.springframework.security.web.authentication.logout.LogoutHandler[])]
of bean 'requestSingleLogoutFilter':
org.springframework.beans.factory.UnsatisfiedDependencyException: Error
creating bean with name 'requestSingleLogoutFilter' defined in class path
resource [spring-security-context.xml]: Unsatisfied dependency expressed
through constructor argument with index 0 of type
[org.springframework.security.web.authentication.logout.LogoutSuccessHandler]:
Could not convert constructor argument value of type [java.lang.String] to
required type
[org.springframework.security.web.authentication.logout.LogoutSuccessHandler]:
Failed to convert value of type 'java.lang.String' to required type
'org.springframework.security.web.authentication.logout.LogoutSuccessHandler';
nested exception is java.lang.IllegalStateException: Cannot convert value
of type [java.lang.String] to required type
[org.springframework.security.web.authentication.logout.LogoutSuccessHandler]:
no matching editors or conversion strategy found
16:33:44,194 DEBUG StandardServletEnvironment:112 - Initializing new
StandardServletEnvironment
16:33:44,194 DEBUG StandardServletEnvironment:107 - Adding
[servletConfigInitParams] PropertySource with lowest search precedence
This is the spring-security-context.xml portions I'm using. We've tried
to not put too much in web.xml preferring either code or spring xml entries.
<bean id="casSingleSignOutFilter"
class="org.jasig.cas.client.session.SingleSignOutFilter"/>
<!-- This filter redirects to the CAS Server to signal Single Logout
should be performed -->
<bean id="requestSingleLogoutFilter"
class="org.springframework.security.web.authentication.logout.LogoutFilter">
<constructor-arg value="${cas.server}/cas/logout"/>
<constructor-arg>
<bean
class="org.springframework.security.web.authentication.logout.SecurityContextLogoutHandler"/>
</constructor-arg>
<property name="filterProcessesUrl"
value="/j_spring_cas_security_logout"/>
</bean>
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user