|
@@ -8,13 +8,12 @@ import org.springframework.security.web.firewall.HttpFirewall;
|
|
|
import org.springframework.security.web.firewall.StrictHttpFirewall;
|
|
|
|
|
|
/**
|
|
|
- * redis配置
|
|
|
- *
|
|
|
+ *
|
|
|
+ * SpringSecurity配置,允许//访问
|
|
|
*
|
|
|
*/
|
|
|
@Configuration
|
|
|
-@EnableCaching
|
|
|
-public class SpringSecurityCustomConfig extends CachingConfigurerSupport
|
|
|
+public class SpringSecurityCustomConfig
|
|
|
{
|
|
|
@Bean
|
|
|
public HttpFirewall allowDoubleSlashHttpFirewall() {
|