Commit 9f9feeb0 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #3050 from aahlenst/fix-security-config

* fix-security-config:
  Fix spring-security versions
parents b838513f 9805643e
/*
* Copyright 2013-2014 the original author or authors.
* Copyright 2012-2015 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
......@@ -60,6 +60,7 @@ import static org.junit.Assert.assertTrue;
* Tests for {@link CrshAutoConfiguration}.
*
* @author Christian Dupuis
* @author Andreas Ahlenstorf
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public class CrshAutoConfigurationTests {
......@@ -373,12 +374,11 @@ public class CrshAutoConfigurationTests {
@Bean
public AccessDecisionManager shellAccessDecisionManager() {
List<AccessDecisionVoter> voters = new ArrayList<AccessDecisionVoter>();
List<AccessDecisionVoter<?>> voters = new ArrayList<AccessDecisionVoter<?>>();
RoleVoter voter = new RoleVoter();
voter.setRolePrefix("");
voters.add(voter);
AccessDecisionManager result = new UnanimousBased(voters);
return result;
return new UnanimousBased(voters);
}
}
......
......@@ -131,13 +131,11 @@
<spring-plugin.version>1.2.0.RELEASE</spring-plugin.version>
<spring-security.version>4.0.1.RELEASE</spring-security.version>
<spring-security-jwt.version>1.0.3.RELEASE</spring-security-jwt.version>
<spring-security-oauth2.version>2.0.7.RELEASE</spring-security-oauth2.version>
<spring-social.version>1.1.2.RELEASE</spring-social.version>
<spring-social-facebook.version>2.0.1.RELEASE</spring-social-facebook.version>
<spring-social-linkedin.version>1.0.1.RELEASE</spring-social-linkedin.version>
<spring-social-twitter.version>1.1.0.RELEASE</spring-social-twitter.version>
<spring-security.version>3.2.5.RELEASE</spring-security.version>
<spring-security-oauth2.version>2.0.7.RELEASE</spring-security-oauth2.version>
<spring-security-jwt.version>1.0.2.RELEASE</spring-security-jwt.version>
<spring-ws.version>2.2.1.RELEASE</spring-ws.version>
<statsd-client.version>3.1.0</statsd-client.version>
<sendgrid.version>2.1.0</sendgrid.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment