I am not sure what I did but I have obviously changed something as I am now getting:
Code:
java.lang.ClassNotFoundException: org.springframework.security.ConfigAttributeDefinition
This is only occurring if I am using the:
Without it, everything works fine. I am wondering if Spring-flex is thinking that I am using the old Spring-security-2 for some reason? I have checked there are no old jars laying around.
This is my spring-flex-config:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p" xmlns:context="http://www.springframework.org/schema/context"
xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"
xmlns:flex="http://www.springframework.org/schema/flex"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/flex
http://www.springframework.org/schema/flex/spring-flex-1.0.xsd">
<!--
=============================================================================================
START: Definitions required for Spring-BlazeDS integration
=============================================================================================
-->
<!--
This sets up the basic integrtion between Spring and BlazeDS. See the documentation is you need a more complex setup
-->
<flex:message-broker>
<flex:exception-translator ref="springBlazeDSExceptionLogger"/>
<flex:secured>
<flex:secured-channel channel="habittracker-amf" access="ROLE_USER" />
<flex:secured-channel channel="habittracker-secure-amf" access="ROLE_USER" />
<flex:secured-channel channel="habittracker-polling-amf" access="ROLE_USER" />
</flex:secured>
</flex:message-broker>
<!-- Without this there will be no server side error logging if something goes wrong -->
<bean id="springBlazeDSExceptionLogger" class="uk.co.prodia.habittracker.util.SpringBlazeDSExceptionLogger"/>
<bean id="flexWrapperServiceHTUtil" class="uk.co.prodia.habittracker.service.wrapper.FlexWrapperServiceHTUtil">
<property name="serviceHTUtil" ref="serviceHTUtil"/>
</bean>
<flex:remoting-destination ref="flexWrapperServiceHTUtil" />
<!--
=============================================================================================
END: Definitions required for Spring-BlazeDS integration
=============================================================================================
-->
</beans>