Spring security

1

I would like to know how to configure spring security so that it can have two forms of authentication.

When configuring in my application the same when uploading the application generates the following error:

  

Caused by: java.lang.IllegalArgumentException: A universal match pattern ('/ ') is defined before other patterns in the filter chain, causing them to be ignored. Please check the ordering in your namespace or FilterChainProxy bean configuration       at org.springframework.security.config.http.DefaultFilterChainValidator.checkPathOrder (DefaultFilterChainValidator.java:51)       at org.springframework.security.config.http.DefaultFilterChainValidator.validate (DefaultFilterChainValidator.java:40)       at org.springframework.security.web.FilterChainProxy.afterPropertiesSet (FilterChainProxy.java:151)       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods (AbstractAutowireCapableBeanFactory.java:1571)       at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean (AbstractAutowireCapableBeanFactory.java:1509)       ... 22 more

    
asked by anonymous 21.06.2016 / 11:45

0 answers