mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-06-26 13:53:14 +00:00
Fix unchecked warning in AbstractSecurityWebSocketMessageBrokerConfigurer
This commit is contained in:
parent
71a053000a
commit
72e256b95a
@ -82,7 +82,7 @@ public abstract class AbstractSecurityWebSocketMessageBrokerConfigurer extends A
|
||||
public ChannelSecurityInterceptor inboundChannelSecurity() {
|
||||
ChannelSecurityInterceptor channelSecurityInterceptor = new ChannelSecurityInterceptor(inboundMessageSecurityMetadataSource());
|
||||
List<AccessDecisionVoter<? extends Object>> voters = new ArrayList<AccessDecisionVoter<? extends Object>>();
|
||||
voters.add(new MessageExpressionVoter());
|
||||
voters.add(new MessageExpressionVoter<Object>());
|
||||
AffirmativeBased manager = new AffirmativeBased(voters);
|
||||
channelSecurityInterceptor.setAccessDecisionManager(manager);
|
||||
return channelSecurityInterceptor;
|
||||
|
Loading…
x
Reference in New Issue
Block a user