mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-25 21:42:17 +00:00
Fix typo in setMessageExpessionHandler (#3803)
This commit is contained in:
parent
b90242f2fa
commit
c57dba6b77
@ -206,8 +206,13 @@ public abstract class AbstractSecurityWebSocketMessageBrokerConfigurer extends
|
|||||||
this.context = context;
|
this.context = context;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Autowired(required = false)
|
@Deprecated
|
||||||
public void setMessageExpessionHandler(List<SecurityExpressionHandler<Message<Object>>> expressionHandlers) {
|
public void setMessageExpessionHandler(List<SecurityExpressionHandler<Message<Object>>> expressionHandlers) {
|
||||||
|
setMessageExpressionHandler(expressionHandlers);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Autowired(required = false)
|
||||||
|
public void setMessageExpressionHandler(List<SecurityExpressionHandler<Message<Object>>> expressionHandlers) {
|
||||||
if(expressionHandlers.size() == 1) {
|
if(expressionHandlers.size() == 1) {
|
||||||
this.expressionHandler = expressionHandlers.get(0);
|
this.expressionHandler = expressionHandlers.get(0);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user