also, have a look at this, by Matias http://technowobble.blogspot.com/2010/05/gwt-and-spring-security.html
On 16 Ιούλ, 10:23, Frederic Conrotte <frederic.conro...@gmail.com> wrote: > For beginners Spring Security is not that easy to understand/ > implement, because it's full featured and does a lot of things for > you. > > If you haven't done so yet I advise you to read the Spring Security > Reference:http://static.springsource.org/spring-security/site/reference.html > > Then download their samples to play with the framework. > > Finally apply it to your GWT app. > > This book:http://apress.com/book/view/9781590599853 > > explains how to apply Spring Security to GWT apps. > > Check as well the related source code for > examples:http://code.google.com/p/tocollege-net > > Fred > > On Jul 16, 8:37 am, Henry HO <djhenr...@gmail.com> wrote: > > > hi, > > i've spent the past couple of days trying to add spring security to my > > unsecured gwt app without success. > > after researching spring docs and forums; i added the spring- > > security.jar to the project. > > and the following to my web.xml : > > <context-param> > > <param-name>AppsecurityContext</param-name> > > <param-value>/WEB-INF/AppContext-security.xml</param-value> > > </context-param> > > > <filter> > > <filter-name>springSecurityFilterChain</filter-name> > > <filter-class>org.springframework.web.filter.DelegatingFilterProxy</ > > filter-class> > > </filter> > > > <filter-mapping> > > <filter-name>springSecurityFilterChain</filter-name> > > <url-pattern>/*</url-pattern> > > </filter-mapping> > > > i added this to AppContext-security.xml: > > > <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/beanshttp://www.springframework... > > > <http auto-config="true"> > > <intercept-url pattern="/login.html" > > access="IS_AUTHENTICATED_ANONYMOUSLY"/> > > <intercept-url pattern="/**" access="ROLE_USER" /> > > <form-login login-page="/login.html"/> > > </http> > > > i read that one way to add spring-security was to filter everything to > > a login.html but i could be way off. > > does anyone have any advice? > > > thanks... -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.