Skip to content

Commit

Permalink
Fix spring-security versions
Browse files Browse the repository at this point in the history
  • Loading branch information
aahlenst authored and snicoll committed May 27, 2015
1 parent b838513 commit 9805643
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* 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.
Expand Down Expand Up @@ -60,6 +60,7 @@
* Tests for {@link CrshAutoConfiguration}.
*
* @author Christian Dupuis
* @author Andreas Ahlenstorf
*/
@SuppressWarnings({ "rawtypes", "unchecked" })
public class CrshAutoConfigurationTests {
Expand Down Expand Up @@ -373,12 +374,11 @@ public Authentication authenticate(Authentication authentication)

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

}
Expand Down
4 changes: 1 addition & 3 deletions spring-boot-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 9805643

Please sign in to comment.