SpringSource/spring-security-javaconfig — pull request #139 by keesun (2013-07-03 09:24:31+00:00)
Title: Changed deafult filter name to a constant

I've just changed ""springSecurityFilterChain" String to a constant named DEFAULT_FILTER_NAME.

When I tried to register a DelegatingFilterProxy for the Spring Security's fileter chain bean, I couldn't remember the target bean name and after I found it I felt it is not easy to type(it is a little bit long to type ti exactly).

I think this will be helpful to those who want to use Spring Security JavaConfig.

now

```java
@Override
protected Filter[] getServletFilters() {
...
DelegatingFilterProxy securityFilter = new DelegatingFilterProxy();
securityFilter.setTargetBeanName("springSecurityFilterChain");

...
}
```

hope to

```java
@Override
protected Filter[] getServletFilters() {
...
DelegatingFilterProxy securityFilter = new DelegatingFilterProxy();
securityFilter.setTargetBeanName(WebSecurityConfiguration.DEFAULT_FILTER_NAME);

...
}
```

I'm not sure if the constant is on the right place. You can move it to wherever you want.

Thanks.