@ -57,12 +57,15 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana
@@ -57,12 +57,15 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana
Assert.isTrue(!role.startsWith(ROLE_PREFIX),()->role+" should not start with "+ROLE_PREFIX+" since "
+ROLE_PREFIX+" is automatically prepended when using hasRole. Consider using hasAuthority instead.");
returnhasAuthority(ROLE_PREFIX+role);
}
@ -81,7 +84,8 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana
@@ -81,7 +84,8 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana
@ -120,7 +124,11 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana
@@ -120,7 +124,11 @@ public final class AuthorityAuthorizationManager<T> implements AuthorizationMana