Hi, all.
I have put a simple (really simple) spring security context to my vaadin application. Here’s the secure.xml:
<?xml version="1.0" encoding="UTF-8"?>
<beans:beans xmlns="http://www.springframework.org/schema/security"
xmlns:beans="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/security http://www.springframework.org/schema/security/spring-security-3.1.xsd">
<debug />
<global-method-security pre-post-annotations="enabled" />
<http use-expressions="true">
<intercept-url pattern="/**" access="isAuthenticated()" />
<session-management session-fixation-protection="migrateSession" />
<form-login default-target-url="/accessManager/#users" />
<logout logout-success-url="http://localhost/root/logout.html" delete-cookies="JSESSIONID" />
</http>
<authentication-manager>
<ldap-authentication-provider
user-search-filter="(cn={0})"
user-search-base="ou=Business Units"
group-search-base="ou=Special Groups"
group-search-filter="(uniqueMember={0})"
group-role-attribute="cn"
role-prefix="ROLE_">
</ldap-authentication-provider>
</authentication-manager>
<ldap-server url="ldap://10.199.6.230:1389/dc=vaadin,dc=ca"/>
</beans:beans>
And all i have in the spring debuger:
INFO : Spring Security Debugger -
Request received for ‘/VAADIN/themes/base/common/img/loading-indicator.gif’:
org.apache.catalina.connector.RequestFacade@1903a0ec
servletPath:
pathInfo:/VAADIN/themes/base/common/img/loading-indicator.gif
Security filter chain: [
SecurityContextPersistenceFilter
LogoutFilter
UsernamePasswordAuthenticationFilter
DefaultLoginPageGeneratingFilter
RequestCacheAwareFilter
SecurityContextHolderAwareRequestFilter
AnonymousAuthenticationFilter
SessionManagementFilter
ExceptionTranslationFilter
FilterSecurityInterceptor
]
Nothing unusual here…
So as you can see, that’s the bare minimum for my needs and it works. My problem is every time i hit the browser’s reload button, the app “hangs”. No error message no exception, nothing. Only the spinner is visible on the screen. I think that spring security is the problem (because it worked without it!!!) but i cannot find where…
Any help would be appreciated!!!