1
0
mirror of synced 2026-08-04 01:07:02 +00:00

Refer to SimpleGrantedAuthority instead of GrantedAuthorityImpl

GrantedAuthorityImpl has been replaced a couple of years ago with
SimpleGrantedAuthority and this commit fixes the documentation items
which weren’t updated to reflect this change.

Fixes gh-4163.
This commit is contained in:
pkovacs
2016-12-18 22:02:15 +01:00
committed by Rob Winch
parent 546d44d6e7
commit f99fe36e02
3 changed files with 4 additions and 4 deletions
@@ -74,7 +74,7 @@ public abstract class HierarchicalRolesTestHelper {
List<GrantedAuthority> authorities = new ArrayList<GrantedAuthority>(roles.length);
for (final String role : roles) {
// Use non GrantedAuthorityImpl (SEC-863)
// Use non SimpleGrantedAuthority (SEC-863)
authorities.add(new GrantedAuthority() {
public String getAuthority() {
return role;