removed java 1.7 operator

pull/873/head
Justin Richer 2014-11-13 22:22:28 -10:00
parent b5ae05162e
commit 5561b75f48
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ public class JwtBearerAuthenticationProvider implements AuthenticationProvider {
// IFF we managed to get all the way down here, the token is valid
// add in the ROLE_CLIENT authority
Set<GrantedAuthority> authorities = new HashSet<>(client.getAuthorities());
Set<GrantedAuthority> authorities = new HashSet<GrantedAuthority>(client.getAuthorities());
authorities.add(ROLE_CLIENT);
return new JwtBearerAssertionAuthenticationToken(client.getClientId(), jwt, authorities);