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/beans
http://www.springframework.org/schema/beans$

<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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to