- Added documentation
- Removed withNoRolePrefix for now; let's see how folks
use the minimal API first
- Adjusted class hierarchy to match AuthorizeHttpRequests more
closely
- Adjusted to match Spring Security style guide
- Added needed @since attributes
Issue gh-13300
@ -109,6 +106,7 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@@ -109,6 +106,7 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@ -120,20 +118,13 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@@ -120,20 +118,13 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@ -259,22 +250,22 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@@ -259,22 +250,22 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@ -283,23 +274,29 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@@ -283,23 +274,29 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@ -313,9 +310,7 @@ public class RoleHierarchyImpl implements RoleHierarchy {
@@ -313,9 +310,7 @@ public class RoleHierarchyImpl implements RoleHierarchy {
publicBuilderimplies(String...impliedRoles){
Assert.notEmpty(impliedRoles,"at least one implied role must be provided");
Assert.noNullElements(impliedRoles,"implied role name(s) cannot be empty");