hi,
I have a simple security test with petclinic.
I add security definitions to security-context-server.xml:
<bean id="clinicSecurityInterceptor" class="net.sf.acegisecurity.intercept.method.Metho dSecurityInterceptor">
<property name="authenticationManager"><ref bean="authenticationManager"/></property>
<property name="accessDecisionManager"><ref bean="accessDecisionManager"/></property>
<property name="runAsManager"><ref bean="runAsManager"/></property>
<property name="objectDefinitionSource">
<value>org.springframework.samples.petclinic.Clini c.getVets=ROLE_TELLER
org.springframework.samples.petclinic.Clinic.getPe tTypes=ROLE_SUPERVISOR
</value></property></bean>
<bean id="autoProxyCreator" class="org.springframework.aop.framework.autoproxy .BeanNameAutoProxyCreator">
<property name="interceptorNames">
<list><value>clinicSecurityInterceptor</value></list>
</property><property name="beanNames"><list><value>hsqlClinic</value></list>
</property></bean>
Then I test petclinic-server.war with tomcat4.1.29 and weblogic8.1 respectively
With tomcat, I can get 'Authentication' from HttpSession and SecureContext on server side, so everything works well.
however, the same petclinic-server.war with weblogic, the error is coming : A valid SecureContext was not provided in the
RequestContext
Thanks for your help!


