Fix unchecked warning in AbstractSecurityWebSocketMessageBrokerConfigurer

This commit is contained in:
Rob Winch 2015-02-04 10:12:24 -06:00
parent 71a053000a
commit 72e256b95a

View File

@ -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;