Fix Build Against Spring 5.0.0.BUILD-SNAPSHOT
Change Bean definition to static to avoid SPR-12646 Fixes gh-4150
This commit is contained in:
parent
bb834bccf6
commit
fc516b55a6
|
@ -444,7 +444,7 @@ public class AbstractSecurityWebSocketMessageBrokerConfigurerTests {
|
||||||
// @formatter:on
|
// @formatter:on
|
||||||
|
|
||||||
@Bean
|
@Bean
|
||||||
public SecurityExpressionHandler<Message<Object>> messageSecurityExpressionHandler() {
|
public static SecurityExpressionHandler<Message<Object>> messageSecurityExpressionHandler() {
|
||||||
return new DefaultMessageSecurityExpressionHandler<Object>() {
|
return new DefaultMessageSecurityExpressionHandler<Object>() {
|
||||||
@Override
|
@Override
|
||||||
protected SecurityExpressionOperations createSecurityExpressionRoot(
|
protected SecurityExpressionOperations createSecurityExpressionRoot(
|
||||||
|
|
Loading…
Reference in New Issue